Comment: C++ "includes" behavior and java "imports"
Answer / mrangababu
#include in C/C++: #include makes a compiler to copy header
file code into a C/C++ program.
Dis Adv:It increase the program size unnecessarly.wastage
of memory and process time.
import in java : import statement makes JVM to go to the
java library execute the code there at finally substitute
the result into java program.JVM physically will not copy
any code.
import is efficient than #include....
Is This Answer Correct ? | 16 Yes | 4 No |
What does it mean that a method or class is abstract?
How can we restrict inheritance for a class so that no class can be inherited from it?
How will you define abstract classes?
What is operator overloading and polymorphism?
0 Answers ITC Indian Tobacco Company,
What do you mean by abstract class?
What are the main features of oops?
Comment: C++ "includes" behavior and java "imports"
Can I implement polymorphism using abstract class?
How does abstraction differ from encapsulation.
What's the order of call of constructors in inheritiance?
Why does the function arguments are called as "signatures"?
What is the use of finalize method?