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
What is encapsulation and abstraction? How are they implemented in C++?
What does <> mean pseudocode?
Why do we use class?
Why we use classes in oop?
What is overriding in oops?
What is the example of polymorphism?
What are the features of oop?
Why is polymorphism used?
What is overriding in oop?
What is the diamond problem in inheritance?
Can you explain polymorphism?
How do you answer polymorphism?
Why is static class not inherited?
Why is oop useful?
write a program to find 2^n+1 ?