Core Java - Interview Questions and Answers for 'Mutator' | Search Java Interview Question - javasearch.buggybread.com
Javasearch.buggybread.com

Search Interview Questions


 More than 3000 questions in repository.
 There are more than 900 unanswered questions.
Click here and help us by providing the answer.
 Have a video suggestion.
Click Correct / Improve and please let us know.
Label / Company      Label / Company / Text

   



Core Java - Interview Questions and Answers for 'Mutator' - 1 question(s) found - Order By Newest

 Q1. What is a mutator in Java?Core Java2017-03-10 09:45:05

Ans. Mutator is another name for setter methods, i.e the method allows for mutating the property of an object and eventually the state of the object.

 Help us improve. Please let us know the company, where you were asked this question :   

   Like         Discuss         Correct / Improve     setter method  mutator


Related Questions

  Why are Getter and Setter better than directly changing and retrieving fields ?

or

What is the significance of variable hiding in Java ?

or

Why it's preferred to keep variables private and allow their access through getter and setter methods ?
  How to generate getters and setters automatically in eclipse ?
  What ate the getter and setter methods ?
 Is it advisable to set the member variables through constructors instead of setting them through setters ?
 Difference between constructor and setter injection ?
 Are getters setter / accessor mutator methods instance methods or static methods ? why ?
 What is setter injection ?
 Give specific situation about when to go for constructor based injection and setter based injection in spring.



Help us and Others Improve. Please let us know the questions asked in any of your previous interview.

Any input from you will be highly appreciated and It will unlock the application for 10 more requests.

Company Name:
Questions Asked: