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 |
How to use CRC Cards for Class Design?
What are abstract functions? Why are they used?
How many instances can be created for an abstract class?
What is ‘this’ pointer?
Comment: C++ "includes" behavior and java "imports"
Does a class inherit the constructor of its super class?
Do we require a parameter for constructors?
Can encapsulation be called as a security device?
Why is class hierarchies managed in object-oriented programming?
Explain the term constructor
What is the use of destructive method?
What is method overriding?