Java programming BASICS (Vocabulary) and java programming Basics

Source: Internet
Author: User

Java programming BASICS (Vocabulary) and java programming Basics

Abstract class ):Abstract classes cannot create objects. They are mainly used to create subclasses. Abstract classes in Java are defined using abstract modifiers.

Abstract data type ADT ):ABSTRACT Data Types indicate possible types and permitted operations, but they are not implemented.

Access specifier ):It is used to define methods or variables, and defines which classes can access this method or variable. The access identifiers in Java include public, protected, and private. No access identifier modifier method or variable visibility is "package" by default ".

Activity record ):The activity record contains all the information required to implement the subroutine call, including the parameter value, the local variable in the subroutine, And the return address of the computer at the end of the subroutine call. Activity records are stored in the stack, which makes it possible to call multiple subprograms simultaneously. This is very important for recursion. In recursion, multiple calls to the same subroutine must be activated at the same time.

Real parameter (actual parameter ):The parameters of a subroutine are called declarations. When the call is executed, the value is passed to the self-function through declaration. Real parameters are also called "Parameters ".

Address ):Each location in the computer memory has an address, indicating the ID of the location. The locations in the memory are arranged by sequence number. In modern computers, each byte in memory has its own address. Address used to store or read memory information.

Algorithm (algorithm ):The one-step process required to complete a task is unambiguous and can be completed within a limited number of steps.

Alpha color component ):Color composition is used to describe the transparency or opacity of a color. The higher the Alpha composition, the more opaque the color.

API:Application Programming Interface. Interface Description for software packages or toolbox. The API contains all classes or subprograms in the toolbox and their usage instructions.

Applet:Unlike applications that can be run independently, Applet is a Java program that runs on Web pages in a Web browser.

Animation (animation ):A group of static images can quickly Display Dynamic results. Each static image is called a frame. In Java, animations are usually driven by Timer objects. Each time the timer is triggered, the next frame of the animation is displayed.

Antialiasing ):When the image and text are displayed in pixels, you can adjust the color of the pixel to reduce the "sawtooth" effect. The image only covers a part of the pixel. The color of the image is mixed with the color before the pixel. The degree of mixing is determined by the number of pixels covered.

Array ):An ordered list of elements. In the list, each element can be identified by its own index, that is, the serial number. In Java, all elements in the array must be of the same type, which is also called the base type of the array. An array is a random data structure, that is, you can directly access any element in the array at any time.

Array type ):The value of this data type is an array. For example, if the Type is Type, Type [] is the array Type, and the base Type is Type.

Value assignment statement (assignment statement ):A statement in a computer program that reads or computes a value and stores it in a variable. The value assignment statement in Java is in the form of variable name = expression.

Asynchronous event ):An asynchronous event is an unexpected event that cannot be controlled by a computer program. User input events such as mouse clicks and buttons are asynchronous.

ASCII code:American Information Exchange Standard code. This encoding uses 7-bit character encoding. The ASCII code can only contain 128 characters. It does not support accent characters, non-English characters, special characters, or ideographic symbols of non-characters' languages, such as Chinese characters. Java uses a larger and more complete Unicode encoding to process characters.

Baseline condition (base case ):In recursive algorithms, baseline conditions can be directly processed without the need to continue recursion.

Binary number ):The value is encoded as a series of 0 and 1. Generally, the number is based on "10", and the binary number is similar to that of "2 ".

Binary tree ):A binary tree is a chained data structure. It can be an empty tree or a smaller binary tree (possibly an empty tree) and a root node. The root node contains pointers to the two subtree. The two smaller Binary Trees are called left subtree and right subtree.

Bit ):A binary number, which may be 0 or 1.

Black box ):It means that the system or component does not need to care about the internal structure during use. Black box includes interfaces and implementations. In the system, the black box used as a component is called a module.

Block ):In Java programming, a group of statements surrounded by curly braces ({}) are called blocks. A code block is used to combine a group of statements into a statement. The block can be empty, indicating that it does not contain any statements, that is, a pair of empty curly braces.

Blocking operation ):An operation is called a "blocking" operation if it needs to wait for some events to occur, such as reading data from a network connection. The thread that executes the blocking operation will remain in the blocking state until the event occurs. When the thread is in the blocking status, it cannot execute any commands. Other threads in the program can continue execution.

Blocking queue ):When the blocking queue is empty, the queuing operation will cause blocking until new members are added to the queue. If there is a size limit on the blocked queue, when the queue is filled up, the queuing operation will also cause blocking.

Bottom-up design ):Bottom-up design is a software design method. Design from the basic components of the system, and then combine them into more complex components, and so on.

BufferedImage class:The BufferedImage class displays the "off-screen canvas", that is, images are stored in computer memory and can be drawn outside the screen.

Branch ):A branch is a control structure. A computer selects two or more different execution paths from a branch. Java has two branch statements: if statement and switch statement.

Byte ):A byte is a memory unit consisting of eight bits. One byte can store 8 bits in binary.

Bytecode ):"Java bytecode" is a common name for Java virtual machine language. Java programs are compiled into Java bytecode, which is executed by JVM.

Character set (charset ):Character Set is a specific encoding form that encodes character data into binary data. For example, UTF-8 and ISO-8859-1.

Checked exception ):The exception to be checked in Java must be handled. You can catch the exception by using a try catch statement or throw the exception using a throw statement in the method. If these two methods are not used to handle the exception, a syntax error is reported.

Class ):Class is the Basic Programming Unit of Java. Class is a set of static methods, non-static methods, and variables. A static member is a part of the class. A non-static or "instance" member is the blueprint for creating an object. The created object "belongs" to this class.

Class variable and class method ):The alias of "static variable" and "static method. They are part of a class and are irrelevant to objects.

Client/server ):A network communication mode. The "server" waits for a known address on the network and waits for the "client" to initiate a connection request to it. This is the basic communication model of TCP/IP protocol.

Command-line interface ):A computer interaction method. The user enters a command into the computer, and the computer responds to each command.

Comment ):In a computer program, annotations are the Texts ignored by the computer. The purpose of the comment is to help people read and understand the program.

Compiler (compiler ):A compiler is a computer program that translates a program written in a computer language (usually a high-level language) into a machine language program.

Component ):A component is a general name for GUI visual elements, including windows, buttons, or menus. In Java, components are represented by objects created by the java. awt. Component subclass.

Constructor ):A special subroutine of A Class. It is mainly used to create class objects. Constructors generally use the new operator for calling. They are generally not considered as "methods ".

Container ):For components like JPanel, containers can contain other GUI components. You can call the add () method of the container to add components to it.

Contract of a method ):The semantic component of the method interface. It specifies the Method and Its caller's responsibilities, how to call the method, and the tasks that will be executed when the method is correctly called. The method contract should be fully described in the Javadoc comment of this method.

Control structure ):Similar to the if statement and while LOOP, this can affect the program structure of the program control flow (that is, the command execution sequence in the program.

CPU:Central processor. CPU is the part of the computer that actually executes computing and runs programs.

Data structure ):A collection of organized data. It is processed as a unit in a program.

Deadlock (deadlock ):A situation where multiple threads are waiting infinitely. The cause of the deadlock. For example, each thread is waiting for resources locked by other threads.

Default method ):Java 8 interface, which provides its own implementation. All interfaces with default methods can be implemented by default, but the default method cannot be overwritten. Use default reserved words to mark the default method. Java 7 does not support the default method.

Default package ):The default package has no package name. Classes not declared in a package with a name belong to the default package.

Definite assignment ):In a program, variables must be assigned a value before they are used. Local variables can be used only after being assigned values. To meet this requirement, the compiler must useEach entryPath values.

