- #include in C & C++
- import in Java -:
If we use #include in C & C++ language than compiling goes to library and loads the total header file into Current Running programs .which increase the size of program & degrade the performance of an Application .
Whenever you use Import statment in Java the JVM goes to java libraries and execute in the java library and return the result Back to the current running programs .which is high performnce.
Java libraries-:
- java libraries is a collection of packages.
- Packages are the collection of classes and interfaces .
- class and interfaces is collection of the methods.
[Note-: Java library is Represented by word java.]
0 comments:
Post a Comment
Enter Here Your Ideas and Comment to improve this Blog