JAVA(KEYWORDS)
JAVA
LIST OF JAVA KEYWORDS
KEYWORD: PURPOSE
- ABSTRACT: It declares that a class or method is abstract
- ASSERT: Used to specify assertions
- BOOLEAN: Declares that variable is a Boolean type
- BREAK: Used to exits a loop before the end of the loop is reached
- BYTE: Declares that variable is byte type
- CASE: To represent different conditions in a switch statement
- CATCH: Used for handling exceptions
- CHAR: Declares that variable is a character type
- CLASS: Signals the beginning of a class definition
- CONST: This keyword is reserved by java but now it is not in use
- CONTINUE: Prematurely return to the beginning of a loop
- DEFAULT: Default action in a switch statement
- DO: Begins a do while loop
- DOUBLE: Declares that variable is a double type
- ELSE: Signals the code to be executed when if condition executes to false
- EXTENDS: Specifies the class base from which the correct class is inherited
- FINAL: Declares that a class may not be extended or that a field or method may not be overridden
- FINALLY: Declares a block of code guaranteed to be executed
- FLOAT: Declares a floating point variable
- FOR: Start a for loop
- GOTO: This keyword is reserved by java but now it is not in use
- IF: Keyword to represent a conditional statement
- IMPLEMENTS: Declares that this class implements the given interface
- IMPORT: Permits access to a class or group of classes in a package
- INSTANCE OF: Tests whether an object is an instance of a class
- INT: Declares an integer variable
- INTERFACE: Signals the beginning of an interface definition
- LONG: Declares a long integer variable
- NATIVE: Declares that a method that is implemented in native code
- NEW: Allocates memory to an object dynamically
- PACKAGE: Defines the package to which this source code file belongs
- PRIVATE: Declares a method or member variable to be private
- PROTECTED: Declares a class, method or member variable to be protected
- PUBLIC: Declares a class, method or member variable to be public
- RETURN: Return a value from a method
- SHORT: Declares a short integer variable
- SUPER: A reference to the parent of the current object
- SWITCH: Tests for the truth of various possible cases
- SYNCHRONIZED: Indicates that a section of code is not thread-safe
- THIS: A reference to the current object
- THROWS: Declares the exceptions thrown by a method
- TRANSIENT: Data should not be serialized
- TRY: Attempt an operation that may throw an exception
- VOID: Declares that a method does not return a value
- VOLATILE: Warns the compiler that a variable change asynchronously
- WHILE: Begins a while loop
Comments
Python Training in Chennai
Python Training in Velachery
Big data training in chennai
JAVA Training in Chennai
Selenium Training in Chennai
SEO training in chennai
Python Training in Annanagar