WHAT IS THE ACTUAL DEFINATION OF OBJECT AND THE CLASS IN ONE
SINGLE LINE WHICH THE INTERVIEWER WANT TO LISTEN.
Answer Posted / amit chauhan
object is a real world entity.
class is collection of similar objects.
| Is This Answer Correct ? | 2 Yes | 1 No |
Post New Answer View All Answers
How do you explain polymorphism?
What are the benefits of oop?
What is oops and why we use oops?
what's the basic's in dot net
Write a program to implement OOPS concepts such as inheritance, polymorphism, friend function, operator overloading?
class CTest { public: void someMethod() { int nCount = 0; cout << "This is some method --> " << nCount; } }; int main() { CTest *pctest; pctest->someMethod(); return 0; } It will executes the someMethod() and displays the value too. how is it possible with our creating memory for the class . i think iam not creating object for the class. Thanks in Advance... Prakash
INSTANCE FIELDS DECLARED private ARE ACCESSIBLE BY THE METHODS ONLY.CAN WE CHANGE THE private FIELD OF AN OBJECT IN A METHOD OF SOME OTHER OBJECT OF THE SAME CLASS?
what is the sylabus for priliminaries?
what is the drawback of classical methods in oops?
Is abstract thinking intelligence?
What is object in oop with example?
write a programe to calculate the simple intrest and compund intrest using by function overlading
why reinterpret cast is considered dangerous?
What is property in oops?
Can we create object of interface?