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 |
Why use oops?
When will you use an interface and abstract class?
What is operator overloading?
What is an abstraction?
What is method overriding?
If a method definition has been specified in class , its base class , and the interface which the class is implementing, which definition will be picked if we try to access it using interface reference and class object?
What is a subclass?
What is the base type from which all structs inherit directly?
What is a Persistent, Transient Object?
What do you meant by "SBI" of an object?
What are the limitations of oops?
what is full form OOP?