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?
2 odpowiedzi
+ 1
then in there place I can use any other method?
+ 1
Ok,
thanks:)