WHAT IS THE ACTUAL DEFINATION OF OBJECT AND THE CLASS IN ONE
SINGLE LINE WHICH THE INTERVIEWER WANT TO LISTEN.
Answer Posted / pranay agarwal
class is a template that contain data and functions, an
object can use this template any no. of times .
object is instance of class.
| Is This Answer Correct ? | 2 Yes | 0 No |
Post New Answer View All Answers
Can we override main method?
What are different oops concepts?
What is abstraction in oop with example?
What are the types of abstraction?
Why do we use encapsulation in oops?
i got a backdoor offer in process global,Bangalore..Can i work with it?
What is inheritance and how many types of inheritance?
write string class as your own class in java without using any built-in function
How can you overcome the diamond problem in inheritance?
What is encapsulation with real life example?
How do you achieve runtime polymorphism?
What does enum stand for?
How to call a non virtual function in the derived class by using base class pointer
What does and I oop mean in text?
What is the highest level of cohesion?