Comment: C++ "includes" behavior and java "imports"
Answer Posted / 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 |
Post New Answer View All Answers
What is virtual multiple inheritance?
what is full form OOP?
What is a nested interface?
Explain about multiple inheritance?
What are the limitations of oops?
What is operator overloading and polymorphism?
What is data abstraction? what are the three levels of data abstraction with Example?
What is dynamic or run time polymorphism?
Explain about inheritance in oops?
Is it possible to override private virtual methods?
what is virtual function and pure virtual function ?
Define modularity?
What are the main features of oops?
What is the difference between an error and an exception?
Why is java not fully objective oriented?