Comment: C++ "includes" behavior and java "imports"



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

Post New Answer

More OOAD Interview Questions

What is the difference between data hiding and implementation?

0 Answers  


Explain the mechanism of composition?

0 Answers  


Is class an Object? Is object a class?

11 Answers  


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?

0 Answers  






Difference: Sequence Diagrams, Collaboration Diagrams ?

2 Answers   Protech,


Does PowerShell support OOPs?

0 Answers   Microsoft,


Write basic concepts of oops?

0 Answers  


What is the difference between an error and an exception?

0 Answers  


Explain about message passing in object oriented programming?

0 Answers  


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?

0 Answers  


Which keyword can be used for overloading?

0 Answers  


Categories