Difference between # include in C/C++ and import in Java
*** Difference between # include in C/C++ and import in Java ***
– # include makes the compiler to copy header file code into the C/C++ program.
– It increase the program size, unnecessary wastage of memory and process time.
– import statement makes JVM to go to the java library and execute the code there and finally substitute the result into java program.
– JVM physically will not copy any code.
– import is efficient than # include