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 is the java idl system?

1088


What is the use of arraylist in java?

1159


What is ++ a in java?

1035


What are the differences between the constructors and methods?

1181


How to sort numbers in java without array?

1043


How can we avoid including a header more than once?

1076


What is the Concept of Encapsulation in OOPS

1032


how we can create packages in java?

1017


What is nan inf?

1173


What does this () mean in java?

1033


What is java algorithm?

990


Tell me a few examples of final classes defined in Java API?

1162


Give some features of interface?

1140


Is there any case when finally will not be executed?

1003


What is bubble sort in java?

1107