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 difference between class and object?

Answer Posted / p govind rao

1) class is a group of a object that shares common
property.
2) class is a collection of methods and functionality.
3) Object is real time entity of class or it is a
instance of class.
4) A Class is a blueprint of an object or we can say
that its a template of an object.
5) Class –Classe defines object, Object -Object can't
define classes.
6) Class -Object properties can access by class
instance on which that object is residing.
7) Object-Should be belonging to any of the class.
8) Object - Can created and destroyed as your
necessity.
9) Class-One class can define any no of Object Class
is templet for an object.Object is an instance of a class.
10) Class cannot be passed as a prameter or
orguments,But object can be passed as argument or parameter.

Is This Answer Correct ?    57 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is implicit object in java?

1031


Which collection is thread safe in java?

943


How will you initialize an Applet?

1093


Is array serializable java?

923


Explain the difference between an object-oriented programming language and object-based programming language?

942


What does a za z0 9 mean?

1041


What method is used to specify a container's layout in java programming?

1062


What do you meant by active and passive objects?

1027


How do you join strings in java?

995


Can we declare register variable as global?

902


Which number is denoted by leading zero in java?

1202


What is data movement?

1077


When do we need to use internal iteration? When do we need to use external iteration?

1071


Can we have any code between try and catch blocks?

936


When should I use singleton?

967