Getters and Setters

1) Getters


            Getters method used to return the value from field or variable.

2) Setters are used to set the value to field using this keyword.

Comments

Popular posts from this blog

Methods and Method overloading

Constructors