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 do you mean by abstraction?
Why do we need oop?
what are the different types of qualifier in java?
i am getting an of the type can not convert int to int *. to overcome this problem what we should do?
What are oops methods?
What is encapsulation with example?
What is overloading in oops?
Which is better struts or spring?
what type of questions
Write a program to sort the number with different sorts in one program ??
Can you explain polymorphism?
Why can't we have instance(stack) of a class as a member of the same class like eg.Class A{A obj;} as we can have self refential pointer
String = "C++ is an object oriented programming language.An imp feature of oops is classes and objects".Write a pgm to count the repeated words from this scenario?
What is encapsulation example?
What is byval and byref? What are differences between them?