turt2live

Untitled

Apr 21st, 2012
108
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 0.17 KB | None | 0 0
  1. class MyClass{
  2.  
  3.     private String var;
  4.  
  5.     public void setMyVar(String var){
  6.         this.var = var;
  7.     }  
  8.  
  9.     public void setMyVar2(String aVar){
  10.         this.var = aVar;
  11.     }
  12.  
  13. }
Advertisement
Add Comment
Please, Sign In to add comment