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 the difference between data hiding and implementation?
Explain the mechanism of composition?
Is class an Object? Is object a class?
Can you instantiate an abstract class and what is an inner class?
0 Answers Flextronics, Tavant Technologies, Virtusa,
Why is java not fully objective oriented?
Difference: Sequence Diagrams, Collaboration Diagrams ?
Does PowerShell support OOPs?
Write basic concepts of oops?
What is the difference between an error and an exception?
Explain about message passing in object oriented programming?
If a method definition has been specified in class , its base class , and the interface which the class is implementing, which definition will be picked if we try to access it using interface reference and class object?
Which keyword can be used for overloading?