What is keyword “native” used for?
The native keyword is applied to a method to indicate that the method is implemented in native code using JNI.
Can native be applied to data members?
No - just methods
Can keyword “synchronized” be applied to data members?
No
Can keyword “transient” be applied to data members?
Yes, used to indicate that a field should not be serialized.
Can keyword “transient” be applied to methods?
No