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 / ayisha shoukat

CLASS:
A class is a collction od data members and member
functions.in class data members are private usually
and member functions are private.
And
A class is also like a data type therefore it is used to
declare variabes in oop.


OBJECT:
The variables of a class are objects.

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the difference between Grid and Gridbaglayout?

1239


What is boolean data type in java?

996


What are the four corner stones of oop?

1033


Is it safe to install java on my computer?

1136


Which variable is the independent variable?

981


What does you mean in math?

1085


What is int lol?

1140


What are the different types of inheritance in java?

991


How many types of keywords are there?

992


Can we force garbage collector to run ?

1054


Why collection is called framework in java?

986


What is class array in java?

1051


Explain about strings in java?

1070


What is a finally block? Is there a case when finally will not execute?

1069


How to sort an array from smallest to largest java?

982