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 will you define abstract classes?
What is static polymorphism?
Can we override static methods? Why?
Giving reasons explain two external responsibilities of a project manager.
What is the difference between a class and a structure?
Difference between abstraction and implementation hiding ?
What are the different types of arguments?
How to define an interface?
What are abstract methods?
What is a subclass?
What interface must an object implement before it can be written to a stream as an object?
What is the difference between class and interface?