WHAT IS THE ACTUAL DEFINATION OF OBJECT AND THE CLASS IN ONE
SINGLE LINE WHICH THE INTERVIEWER WANT TO LISTEN.
Answer Posted / kp shekhawat
A class is a collection of variables
Object, use the new statement to instantiate a class
| Is This Answer Correct ? | 0 Yes | 1 No |
Post New Answer View All Answers
What is polymorphism explain?
Can main method override?
Which type does string inherit from?
What is the difference between encapsulation and polymorphism?
Why do we need oop?
How do you answer polymorphism?
IS IT NECESSARY TO INITIALIZE VARIABLE? WHAT IF THE INSTANCE VARIABLE IS DECLARED final ? IS IT NECESSARY TO INITIALIZE THE final VARIABLE AT THE TIME OF THEIR DECLARATION?
How do you achieve runtime polymorphism?
What are different types of JVM's? for example we use dalvik jvm for android then what about the remaining operating systems?
How can you overcome the diamond problem in inheritance?
Why interface is used?
What is the point of oop?
What is object in oop?
What is class in oop with example?
What does it mean when someone says I oop?