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 |
What event results from the clicking of a button?
To what value is a variable of the string type automatically initialized?
What if the static modifier is removed from the signature of the main method?
Are there books about seam?
Define aop(assepct oriented programing)?
If I define a method in JSP scriplet <%..%>, where will it go after translation into a servlet?
What are the thread-to-thread communcation?
What is the difference between session and entity beans?
difference between apllet and interface class
what are JSP tags? what is difference between include action and directory?
What’s jboss jbpm?
How do you maintain a stateful session object across the session