Answer Posted / kumar rohit
A class is a generalized template from which object
is created based on its various instances,therefore
we can consider a class as an object while vice-versa
is not possible.
| Is This Answer Correct ? | 4 Yes | 0 No |
Post New Answer View All Answers
What do you mean by data hiding?
What is static and dynamic Binding?
What is the use if instanceof keyword?
Are constructors inherited? Can a subclass call the parent's class constructor? When?
What is data abstraction? what are the three levels of data abstraction with Example?
Why is java not fully objective oriented?
Can we override static methods of a class?
Describe the Diamond problem. Where does this problem occur?
Whether static method can use nonstatic members?
Explain the abstract class modifier?
Explain about object oriented databases?
What if we override the conflicting method in the class?
Can we override a method by using same method name and arguments but different return types?
Is it possible to provide method implementations in java interfaces? If possible, how do we provide them?
What is Overloading ? Is it similar to overriding ?