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 / bala prasad

class is a collection of methods and static& non static
variables.
Object is the super class of all classes. Object is used to
access non static members of a class.

Is This Answer Correct ?    0 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

how does multithreading take place on a computer with a single cpu? : Java thread

1143


Can we create an object of private class?

964


What are methods and how are they defined?

1204


What is a dynamic array java?

934


write a program that list all permutations of ABCDEF in which A appears before B?

2481


How do singleton patterns work?

964


What comes to mind when someone mentions a shallow copy in java?

1105


What is ternary operator? Give an example.

1076


What is difference between wait and notify in java?

1132


What is the history of java?

987


Define how can we find the actual size of an object on the heap?

1200


Is array size fixed in java?

975


Why do we need data structure in java?

1065


Can you declare an interface method static?

1054


What is difference between static class and singleton pattern?

1021