Rules The native keyword is to be used before the method name. Native method declaration does not have the body and should end with a semicolon as these methods are not defined in JAVA but are present in C/C++ language. Native methods can not be declared as an abstract method. More items...How many keywords are available in Java?
The Java programming language has 50 keywords. Each keyword has a specific meaning in the language. You can’t use a keyword for anything other than its pre-assigned meaning.What does 'the' keyword mean in Java?
Keyword THIS is a reference variable in Java that refers to the current object. The various usages of 'THIS' keyword in Java are as follows: It can be used to refer instance variable of current class. It can be used to invoke or initiate current class constructor. It can be passed as an argument in the method call.