Deprecated ):Indicates that it has been discarded, but it is retained for compatibility. The discarded Java classes or methods are still part of the Java language, but it is not recommended to use them in new code. In future Java versions, discarded content will be removed.

Dialog box (dialog box ):The dialog box is a new form created based on other forms. A pop-up dialog box is usually used to obtain user information or display messages. In Swing API, the dialog box indicates the object created for JDialog.

Distributed computing (distributed computing ):A parallel processing in multiple computers connected by a network.

Dummy parameter ):When calling a subroutine, it is used to replace the identifier of the actual input parameter. A virtual parameter is also called a "form parameter" (sometimes an "Variable argument" is used to represent a real parameter, which is also called a "parameter ").

Enum:Enumeration type. All possible values of the enumerated type are listed in the definition. In Java, the enumeration type is a class, and all possible values are objects.

Event ):In GUI programming, events are operations other than program control, such as clicking the mouse. The program must respond to the event.

Exception ):Errors or exceptions outside the program control process. In Java, exceptions are represented as Throwable objects, which can be captured and processed by try. catch statements.

Get-execution cycle (fetch-and-execute cycle ):It is also called the instruction cycle. The process in which the CPU executes the machine language program. The CPU obtains (READS) the instruction from the memory, executes (runs) The instruction, and repeats the process again.

Flag ):A boolean value. If it is set to true, it indicates that some conditions have been met or something has happened. A bit in the binary number can be used as a flag.

Form parameter (formal parameter ):Another way of saying "virtual Parameters.

Frame ):An animated image is also an example of activity recording.

Function ):A subroutine with a return value.

Garbage collection ):The process of automatic memory recovery. The recycled memory is occupied by the object but will no longer be accessed.

Generic programming (generic programming ):The code is not limited to a single data type, but can be adapted to multiple data types. Java Collection framework and other classes that use similar technologies are examples of generic programming.

Getter method:An instance method in the class to read a property value of the class. Generally, attributes represent the values of some instance variables. By convention, the getter method is named getXyz (), where xyz is the property name.

Global variables ):The alias of the member variable. It is emphasized that the member variables in the class can exist outside the class method.

Graphics context ):Used to plot the data and methods required for certain locations. The graph context in Java is a Graphics class object.

GUI:Graphical User interfaces are modern interactions with computers. A computer uses a GUI to display interface components such as buttons and menus on the display. Users can interact with the interface components by clicking the mouse.

Hash table ):An Optimized Data structure that allows you to efficiently search, insert, and delete objects. The hash table contains the address array of the object. The address of Object Storage is determined by its own "hash code. The object content can efficiently calculate the address integer.

Heap ):The area in the computer memory that stores objects.

High level language ):Computer languages like Java are easy to read, but must be translated into machine languages before execution.

HSB:A color system. The color is represented by three values (in Java, the actual value is between 0.0 and 1.0 ). Color, saturation, and brightness.

IDE:Integrated development environment. A graphical user interface programming environment that integrates various tools for creating, editing, and executing programs.

Identifier ):A group of identifiers that can be used as names in a program. The identifier can be used as the variable name, method name, and class name.

Index Number (index ):The position number of the element in the array.

Implementation ):The internal implementation of the black box, such as the implementation code of the subroutine.

Immutable object ):The immutable object cannot be changed after being constructed because all variables in the instance are marked as final.

Infinite loop ):The loop will never end, because its cycle condition is always true.

Inheritance ):One class can inherit from another class. The successor will inherit data and behavior from the parent class.

Instance of a class ):Objects belonging to a class (or a subclass of this type. When a class is used as an object template, the object created by the constructor in the class belongs to this class.

Instance method ):Non-static method in the class. all instances of the class have this method.

Instance variable ):Non-static variable in the class. all instances of the class contain this variable.

Interface ):A general saying is how to use a black box like a subroutine. The interface does not provide any information about the internal situation. "Interface" is also a reserved word in Java. In this sense, an interface is a type that defines one or more abstract methods. Objects that implement this interface must provide the definition of these methods.

