The native keyword is used to tell Java that the method you are defining is actually implemented in machine-specific compiled code outside of Java.
It is mainly used to import existing libraries of code compiled in C into Java, but is also used for the "low level" stuff which must be written specifically for each platform. If you try to look through the Java source code for how things like Sockets or the Math class are implemented, you will soon run into native methods.
See the related link below for a well written example of how to use native methods yourself.
There is no "foreign" keyword in Java, however, there is a native keyword that declares native methods in a native language, such as C or C++.For full list of keywords in Java see related question.
No, 'check' is not a keyword in java language.
Literal in java are L, F, null, true, false These act as keyword(have special meaning in java) but these does'nt comes under the category of Java Keyword.
The native modifier indicates that a method is implemented in platform-dependent code (Not Java Of Course), but often in C. The native keyword can be applied only to methods-not classes, not variables, just methods. Note that a native method's body must be a semicolon (;) (like abstract methods), indicating that the implementation is omitted
native is a key word used in java method. there is no variable as native in java
There is no "foreign" keyword in Java, however, there is a native keyword that declares native methods in a native language, such as C or C++.For full list of keywords in Java see related question.
No, 'check' is not a keyword in java language.
yes, float is keyword and data type in java
"verify" is not a Java keyword. I believe the link, in related links, has the complete list of Java keywords.
Literal in java are L, F, null, true, false These act as keyword(have special meaning in java) but these does'nt comes under the category of Java Keyword.
"int" is the keyword for integer
The native modifier indicates that a method is implemented in platform-dependent code (Not Java Of Course), but often in C. The native keyword can be applied only to methods-not classes, not variables, just methods. Note that a native method's body must be a semicolon (;) (like abstract methods), indicating that the implementation is omitted
native is a key word used in java method. there is no variable as native in java
In Java, the final keyword specifies that the object created cannot be further redefined or derived.
"this" is a Java keyword that references the current object. Any part of the object(instance variables, methods, constructors) can be accessed by calling this.[member].
sizeof is not a keyword in Java but many classes have size() or length() methods, which can mean the number of elements, characters, etc. depending on the class.
new is a keyword to create a instance of object any class.