Comment: C++ "includes" behavior and java "imports"
Answer / chaitanya
fine...........
in C++ we wrote #include<@@@@@@@@@>
because it accessing the functions,keywords....etc from
that header file.
But in Java we imports the classes i mean....
inherits the behaviour of that imported class
ex: import java.*;
the properties(all functions,...etc data) of the java class
will comes to what classes we wrote in the program.
FROM:
MICHAEL JACKSON(King Of Pop)
Is This Answer Correct ? | 2 Yes | 0 No |
What is data abstraction? what are the three levels of data abstraction with Example?
Differentiate between Aggregation and containment?
What is the difference abstract class and interface?
What are the different principle of OOPS?
How can we call the base method without creating an instance?
What is the diffrence between an abstract class and interface?
Why is class hierarchies managed in object-oriented programming?
How many instances can be created for an abstract class?
Difference between abstraction and implementation hiding ?
What are different ways to create string object?
What is difference between encapsulation and abstraction?
Difference: Sequence Diagrams, Collaboration Diagrams ?