Interpreter (interpreter ):A computer program that executes a program. The program to be executed is written in a programming language. Read commands one by one from the program and execute them one by one (translate commands into equivalent machine languages ).

I/O: Input/Output. Communication between computer programs and other parts, such as displaying data to users, obtaining information from users, reading and writing files, sending and obtaining data through the network.

Iterator ):Objects associated with a set such as list or set. This set can be traversed. The iterator will access each element in the Set in turn.

Java Collection Framework (JCF ):A group of standard classes that implement generic data structures. Including ArrayList and TreeSet.

JavaFX:New application GUI tool set. It is recommended in Java 8. JavaFX is not discussed in this book.

JDK:Java development tool set. Supports compiling and running basic software for Java programs. JDK contains the command line programming environment and JRE. JDK is required to compile the Java source code or execute the pre-compiled program.

JRE (Java Runtime Environment ):Java Runtime Environment. Supports running compiled standard Java programs. JRE includes a Java virtual machine and all standard Java classes.

Instant compiler (just-in-time compiler ):A combination of interpreter and compiler. It can be compiled while interpreting a part of a program. The execution of this part of the program is faster than the first running. This greatly improves the execution speed. Modern JVM uses instant compilers.

JVM:Java virtual machine. Java bytecode is used as a virtual computer for machine language execution. It is also called a computer program for parsing bytecode programs. To run a Java program on a computer, you need to use JVM.

Layout manager ):Objects that are responsible for layout components in the container. Some operations include setting the size and position. Different layout manager types have different layout policies.

Linked data structure ):A group of object data linked by pointers. These pointers are stored in the instance variables of the object. Chain data structures include linked lists and Binary Trees.

Linked list ):A chained data structure in which nodes are connected by pointers to form a Linear Linked List.

Listener (listener ):In GUI programming, you can register trigger notifications for specific events with the object. Therefore, we can say that the object is "listening" these events.

Text (literal ):A group of character sequences typed in the program, indicating the constant value. For example, when A appears in A Java program, 'A' is A constant character.

Location in memory ):The computer memory is composed of a series of locations. These locations are sequential numbers. The numbers that identify a specific location are called addresses of this location.

Local variable ):Variables declared within a method can only be used within the method. Declare the validity of the variable in the code block, starting from the declaration to the end of the code block.

Loop ):A control structure that repeatedly executes a group of commands. Java provides three types of loops: for Loop, while loop, and do loop.

Loop control variable ):The variable in the for loop changes the value of the Loop Variable every time the for loop is executed. Check the variable to determine whether to end the loop.

Machine language ):A programming language consisting of commands that can be directly executed by a computer. Commands in machine language are encoded into binary numbers. Each type of computer has its own machine language. Programs written in other languages must be translated into the computing machine language before they can be executed.

Main memory (main memory ):Programs and data can be stored in the computer's main memory, and the main memory can be directly accessed by the CPU. Other types of memory, such as disk drives, can store information, but only the primary memory can be directly accessed by the CPU. The programs and data in the disk partition can be accessed by the CPU only when they are copied to the memory.

Map:A ing array. This data structure associates an object in a Collection with all objects in a Set. In Java, map is represented by the generic interface Map <T, S>.

Member variable (member variable ):Variables defined in the class, but not in any method. The member variable is different from the local variable, which is defined in a method.

Memory (memory ):The memory in the computer is used to store programs and data.

Method ):Another name of a subroutine is used in object-oriented programming. A method is a subroutine contained in a class or object.

Module ):Components in a large system interact with other components in the system in a simple, clearly defined, and direct manner.

Multi-task ):Execute multiple programming tasks at a time. You can either quickly switch back and forth between multiple tasks or execute multiple tasks one by one.

Multiprocessing ):Multiple Processors are used for multitasking. In this way, multiple tasks can be executed one by one at a time.

