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

How do you initialize an arraylist in java?

513


Write a program to find the whether a number is an Armstrong number or not?

576


Can a class be defined inside an interface?

565


Which is better 64 bit or 32 bit?

514


What is bytecode verifier?

508






How to check if a list is sorted in java?

590


What is regex java?

564


What is string literal in java?

557


What is singleton class in java and how can we make a class singleton?

578


I am unable to find or learn about print command. I have a graphical program in core java in applet but i want to give print command but i have coding for that so if anyone know about this plz mail me on avdhesh_chauhan007@yahoo.co.in

1601


How do you check if two given string are anagrams?

555


Is hashset sorted in java?

669


Can constructor be static or final?

654


How to display names of all components in a Container?

2491


How do you add an arraylist to an array in java?

511