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 |
Why does java not support multiple inheritance?
Why is C not an OOP language?
0 Answers Agilent, Integreon, ZS Associates,
What do you mean by operator overloading?
How to differentiate between a CreateObject() and GetObject() ?
Can we use static method definitions in interfaces?
What are the four phases of the Unified Process ?
Can a class in java be inherited from more than one class?
Can an interface implement or extend another interface?
Can you call the base class method without creating an instance?
What is a constructor in class?
Difference between class and an object?
What is virtual multiple inheritance?