Mutual exclusion ):Prevent two threads from simultaneously accessing the same resource. In Java, this method is applied to multiple threads simultaneously accessing resources in synchronous methods or statements. Mutual exclusion can block race conditions, but may lead to deadlocks.

MVC pattern ):Model-View-controller mode. A policy for division of duties in GUI components. A model represents the data of a component. A view represents the display of the model on the screen. The Controller is responsible for responding to model change events. In MVC mode, these responsibilities are handled by different objects.

Non-Numeric (NaN ):It is not a numerical value. Double. NaN indicates a special double value, indicating an undefined or invalid value.

Node ):A common name of an object in a chained data structure.

Null:A special pointer value that indicates "nothing pointing ".

Numerical analysis ):Use the approximation method to study the fields of algorithms, such as real numbers and errors obtained from approximation calculation.

Off-by-one error ):A common error occurs when an element is added or subtracted. It is usually caused by the early or excessive execution of technical errors or loops for other reasons.

Object ):An entity with data (variables) and behavior (methods) in a computer program. Objects in Java must use a class as the creation template. The class to which the object belongs determines the classes and methods contained in the object.

Object type ):The value of this type is an object rather than a base type. Both classes and interfaces are object types.

OOP (Object-Oriented Programming ):Object-Oriented Programming. A computer programming and implementation method. OOP uses classes and objects to create and represent interactions between entities and entities.

Operating system ):Basic software that has been running on a computer. Computers without operating systems cannot work. The operating system is Linux, Mac OS, and Windows Vista.

Operator ):Operators like "+", "<=", or "+ +" can calculate one or more values in an expression.

Overloading of operators ):The same operator can be used on different types of data. For example, the "+" operation can be applied to both numbers and character types.

(Method name) overload (overloading of method names ):Several methods with the same name are defined in the same class. The difference is that the signatures of each method are different.

Overriding ):In the subclass. In the subclass, the methods inherited from the parent class are redefined. The newly defined method is to overwrite the original method.

Package ):In Java, a well-known collection of related classes and sub-packages is called packages, such as java. awt and javax. swing.

Parallel processing ):You can execute multiple tasks at the same time, either by multiple processors or by one processor.

Parameter (parameter ):When a subroutine is called, the parameter is used to provide information to the subroutine. Before executing the subroutine code, the "real parameters" in the subroutine call statement will be assigned to the "virtual Parameters" defined by the subroutine ".

Parameterized type ):Similar to ArrayList <String>, it contains one or more types of parameters (here the parameter type is String ).

Parsing (parsing ):The process of determining the string syntax structure in the rehearsal. Parses the string to determine whether it complies with the syntax of the language. If yes, it determines how the string is created based on the syntax.

Partial full array (partially full array ):Arrays are used to store a variety of elements. Partial full array is a common array with a counter of the number of trace elements.

Pixel (pixel ):An "Image Element" in a screen or image ". An image consists of rows and columns of pixels. The color of each pixel can be set separately.

Polymorphism ):Polymorphism means that the meaning of calling an instance method depends on the actual type of the object when calling the method. That is to say, if the variable type is var, the statement for calling the method, for example, var. action () depends on the object type pointed to by var during execution, rather than the var variable type.

Pointer (pointer ):Represents the value of an address in the computer memory, so it can be seen as a "pointing" location with this address. In Java, variables do not have objects; variables only point to the location where the objects are stored. A pointer is also called a reference ".

Pragmatic (pragmatics ):Describes how to compile the empirical rules of a program. For example, style rules and program Organization guidelines are part of programming ry.

Priority (precedence ):The priority of an operator refers to the order in which multiple operators of an expression operate without parentheses.

Precondition ):In the execution process of the program, in order to make the program run correctly, the precondition must be true. Subprograms are preconditions that must be met in order to allow them to run correctly. The precondition of a subroutine is usually to restrict the real parameter values of the input subroutine.

