Advertisement
imjyb1008

Java161

Jan 14th, 2014
143
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 0.19 KB | None | 0 0
  1. public class Boxer1 {
  2.     Integer i;
  3.     int x;
  4.     public Boxer1(int y) {
  5.         x = i + y;
  6.         System.out.println(x);
  7.     }
  8.     public static void main(String[] args) {
  9.         new Boxer1(new Integer(4));
  10.     }
  11. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement