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 |
Write a java program to find out the sum of harmonic series : 1 + ½ + 1/3 + ……… up to nth term , for any value of n.
what is Bootstrap loader program?
What are the design considerations while making a choice between using interface and abstract class?
What is the form of storage space in java?
What is Lock Based Protocol and what is its use?
What is local interface. How values will be passed?
which of the following authentication is stronger than the others? a. Http Basic b. Http DIGEST c. Form based
can we write implementation for a method with in another method?
what is singleton class? where it mainly used in the projects?
i have a 1000 objects in data base i need to display those in jsp's how can i retrive those objects in jsp. (consider the performance issue)
What happens when a thread cannot acquire a lock on an object?
I wantr to know, How many number of users logged in to website? can any one answer