Abstract of abstract
A keyword in a Java language that is used in the declaration of a class to indicate that a class cannot be instantiated, but can be inherited by other classes.
An abstract class can use abstract methods, and abstract methods do not need to be implemented, but they need to be implemented in subclasses.
break
A Java keyword that changes the program execution flow and immediately executes from the next sentence of the current statement. If a tag is followed, it is executed from the place where the label corresponds.
case
The Java language keyword used to define a set of branch selections, if a value andSwitchThe same as the value given in the, the execution starts from that branch.
Catch
A keyword for Java that declares whenTryA block in a statement block that runs when a run-time error or a non-run-time exception occurs.
Char
A keyword in the Java language used to define a character type.
Continue
A Java keyword that interrupts the current loop, executes from the end of the current loop, and, if followed by a label, executes from where the label corresponds.
do
A keyword in the Java language used to declare a loop in which the end condition of the loop can be set by the while keyword.
Double
A keyword in the Java language used to define aDoubleTypes of variables.
Else
A keyword for the Java language, ififThe statement is executed if the condition of the statement is not satisfied.
Final
A keyword for a Java language. You can define only one entity at a time, and you cannot change it or inherit it later.
More strictly speaking: aFinalThe modified class cannot be quilt-like, aFinalThe modified method cannot be overridden, aFinalA modified variable cannot change its initial value.
finally
A Java language keyword used to execute a piece of code, regardless of the previously definedTryStatement whether there is an exception or a run-time error occurred.
float
A keyword in the Java language used to define a floating-point variable.
for
A keyword in the Java language used to declare a loop.
You can specify which statements to loop, and introduce conditions and initialize variables.
if
A keyword in the Java programming language used to generate a conditional test that executes if the condition is trueifThe following statement.
implements
A keyword in the Java (TM) programming language, which is optional in the declaration of the class, to indicate the interface that the current class implements.
Import
A keyword in the Java (TM) programming language that indicates a class or entire package to be referenced at the beginning of the source file, so that you do not have to add the package name when you use it.
instanceof
A two-operand Java (TM) language keyword that is used to test whether the run-time type of the first parameter is compatible with the second parameter.
int
A keyword in Java (TM) used to define an shaping variable.
Interface
A keyword in Java (TM) used to define a series of methods and constants.
It can be implemented by class, byImplementsKey word.
Long
A keyword in the Java language used to define aLongTypes of variables.
Private
A keyword in the Java language, used in the sound of a method or variable. It means that the method or variable can only be accessed by other elements of the class.
protected
A keyword in the Java language, used in declarations of methods and variables, that indicates that the method or variable can only be accessed by elements in the same class, in subclasses, or within classes in the same package.
Public
A keyword in the Java language, used in declarations of methods and variables, that indicates that the method or variable can be accessed by elements in other classes.
return
A keyword in the Java language used to end the execution of a method.
It can be followed by a value that is required in a method declaration.
Short
The Java language keyword used to define a ShortTypes of variables.
Static
The Java language keyword used to define a variable as a class variable.
class maintains only a copy of a class variable, regardless of how many instances of the class are currently present. "Static"Can also be used to define a method as a class method. A class method is called by a class name instead of a specific instance, and only class variables can be manipulated.
This
The Java language keyword used to represent an instance of the class it appears in. ThisCan be used to access class variables and class methods.
Throw
The Java language keyword that allows the user to throw aExceptionobject or any implementationThrowableThe object.
throws
The Java language keyword, used in the declaration of the method to describe which exception this method is not processed, but submitted to a higher level of the program.
Transient
The Java language keyword that is used to indicate that a domain is not part of the serialization of that object.
When an object is serialized,transientThe value of the type variable is not included in the serialized representation, but non-transientTypes of variables are included in the.
Try
The Java language keyword used to define a block that might throw an exception statement.
If an exception is thrown, an optionalCatchThe statement block will handleTryThe exception that is thrown in the statement block. At the same time, afinallyThe statement block is executed regardless of whether an exception is thrown.
void
The Java language keyword, used in the Java language's method declaration, shows that this method does not have any return value.
"void"Can also be used to represent a statement without any function.
Volatile
The Java language keyword, used in the declaration of a variable, indicates that the variable is asynchronously modified by several threads running concurrently.
while
A keyword in the Java language used to define a loop of repeated execution. The exit condition of the loop is whilePart of the statement.
About BreakAndContinue
ContinueStatement and BreakStatement-related, but less used.ContinueStatement is used to make the for、 whileOr Do- whileStatement to start the next loop.
In whileAnd Do- whileStatement,ContinueThe execution of the statement means that the test part is executed immediately; forIn the Loop statement,ContinueThe execution of a statement means that the control is passed to the incremental portion.
java keyword (jdk6)