Which 2 prefixes are considered to be Java conventions for accessor and mutator methods of a class fields?
get and set prefixes are conventional for accessors and mutators for fields of a class.

Follow CodeGalaxy

Mobile Beta

Get it on Google Play
Send Feedback
Keep exploring
Java quizzes
Sign Up Now
or Subscribe for future quizzes