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
Differentiate between data abstraction and encapsulation.
What is ‘this’ pointer?
What are the problems faced by the developer using object oriented programming language?
Explain about the relationship between object oriented programming and databases?
Which oops concept exposes only necessary information to the calling functions?
What is bootstrap, extension and system class loader?
Explain about a class in oop?
Difference between class and an object?
Can we have default method with same name and signature in the derived interface as the static method in base interface and vice versa?
Explain about message passing in object oriented programming?
Can we override static methods of a class?
Why is OOP good?
Explain about multiple inheritance?
What do you mean by polymorphism?
Explain the rationale behind object oriented concepts?