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

Answer Posted / amit

In Java,The object will have its own state and access to all of the behavior defined by the class.

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the major advantage of external iteration over internal iteration?

600


what is the messsage u r going to get from an objectoriented programing?

1592


Are private methods final?

468


Why do we override tostring method in java?

486


I want my class to be developed in such a way that no other class (even derived class) can create its objects. How can I do so?

506






Implement 2 stacks with just 1 array. The stack routines must not indicate overflow unless every slot in array is used.

819


What is java util list?

471


What is difference between final and immutable?

545


What is equals method in java?

515


What is busy spin, and why should you use it?

575


Difference between string s= new string (); and string s = "abv";?

730


What is static synchronization?

561


how come we know the object is no more used in the class?

5387


What an i/o filter?

553


How can you make sure that your singleton class will always return single instance in multi-threaded environment?

555