User talk:Aarya2k

Java keywords From Wikipedia, the free encyclopedia Jump to: navigation, search The following are brief definitions of the keywords for the Java programming language. Most IDEs use syntax highlighting to display keywords in a different color for easy identification.

abstract
Used in a class declaration to specify that a class is not to be instantiated, but rather extended by other classes. Used in a method declaration to declare a method without providing the implementation. An abstract class can have abstract methods that are not implemented in the abstract class, but in subclasses. All methods declared in an interface are implicitly abstract.

assert (as of J2SE 1.4)
A keyword used to make the assumed value of a condition explicit. If the condition is not true, an AssertionError is thrown.

boolean
Refers to an expression or variable that can have only a true or false value. Java provides the boolean type and the literal values true and false.

break
Used to resume program execution at the statement immediately following the current enclosing block or statement. If followed by a label, the program resumes execution at the statement immediately following the enclosing labeled statement or block.

== byte == An 8-bit integer. A keyword used to declare an expression, method return value, or variable of type byte.

case
Defines a group of statements to execute if the specified value matches the value defined by the enclosing switch statement.

catch
Defines an exception handler—a group of statements that are executed if an exception is thrown in the block defined by a preceding try keyword. The code is executed only if the class of the thrown exception is assignment compatible with the exception class declared by the catch clause.

char
A 16-bit Unicode character. A Java keyword used to declare an expression, method return value, or variable of type character.

class
A type that defines the implementation of a particular kind of object. A class definition defines instance and class fields, methods, and inner classes as well as specifying the interfaces the class implements and the immediate superclass of the class. If the superclass is not explicitly specified, the superclass is implicitly Object.

const (reserved without use)
This keyword is not used by current versions of the Java programming language.

continue
Used to resume program execution at the end of the current loop body. If followed by a label, continue resumes execution at the end of the enclosing labeled loop body.

default
Defines a group of statements to begin executing if the value defined by the enclosing switch statement does not match any value specified by a case keyword in the switch statement.

do
Used to declare a loop that will iterate a block of statements. The loop's exit condition is specified with the while keyword. The loop will execute once before evaluating the exit condition.

double
A 64-bit floating point value. A Java keyword used to declare an expression, method return value, or variable of type double-precision floating point number. [[[Media:[[Media:

else
]]]]] Used to define a statement or block of statements that are executed in the case that the test...........