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 / patel hemangi baldevbhai

class is collection of object.
ex:
|ob1|ob2|ob3|

object is collection of data member & member function.
ex:
| data | member |
| member | function |

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

how many types of Inheritance?

1168


Can we convert list to set in java?

982


make a method which any number and any type of argument and print sum of that arguments.....

1809


If an application has multiple classes in it, is it okay to have a main method in more than one class?

1011


When does an object becomes eligible for garbage collection in java?

1061


What are the advantages and disadvantages of object cloning?

1105


Can you create an object of an abstract class?

1017


What is the structure of java?

1025


What is the benefit of lambda expressions?

1056


Are strings immutable in java?

976


What are "methods" and "fields"?

1014


What is a variable in java?

1130


How can you handle java exceptions?

1028


Explain java coding standards for constants?

1009


Tell me about your ability to work under pressure

2193