Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- class gib
- {
- int x;
- int y;
- gib(int r1, int r2)
- {
- x=r1;
- y=r2;
- }
- }
- class sib
- {
- public sib(int x1, int y1)
- {
- gib p=new gib(x1, y1);
- }
- }
- class some
- {
- public static void main(String[] args)
- {
- sib retard=new sib(5, 12);
- System.out.println(retard.p.x);
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement