Guest User

Untitled

a guest
Jan 24th, 2018
61
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 0.30 KB | None | 0 0
  1. public ClassA
  2. {
  3.   cprivate String shit = "S";
  4.   ClassA()
  5.   {
  6.     this.shit = "SHIIIT";
  7.   }
  8.  
  9.   public String getShit()
  10.   {
  11.     return this.shit;
  12.   }
  13. }
  14.  
  15. public class Main
  16. {
  17.   public static void main(String args[])
  18.   {
  19.     ClassA a = new ClassA();
  20.     System.out.println(a.getShit());
  21.   }
  22. }
Add Comment
Please, Sign In to add comment