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
Explain about inheritance hierarchies?
What are the four important foundation concepts of OOP ?
Tell me something about abstract classes?
What is hybrid inheritance?
What is the super keyword?
What are the basic concepts of oop?
Write a program to show the inheritance used in a class.
What is ‘this’ pointer?
What is bootstrap, extension and system class loader? Or can you explain primordial class loader?
What is a constructor in class?
What is difference between static and non-static fields of a class?
What is the use of destructive method?
What is @functionalinterface?
What are the different types of arguments?
What does it mean that a method or class is abstract?