what is difference between object state and behaviour?
Answers were Sorted based on User's Feedback
Answer / sam
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.
Is This Answer Correct ? | 16 Yes | 6 No |
Answer / sai koti
may be state is nothing but the property of the object(things in real world). which indirectly influence their behavior.still i don't know the exact meaning of state of an object in oop
Is This Answer Correct ? | 1 Yes | 2 No |
Answer / raj
If you not 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.
this questions and answers are very bad
Is This Answer Correct ? | 4 Yes | 7 No |
Connection Pooling with different type of databases?
How to get an image from db2 database plz help as soon as possible
What are the high-level thread states?
life cycle of an applet?
What is synchronization?
How to synchronize jsp page?
diff between jsp include directive and jsp action include?
What is colon_pkg_prefixes and what is its use?
What are different types of controls in AWT?
What is an applet?
list the types of dialodg
How to implement RMI in Java?