Don't like ads? PRO users don't see any ads ;-)
Guest

Untitled

By: a guest on May 2nd, 2012  |  syntax: Java  |  size: 0.34 KB  |  hits: 16  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1.  
  2. public interface Person {
  3.         /** Returns a copy of the Person */
  4.         public Person copyMe();
  5.        
  6.         /** Returns the person's name */
  7.         public String getName();
  8.        
  9.         /** Returns the person's annual salary */
  10.         public int getSalary();
  11.        
  12.         /** Increases this person's salary by the amount of the parameter */
  13.         public void acceptRaise(int amount);
  14.  
  15. }