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 object and class

Answer Posted / sitaram

Object is a instance of a class.
Class is a template for an object.

Example: suppose we are going to hotel.first we will check
the menu. Menu is a class. we can select the one item from
menu. item is a method or variable. how to select the item.
we can create the object of menu. That is instance of
menu(Object).

Is This Answer Correct ?    4 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain thread in java?

1230


What happens if we override private method?

1027


In Java list the methods that can be overridden?

1049


What is classname class in java?

1127


how can i use a nonsynchronized hashtable?

2623


State some situations where exceptions may arise in java?

1101


Which language is java?

1020


How many types of java are there?

1031


What is the SimpleTimeZone class?

2328


what is the purpose of the runtime class?

1107


What is an array in java?

1280


What is null data type?

1178


what is an objects lock and which objects have locks? : Java thread

1073


How to find the largest value from the given array.

1066


Can a constructor be made final?

1158