Advertisement
Guest User

Untitled

a guest
Aug 28th, 2014
180
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.30 KB | None | 0 0
  1. class gib
  2. {
  3. int x;
  4. int y;
  5. gib(int r1, int r2)
  6. {
  7. x=r1;
  8. y=r2;
  9. }
  10. }
  11.  
  12. class sib
  13. {
  14.  
  15. public sib(int x1, int y1)
  16. {
  17. gib p=new gib(x1, y1);
  18.  
  19. }
  20.  
  21. }
  22.  
  23. class some
  24. {
  25. public static void main(String[] args)
  26. {
  27. sib retard=new sib(5, 12);
  28.  
  29. System.out.println(retard.p.x);
  30. }
  31. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement