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 is super keyword?
Explain persistence?
Can you create an instance of an interface?
Why is planning too much up front a mistake in an OOSAD project?
What is dynamic or run time polymorphism?
Differentiate between a class and a method.
What is the @functionalinterface annotation?
Can we reduce the visibility of the inherited or overridden method ?
How to achieve data abstraction?
What is polymorphism and abstraction?
0 Answers Agilent, Integreon, ZS Associates,
Every object has : state, behavior and identity - explain
2 Answers InfoAxon Technologies, Protech,
What is difference between class and interface?