difference between class and object
Answer Posted / sahil
CLASS IS A COLLECTION OF METHODS
IT IS ALOGICAL REPRESENTATION
OBJECT IS AINSTANCE OF CLASS
IT IS A PHYSICAL REPRESENTATION
IT IS ALWAYS IN LOCAL DECLERATION
| Is This Answer Correct ? | 2 Yes | 0 No |
Post New Answer View All Answers
What is polymorphism explain its types?
what is difference between class template and template class?
What language is oop?
What is encapsulation oop?
What is object in oop with example?
Why is abstraction used?
What is multilevel inheritance?
What is object and class in oops?
There are two base class B1,B2 and there is one class D which is derived from both classes, Explain the flow of calling constructors and destructors when an object of derived class is instantiated.
They started with the brief introduction followed by few basic C++ questions on polumorphism, inheritance and then virtual functions. What is polymorphims? How you will access polymorphic functions in C? How virtual function mechanism works?
What is use of overloading?
What is balance factor?
Write a C++ program without using any loop (if, for, while etc) to print prime numbers from 1 to 100 and 100 to 1 (Do not use 200 print statements!!!)
Is abstract thinking intelligence?
What is encapsulation in oop?