Priority queue ):A Data Structure that combines elements. Each element has its own "priority ". Priority Queues have the add and remove operations. You can add elements in any order, but the elements with the lowest priority are always removed first. (In some versions, Priority Queues first remove the elements with the highest priority)

Postcondition ):On a node of the execution program, the calculation result of this condition is true. The post-condition of a subroutine must be true after it is executed. The post-condition of a function is usually the return value of the function.

Primitive type ):Java's eight built-in basic data types include double, float, long, int, short, byte, boolean, and char. The basic type variable stores the real value instead of the pointer to the value.

Thread priority (priority of a thread ):The integer associated with the thread can affect the execution sequence of the thread. A thread with a higher priority is executed in advance than a thread with a lower priority.

Producer/consumer (producer/consumer ):A classic mode in parallel programming. One or more products produced by one or more producers are used by one or more consumers. The producer and consumer are designed to run in parallel. The difficulty here is how to securely and efficiently switch from producers to consumers for non-configuration products. In Java, the producer/consumer mode is implemented by blocking queues.

Program (program ):A group of commands written in a suitable programming language that are executed by computers. When used as a verb, it indicates the action to create the command.

Programming language (programming language ):A language used to program computers. The complexity of programming languages ranges from machine languages to advanced languages like Java.

Protocol ):In the specified context, a group of rules that constitute valid communication. The Protocol specifies valid messages, transmission time, and expected recovery type.

Pseudo code ):Informal algorithm specifications. Compared with the actual programming language, pseudocode is closer to English. In addition, you do not need to clearly write every detail of the process.

Queue ):A data structure composed of a group of elements. You can only add data at one end of the list and remove data at the other end of the list.

Race condition ):Possible error sources in parallel programming. A thread changes the state of the second program (such as the variable value), causing an error.

RAM (Random Access Memory ):Random Access to memory. The synonym for the computer master memory. However, from a technical perspective, RAM means that the same memory address can be accessed at any time. RAM also means that data can be read and written at the same time.

Recursion (recursion ):Define yourself in your own form. In particular, recursive subprograms can call themselves directly or indirectly through a series of other subprograms. Recursive Algorithms work in a way that splits a complex problem into smaller subproblems. Sub-problems can be solved directly or the same algorithm can be used recursively.

RGB:A color system. The color is defined by three values (in Java, the value ranges from 0 to 255 ). The colors are red, green, and blue.

Reference ):Another name of "pointer.

Return type of a function ):Type of the function return value.

Reserved word ):A string sequence that looks like an identifier. However, because programming languages have special meanings, they cannot be used as identifiers. For example, class and public are reserved words in Java.

Resource ):Data Files in images, sounds, text, or programs are resources. The Java resource file and the compiled class file are stored in the same path (class path ).

Robust program (robust program ):A robust program not only correctly, but also can handle errors reasonably, for example, a file does not exist or a network connection cannot be established.

Set ):No repeated objects. In Java, the Set is represented by the generic interface Set <T>.

Scope ):Indicates the valid scope of the identifier declared in the program.

Semantics (semantics ):Semantics means that the Semantic Rules of a language determine the meaning of string symbols (such as sentences or statements) in the language.

Sentinel value ):Indicates the special mark indicating the end Of the data sequence, indicating that the data has ended.

Setter method:Class, used to set some attribute values in the class. Generally, these attributes are only instance variable values. By convention, the setter method is named setXyz (), where xyz is the property name.

Method signature (signature of a method ):The method name, the number of parameters in the method definition, and the type of each parameter. The compiler uses a method signature to identify the method called by the specified subroutine call statement.

Socket ):The connection between two computers on the network, which is an abstract representation of one end. A socket represents a logical connection between computer programs, rather than a physical connection between computers.

Stack ):The List data structure composed of a group of elements can only be at the end of the list, also known as "Stack top ". Adding an element to the stack is called "push into the stack", and removing the element is called "pop out of the stack ". Stack also refers to the activity records used to implement subroutine calls.

