answersLogoWhite

0


Best Answer

Each Java object has varaibles - which in this case are called fields. They store information about the object. For example, a class to store a date might have "fields" to store the day, the month and the year. The values stored in these fields are collectively called the object's "state".


User Avatar

Wiki User

11y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: What is the state of an object in java?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

Where is the data representing the internal state of a Java object held?

Member variables.


What is a java object?

A java object is a collection of methods and properties defined in the Java programming language.


What language is completely object oriented c plus plus or java?

Java is the complete object oriented Programming Language as every thing in java is an object,


What are impure functions in Java?

Pure functions are those which do not modify the state of an object. Most often these are functions which take arguments and return a result.


Can you initialize an object without constructor in java?

No. if you wish to create an object that you plan on using in a java program then the answer is NO. You cannot initialize an object of a Java class without calling the constructor.


Did java oriented language works on object?

Java is an object oriented language, and it works with classes and objects.


Why do you require a object in java but not in C?

Because Java is an object-oriented language and C is a procedural language.


Is there class name as object in java?

Yes, the base class for all other Java classes is Object.


Why java is certifiction?

java is a object oriented langage,that is indepentant platform. java is full object oriented language. java is access any operating system.so java is good certification of program in runtime environment.


What is the Object class parent?

Object is the topmost class in the Java Class hierarchy. There is no Class above Object. All classes in Java are implicitly derived from Object.


Why java is called truly object oriented language?

because java supports three main pillars.....(inheritance encapsulation and abstraction)..... and everything in java is OBJECT......


What is topleval class in java?

The top level class in Java is "Object." All other classes are subclasses of Object by default.