What are getters an…
 
Notifications
Clear all

What are getters and setters ?

1 Posts
2 Users
0 Likes
333 Views
0
Topic starter

Getters and Setters

1 Answer
0

Getter and Setter are those methods in java that are used to retrieve the value of a data member and update or set the value of a data member respectively. Getters are also called accessors and Setters are also called mutators.

Share: