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
Explain what a method is?
What is sealed modifiers?
What are the access modifiers?
Explain about instance in object oriented programming?
Can an interface contain fields?
Describe the Diamond problem. Where does this problem occur?
What is the use of interface?
Explain the concept of multiple inheritance (virtual inheritance). Write about its advantages and disadvantages?
Explain about Overloading vs Overriding ?
Does a class inherit the constructor of its super class?
What is the default access modifier in a class?
Can constructors be parameterized?
Can a class in java be inherited from more than one class?
What are the basic concepts of oop?
What is the default access modifier for a class,struct and an interface declared directly with a namespace?