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


Please Help Members By Posting Answers For Below Questions

explain sub-type and sub class? atleast u have differ it into 4 points?

2034


What is abstract class in oop?

734


What is difference between multiple inheritance and multilevel inheritance?

856


what is the drawback of classical methods in oops?

3104


What is pointer in oop?

719


What are the three main types of variables?

820


What is advantage of inheritance?

920


What is basic concept of oop?

880


How do you achieve runtime polymorphism?

736


What is encapsulation process?

779


Advantage and disadvantage of routing in telecom sector

1005


write string class as your own class in java without using any built-in function

2195


What is polymorphism and example?

769


What is abstraction encapsulation?

852


What is encapsulation with example?

781