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

What is object-oriented programming?

578


What are the three types of design patterns?

523


How do you end a program?

554


Why set do not allow duplicates in java?

589


Which sorting algorithm is best in java?

541






What are the legal parameters?

515


What are annotations in java?

623


What is a parent class in java?

551


What is a flag value?

523


What are triggers in DB? Explain their types. How do they work?

631


What is entry set in java?

539


What are the major drawbacks of external iteration?

580


Which is faster call by value or call by reference?

507


How do you invoke a method?

546


What is module in oop?

573