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 Object and Class? What are the differences between
them?

Answer Posted / prabhakar

class is a collection of data and member functions.
objcet is instance of a class

Is This Answer Correct ?    1 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is polymorphism and its types?

1014


What is overloading in oop?

964


What is purpose of inheritance?

1058


What is the difference between inheritance and polymorphism?

1057


Can we define a class within the interface?

990


Can we have inheritance without polymorphism?

977


Why is abstraction needed?

986


What is oops with example?

1000


What is the difference between static polymorphism and dynamic polymorphism?

1037


Why do we use class in oops?

922


What are properties in oop?

1027


class type to basic type conversion

2346


Which type does string inherit from?

1066


Why do we use encapsulation in oops?

979


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

2233