turt2live

Art

Aug 22nd, 2012
129
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 0.21 KB | None | 0 0
  1. public abstract class Art{
  2.  
  3.     public String getAuthor(){
  4.         return "Travis Ralston";
  5.     }
  6.    
  7.     public boolean isAbstract(){
  8.         return this.getClass().getModifiers() == 0x0400;
  9.     }
  10.  
  11. }
Advertisement
Add Comment
Please, Sign In to add comment