Wrap.java Source code

Java tutorial

Introduction

Here is the source code for Wrap.java

Source

class Wrap {
    public static void main(String args[]) {

        Integer iOb = new Integer(100);

        int i = iOb.intValue();

        System.out.println(i + " " + iOb); // displays 100 100
    }
}