Understanding Java begins with Java vocabulary

Source: Internet
Author: User

Hanker_felicityPosted on 02:58:57

In March last year, I was about to leave Wuhan and go east. I don't know why.

In March, how many sleepless nights were there? The following is an article about how many sleepless nights I had no intention

Http://www.matrix.org.cn/leave some of my notes

Reprinted later. Indicate the author and source.

As a Chinese, you must use your own words to understand computer words.

Abstract class abstract class: an abstract class is a class that cannot be instantiated. Therefore, it must be extended and inherited.

Abstract method abstract method: an abstract method that does not contain any functional code.

Access modifier Access Control modifier: the access control modifier is used to modify access control attributes of classes in Java, methods of classes, and variables.

Anonymous class: An anonymous class can be used when you need to create and use a class without providing its name or using it again.

Anonymous inner classes: anonymous internal classes are local internal classes without class names.

API application interface: a set of related classes and methods that provide specific functions.

Array array: stores one or more data structures of the same data type and uses subscript for access. It is processed as an object in Java.

Automatic variables: Method local variables, also known as method local variables, are variables declared in the method body.

Base class base class: Class inherited by extension.

Blocked State: A thread is in the blocking state when waiting for resources. The blocking status does not use processor Resources

Call Stack call Stack: A Call Stack is a list of methods that store all called methods at runtime in the call sequence.

Casting type conversion: it refers to the conversion from one type to another. It can be a conversion of the basic data type or object type.

CHAR: A Basic data type that contains a single character.

Child class subclass: see inheritance class derived class

Class class: the most basic and important definition type in object-oriented programming.

Class Members class members: Class-level variables, including instance variables and static variables.

Class Methods class method: A class method usually refers to a static method, which can be directly accessed without instantiating the class.

Class variable class variable: see static variable

Collection container class: The container class can be considered as an object that can store other objects. Common container classes include HashTables and vectors.

Collection inte *** ce container class interface: The container class interface defines a public interface for all container classes.

The Collection framework container class architecture consists of three elements: interface, implementation, and algorithm.

Constructor: method called when an object is created or instantiated. This method is usually used to initialize data members and required resources.

Containers container: a container is a special component that can accommodate other components.

Declaration declaration: declaration refers to the syntax used to describe classes, interfaces, methods, packages, or variables in the source file.

Derived class inheritance class: an inheritance class extends the class that inherits a class.

Encapsulation encapsulation: encapsulation reflects a feature of object-oriented programming. It organizes methods and data together to hide its specific implementation and reflect public interfaces.

Event classes event class: All event classes are defined in the Java. AWT. Event package.

Event sources event Source: the component or object that generates the event is called the event source. The event source generates an event and passes it to the event listener *.

** Ception exception: exceptions have two meanings in Java. First, an exception is an object type. An exception also refers to an nonstandard process in an application, that is, an abnormal state.

Extensibility Scalability: scalability refers to the ability to easily enhance the source design function in object-oriented programs without the need to rewrite code or redesign.

Finalizer: each class has a special method, finalizer, which cannot be called directly but is called by JVM when appropriate. It is usually used to clean up resources, therefore, it is called the closing mechanism.

Garbage collection garbage collection mechanism: When the memory space to be allocated is no longer used, JVM will call the garbage collection mechanism to recycle the memory space.

Guarded region monitoring area: A piece of code used to monitor error generation.

Heap heap: the memory management structure in Java is called heap.

Identifiers identifier: Specifies the name of a class, method, or variable. Note that Java is a case-sensitive language.

Import Statement Syntax: the syntax allows you to refer to this class without using the full name of a class.

Inheritance inheritance: inheritance is an important feature of object-oriented programming. It is a processing method through which one object can obtain the features of another object.

Inner classes internal class: the internal class is similar to the general class, but it is declared inside the class, or even a class method body.

Instance: the class becomes an object after being instantiated.

Instance variable: The instance variable is defined at the object level. It can be accessed by any method in the class or other methods, but cannot be accessed by static methods.

Inte *** interface: an interface defines a group of methods or a public interface, which must be implemented through a class.

Java source file: the Java source program contains computer commands in the Java programming language.

Java Virtual Machine (JVM) Java Virtual Machine: a program that interprets and executes Java bytecode. the Java bytecode is generated by the Java compiler.

Javac Java compiler: javac is the name of the Java compiler.

JVM Java Virtual Machine: see Java Virtual Machine

Keywords keywords: Reserved Words in Java, which cannot be used as other identifiers.

Layout managers layout manager: The layout manager is a class used to handle the component layout arrangement in the container.

Local inner classes: internal class defined in the method body or even smaller statement blocks.

Local variable local variables: variables declared in the method body

Internal class of the member inner classes Member: defines the internal class in the encapsulation class that does not specify the static modifier.

Members: Elements in the class, including methods and variables.

Method: complete a piece of source code for a specific function. Parameters and returned results can be passed and defined in the class.

Method local variables method local variables: see automatic variables automatic Variables

Modifier modifier: a keyword used to modify the behavior of classes, methods, or variables.

Native Methods local method: A local method is written in a platform-dependent language. It is used to implement Platform-dependent functions that cannot be processed by Java.

Object object: Once the class is instantiated, it becomes an object.

Overloaded Methods name overload method: The method name overload means that the same class has multiple methods and uses the same name, but its parameter list is different.

Overridden Methods overwrites the overload method: Method overwrites and reloads indicate that the methods used by the parent class and subclass adopt the same name, parameter list, and return type.

Package: a package is an entity that aggregates classes.

Parent class: Class inherited by other classes. Also see the base class.

Private Members: Private Members can only be accessed in the current class, but cannot be accessed by any other class.

Public members public members: public members can be accessed by any class, regardless of which package the class belongs.

Runtime exceptions: A running time exception is an exception that cannot be processed by your program. It is usually used to indicate program bugs.

Source file source file: the source file is a plain text file that contains your Java code.

Stack trace stack track: If you need to print the call stack status at a certain time, you will generate a stack track.

Static inner classes static internal class: static internal class is the simplest form of internal class. It is similar to general classes except for being defined inside a class.

Static Methods static method: a static method declares that a method belongs to the entire class, that is, it can be directly accessed through the class without instantiating a class.

Static variable static variables are also called class variables. It is similar to a static method and can be directly accessed through a class without instantiating the class.

Superclass: Class inherited by one or more classes.

Synchronized methods: the synchronous method indicates that a method can only be accessed by one thread at a time.

Thread thread: The sequential control flow within a program.

Time-slicing time slice: a solution for scheduling thread execution.

Variable access variable access control: variable access control refers to the ability of a class to read or change the variables in another class.

Visibility visibility: visibility reflects access control over other classes and packages by methods and instance variables.

 

 

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.