java accessors and mutators (manohar academy)

preview_player
Показать описание
welcome to manohar academy.

In this lesson we learn about java accessors and mutators, also known as accessor method and mutator methods.

If invocation of a method on a object changes method state then it is called mutator method.

if invocation of a method on a object does not change its state then it is called accessor method.

Рекомендации по теме