• Post Reply Bookmark Topic Watch Topic
  • New Topic

getter setter method  RSS feed

 
Suvendu Panda
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
can anyone tell me
what is getter setter method?
what is the use of these?
how these are working ?
and when we are going to use these?

 
Winston Gutkowski
Bartender
Posts: 10575
66
Eclipse IDE Hibernate Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Suvendu Panda wrote:can anyone tell me what is getter setter method?

Suvendu, I strongly urge you to SearchFirst (←click). There are plenty of tutorials about this on the net, and Google is your friend.

However, the two are strongly linked to encapsulation (you might want to Google that too).

Winston
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!