Standard input ):The standard source for the program to read the input data, represented by the System. in object. Generally, the standard input is from the text typed by the user, but the standard output can also be redirected to other sources, such as files.

Standard output ):The standard target for writing output text, represented by the System. out object. Standard output is usually displayed to users, but can also be "redirected" to other targets, such as files. In addition, the System. err object is used to output error messages.

State machine ):A computer model. An abstract "machine" can be in any State in a finite state set. The machine determines its behavior based on its own status, and switches the status based on the input or event. The basic logic of a GUI program can be represented by a state machine.

Step-wise refinement ):An algorithm development technology. Start to list the outline of the algorithm step, which is usually represented by pseudocode, and then fill in the details step by step.

Stream ):Abstract representation of the input data source or output data target. Java provides four basic classes for character and binary data input and output streams. These classes form the basis of Java I/O APIs.

Source code ):Text written in advanced programming languages. Before a computer is executed, it must be translated into a machine language, such as a Java bytecode.

Subclass (subclass ):A class inherits the data and behavior of other classes directly or indirectly. The previous class is called the subclass of the second class.

Subroutine (subroutine ):A series of program commands. You can call this subroutine by using the subroutine name. In object-oriented programming, subroutines are also called methods.

Subroutine call statement ):The statement that calls the subroutine in the program. When executing a subroutine call statement, the computer will execute the code inside the subroutine.

Super:A special variable that is automatically defined in the instance method. Super refers to the object that contains the method and belongs to the parent class of the class where the method is located. Super can access hidden member variables in the parent class. These variables have the same name as the member variables in the subclass.

Syntax (syntax ):Defines which string symbols in the language comply with the syntax rules of the language.

TCP/IP:The protocol used for network communication on the Internet.

This:A special variable is automatically defined in the instance method and belongs to the class of the method.

Thread ):Abstract representation of a series of statements executed one by one. A computer can execute multiple threads in parallel.

Thread pool ):A group of "worker threads" that can be used to execute tasks ". When the task is ready, it can be allocated to the thread in the pool. The thread pool usually uses a blocking queue to store tasks.

Top-down design ):A software design method. Start to take the problem as a whole, split it into smaller ones, and then refine it gradually until the sub-problems can be solved directly.

Type ):The specific type of a value. For example, the int type specifies that the integer value can be expressed as a 32-bit binary number. In Java, the type can be basic type, class name, or interface name. The type name can be used to define the type of the variable, the virtual parameters in the subroutine, And the return type of the subroutine.

Type cast ):Forcibly convert one type of value to another type. For example, in (int) (6 * Math. in random (), (int) is a type conversion operation. the floating point value of random () is converted to an integer, and the fractional part of the real number is discarded.

Unicode:Encodes a character into a binary number. The Unicode Character Set contains characters in many languages, not limited to English. Java uses the Unicode Character Set internally.

URL:Global Resource Locator. The address of a resource on the Internet, such as a webpage.

Variable (variable ):A memory location with a name (or a series of locations) is used to store data. Create a variable in the program and assign the variable name through the variable declaration statement. Based on usage, this name can be used to indicate the memory location in the program or store data to the memory address. In Java, a variable has a type that indicates the type of data that the variable holds.

Wrapper class ):Classes such as Double and Integer "Wrap" A value of the basic type in the object, and the object belongs to the packaging class. In this way, you can also use basic type values where you need to use objects, such as the Java Collection framework.

XML (eXtensible Markup Language ):Extensible Markup Language. A common and well-supported language. Creates a text-based data representation.

Original article: math.hws.edu Translation: ImportNew.com-Tang youhua
Http://www.importnew.com/17876.html.

Q: one-click call to programmer Q & A artifacts, one-to-one service, developer programming required official website: www.wenaaa.com

QQ Group 290551701 has gathered many Internet elites, Technical Directors, architects, and project managers! Open-source technology research, welcome to the industry, Daniel and beginners interested in IT industry personnel!

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.