(Solved):Two objects can have the same fields and the same state. Is the statement true or false? View Answer…

 

Question

Two objects can have the same fields and the same state.

Is the statement true or false?

 

EXPERT ANSWER

Two objects can have the same fields and the same state.

Answer: The statement is true.

A class serves as a template. It specifies what data and what function will be included in the objects of that class. An object is an instance of a class. In Java programming, an object is a combination of data

Scroll to top