Advertisement
Guest User

Untitled

a guest
Mar 25th, 2016
360
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.35 KB | None | 0 0
  1. public class GC {
  2. public static GC dostuff();
  3. GC newGC = new GC();
  4. doStuff2(newGC);
  5. return newGC;
  6. }
  7.  
  8. public static void main(String [] args) {
  9. GC gc1;
  10. GC gc2 = new GC();
  11. GC gc3 = new GC();
  12. GC gc4 = gc3;
  13. gc1 = doStuff();
  14.  
  15. // call more methods
  16. }
  17.  
  18. public static void doStuff2(GC copy GC) {
  19. GC localGC
  20. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement