Introduction
Here is the source code for Main.java
Source
public class Main {
public static void main(String[] args) {
Integer intObj1 = new Integer("100");
System.out.println(intObj1);
String str = "100";
Integer intObj2 = Integer.valueOf(str);
System.out.println(intObj2);
}
}