We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent eaa071d commit 015be63Copy full SHA for 015be63
String wrapper
@@ -0,0 +1,23 @@
1
+
2
+//in this we can store the value in the wrapper class
3
+public class wrapperstr {
4
5
+ public static void main(String[] args)
6
+ {
7
+ Integer obj=5;
8
+ System.out.println("the Integer obj value it is ="+obj);
9
10
+ System.out.println("max value is the = "+Integer.MAX_VALUE);
11
+ System.out.println("the min value is the = "+Integer.MIN_VALUE);
12
13
+ int i=Integer.parseInt("11");
14
+ System.out.println("parse int is = "+i);
15
+ System.out.println("to binary value is = "+Integer.toBinaryString(i));
16
+ Integer obj2=Integer.valueOf("123");
17
+ System.out.println("value of the obj2 ="+obj2);
18
19
+ Float j=obj2.floatValue();
20
+ System.out.println("j = "+j);
21
22
+ }
23
+}
0 commit comments