What is an object in Java and what are its benefits?

Answer Posted / chantiraji

Object is an instance of a class. The object will have its own state and access to all of the behavior defined by the class.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How do you implement polymorphism in our day to day life?

2753


Where is java located?

483


explain different ways of using thread? : Java thread

562


What is arraylist class in java?

497


How to call one constructor from the other constructor ?

591






What is diamond operator in java?

485


Do I need java on my pc?

495


Is the milky way in a void?

530


Describe string intern() methodology

583


Can we have static methods in an interface?

542


If you do not want your class to be inherited by any other class. What would you do?

552


Can main() method in java can return any data?

627


Explain the meaning of java applet.

593


Why hashmap is used in java?

536


What are the string methods in java?

570