Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

what is the difference between class and object?

Answer Posted / sanjith

Actually,
*Class is a collection of general declarations for data members and member functions ,that means it doesnot hold any memory.

*when we give certain values to a class ,objects are created.
that means a memory is allocated when objects are created.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is multilevel inheritance explain with example?

1163


What is the difference between static polymorphism and dynamic polymorphism?

1097


write a program to find 2^n+1 ?

2081


Can an interface inherit a class?

1074


What is debug class?what is trace class? What differences are between them? With examples.

2205


What is the difference between a constructor and a destructor?

1275


Question: Implement a base class Appointment and derived classes Onetime, Daily, Weekly, and Monthly. An appointment has a description (for example, “see the dentist”) and a date and time. Write a virtual function occurs_on(int year, int month, int day) that checks whether the appointment occurs on that date. For example, for a monthly appointment, you must check whether the day of the month matches. Then fill a vector of Appointment* with a mixture of appointments. Have the user enter a date and print out all appointments that happen on that date.

1346


What are the features of oop?

1193


State what is encapsulation and friend function?

1282


What polymorphism means?

1087


What is class and example?

1200


Why is oop useful?

1121


What is difference between oop and pop?

1182


What are oops functions?

1038


Why it is called runtime polymorphism?

1150