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 an object in Java and what are its benefits?

Answer Posted / sumit pal singh

An object in java is a runtime entity of a java class. It has two characteristics 1. State (variables) and 2. Behavior (methods). It has below benefits

1. By creating the object of one class into another class we can get the state and behaviour of another class . i.e. Composition is best example for using the object.

Is This Answer Correct ?    2 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What modifiers may be used with a top-level class?

1057


what is the major difference between linkedlist and arraylist in java?

1206


How can you write a loop indefinitely in java programming?

1023


What is the difference between double and float variables in java?

1144


How many bits is a float?

1002


What is integer valueof?

1098


What is finalize()? Is finalize() similar to a destructor?

963


What is the difference between scrollbar and scrollpane?

1084


Can arraylist contain null values?

1011


Who developed java?

981


How to check if linked list contains loop in java?

898


What is use of a abstract variable?

983


Can we define a package statement after the import statement in java?

1064


What is the symbol for average?

1027


Difference between start() and run() method of thread class?

1068