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 / jack

simple analogy for this quest is u declare int x;
and u ask diff between int and x;


Object is an instance of a class.......
--when an object of a class is created the memory for
that class is created...
--U can access the class members using the . operator in
your program....but u r not allowed to access the private
and protected members, which can be accessed by the member
functions only........

Class is the user defined datatype...which contains data
members and member functions.....

Is This Answer Correct ?    8 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is abstraction in oop?

1188


Are polymorphisms mutations?

1213


i am getting an of the type can not convert int to int *. to overcome this problem what we should do?

2354


What is cohesion in oop?

1112


Why do pointers exist?

1151


What is the benefit of oop?

1103


What is new keyword in oops?

1099


What is constructor overloading in oop?

1180


Which language is pure oop?

1067


What is this pointer in oop?

1124


How do you achieve runtime polymorphism?

1097


Is abstract thinking intelligence?

1109


What does and I oop and sksksk mean?

1231


Is data hiding and abstraction same?

1105


What does oop mean in snapchat?

1298