A)
->”native modifier is applicable only to methods. i.e. we can’t have native variables and native classes.
->native methods should be declared in a class but should not be defined.
Public native int read() throws IoException is an example of a built in native method.
->native method means, declaration is done in java, native language, mostly in c language.
Comments
Post a Comment