0

Getters and setters are inbuilt methods of java ?

we have to define getrers and setters for our program . we can even achive the same with any other self defined method , then what is the need of getters and setters?

13th May 2018, 5:38 AM
himani
2 odpowiedzi
+ 1
then in there place I can use any other method?
13th May 2018, 5:54 AM
himani
+ 1
Ok, thanks:)
13th May 2018, 5:57 AM
himani