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 object and class in oops?
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 does and I oop mean in text?
what is difference between class template and template class?
Why multiple inheritance is not possible?
Why is it so that we can have virtual constructors but we cannot have virtual destructors?
What is class and example?
Question: Write a program that prints a paycheck. Ask the program user for the name of the employee, the hourly rate, and the number of hours worked. If the number of hours exceeds 40, the employee is paid “time and a half”, that is, 150 percent of the hourly rate on the hours exceeding 40. Be sure to use stepwi se refine ment and break your solution into several functions. Use the int_name function to print the dollar amount of the check.
What are properties in oop?
What is cohesion in oop?
What is the diamond problem in inheritance?
Why multiple inheritance is not allowed?
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
What are the three parts of a simple empty class?
what is graphics