Advanced Java Question:
Download Job Interview Questions and Answers PDF
What is difference between object state and behavior?
Answer:
If you change the state of an object, you ask it to perform
a behavior. An object stores its states in a field e.g.
variables, and demonstrates its behavior through methods.
a behavior. An object stores its states in a field e.g.
variables, and demonstrates its behavior through methods.
Download Advanced Java Interview Questions And Answers
PDF
Previous Question | Next Question |
If i learn Java, what kind of applications can i create that will help Banking, Retail, Hotel, Logistics industry? | Can we have more than one action servlet? |