- abstract - It specifies that the a class or method will be implemented later in a subclass.
- assert - It signifies an assertion statement.
- boolean - It is data type that can hold True or False values only.
- break - It is a control statement for breaking out of loops.
- byte - It is data type that can hold 8-bit data values.
- byvalue - It is reserved for future use.
- case - It is used in the switch statements to mark block of text
- cast - It is reserved for future use.
- catch - It catches exception generated by try statements.
- char - It is a data type that can hold unsigned 16-bit Unicode characters.
- class - It declare a class
- const - It is reserved for future use.
- continue - It send control back outside a loop.
- default - It specifies the default block of code in a switch statement.
- do - It starts do-while loop
- double - It is data type that can hold 64-bit floating point numbers
- else - It indicates alternative branches in an if statements
- enum - It declares enumerated data type variables
- extends - It indicated that class is derived from another class or an interface is derived from another interface.
- false - It indicates one of the two permissible values for a boolean variable.
- final - It indicates that a variable holds a constant value or that a method will not be overridden.
- finally - It indicates a block of code in a try-catch structure that will always be executed.
- float - It is a datatype that holds a 32-bit floating-point number
- for - It is used for start for loop
- future - It is reserved for future use.
- generic - It is reserved for future use.
- goto - It is reserved for future use.
- if - It test a true/false expression and branches accordingly
- implements - It specifies that a class implements an interface
- import - It references other classes
- inner - reserved for future use
- instanceof - It indicates whether an object is an instance of a specific class or implements a specific interface.
- int - It is a data type that can hold a 32-bit signed integer
- interface - It declare an interface.
- long - It is data type that holds a 64-bit integer
- native - It specifies that a method is implemented with native (platform-specific) code
- new - It creates new object
- null - It indicates that a reference does not refer to anything
- operator - It reserved for future use.
- outer - It reserved for future use.
- package - It declare a java package
- private - It is an access specifier indicating that a method or variable may be accessed only in the class it's declared in
- protected - It is an access specifier indicating that a method or variable may only the accessed in the class it has declared (or a subclass of the class it has declared in or other classes in the same package )
- public - It is access specifier used for classes , interface , methods , and the variables indicating that an item is accessible throughout the application ( or where the class that defines it is accessible)
- rest - It is reserved for future use
- return - It send a control and possibly a return value back from a called method
- short - It is a data type that can hold a 16-bit integer.
- static - It indicates that a variable or method is class method (rather than being limited to one particular object)
- strictfp - It restricts the precision and rounding of floating-point numbers.
- super - It refers to a class's base class (used in a method or class constructor)
- switch - It is statement that executes code on the basis of a test value.
- synchronized - It specifies critical section or methods in a multithreaded code.
- this -It refer to a current object in a method or constructor
- throw - It creates an exception
- throws - It indicates what exception may be thrown by a method.
- transient - It specifies that is not part of an object's persistent state.
- try - It start block of code that will be tested for exceptions
- true - It indicates one of the two permissible values for a boolean variable.
- var - It reserved for future use.
- void - It specifies that a method does not have a return value.
- volatile - It indicates that a variables may change asynchronously
- while - It starts a while loop
Sunday, 5 November 2017
List Of All Java Keywords
Subscribe to:
Post Comments (Atom)
No comments:
Write comments