WHAT IS THE ACTUAL DEFINATION OF OBJECT AND THE CLASS IN ONE
SINGLE LINE WHICH THE INTERVIEWER WANT TO LISTEN.

Answer Posted / dulichand kumawat

class: A class is a collection of variables and functions working with these variables. Variables are defined by var and functions by function.

Object: Object is instance of the class which is used for run
the class like a key(object) of car(class)

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is encapsulation and abstraction? How are they implemented in C++?

628


What does <> mean pseudocode?

616


Why do we use class?

625


Why we use classes in oop?

569


What is overriding in oops?

592






What is the example of polymorphism?

552


What are the features of oop?

626


Why is polymorphism used?

576


What is overriding in oop?

542


What is the diamond problem in inheritance?

569


Can you explain polymorphism?

576


How do you answer polymorphism?

575


Why is static class not inherited?

589


Why is oop useful?

593


write a program to find 2^n+1 ?

1540