Win a copy of Design for the Mind this week in the Design forum!
    Bookmark Topic Watch Topic
  • New Topic

mutator method

 
SrinivasaRao Swarna
Greenhorn
Posts: 20
  • Mark post as helpful
  • send pies
  • Report post to moderator
Hi friends,

I have doubt with instantmethods
class person
{

}
 
Vikas Kapoor
Ranch Hand
Posts: 1374
  • Mark post as helpful
  • send pies
  • Report post to moderator
Hi Sri,

I googled about Mutator Methods and get this.
Methods that alter variables.The mutator method name should start with "set".

So they can be called 'Setter Methods' also.



We don't have anything like 'instant' method. It is instance method which is related to instance(Object) of a class.
[ June 03, 2008: Message edited by: Vishal Pandya ]
 
Campbell Ritchie
Sheriff
Posts: 48652
56
  • Mark post as helpful
  • send pies
  • Report post to moderator
I think you are trying to ask the same question twice, or you have posted an incomplete posting. Please continue any discussion here, and I shall close this thread.
Beware of pushing the "add" button too soon, and remember you can use the pencil-and-paper "edit" icon to alter or delete a post.
 
    Bookmark Topic Watch Topic
  • New Topic