Showing posts with label native modifier. Show all posts
Showing posts with label native modifier. Show all posts

Java- native modifier / Chapter -8 / Access Modifier

java native modifier

java native modifier


1. "native" is a modifier applicable only for methods and we cannot apply anywhere else. 2. The methods which are implemented in non-java (C or C++) are called native methods. 3. The main objective of native modifier are:-



  • Improve performance of the system.

  • To achieve machine level or memory level communication.

  • To use already existing legacy (non-java) code.



Java- native modifier / Chapter -8 / Access Modifier



1. "native" is a modifier applicable only for methods and we cannot apply anywhere else.
2. The methods which are implemented in non-java (C or C++) are called native methods.
3. The main objective of native modifier are:-

  • Improve performance of the system.
  • To achieve machine level or memory level communication.
  • To use already existing legacy (non-java) code.

Flipkart End Of Season Sale






© Copyright 2017 Javabychetan.blogspot.com