What is the difference between class and object?
Answer Posted / suvarna handore.
Class is a basic entity which allow to combine data and
manipulators. In class definition we need to club data
members and member functions.The usability of structure and
function together in C++ is known as class.
Objects are the basic runtime entities. Object is an
instance of class.To access data members and member
functions within classes, objects are required. We can
access data from outside the class using objects.
Is This Answer Correct ? | 2 Yes | 1 No |
Post New Answer View All Answers
What is abstraction oop?
What is pure oop?
Write a program to implement OOPS concepts such as inheritance, polymorphism, friend function, operator overloading?
What is the main feature of oop?
What is ambiguity in inheritance?
What do you mean by Encapsulation?
Why do we use oop?
What is the renewal class?
What is constructor overloading in oop?
Why do we use class in oops?
What is class encapsulation?
design a c++ class for the chess board,provide a c++ class definition for such class(only class definition is required)
Plese get me a perfect C++ program for railway/airway reservation with all details.
Will I be able to get a picture in D drive to the c++ program? If so, help me out?
What is oops in programming?