Skip to content

Commit 43ca264

Browse files
authored
Create BoxingUnboxingEx.java
1 parent de0b0e1 commit 43ca264

1 file changed

Lines changed: 14 additions & 0 deletions

File tree

conversions/BoxingUnboxingEx.java

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
package com.zetcode;
2+
3+
public class BoxingUnboxingEx {
4+
5+
public static void main(String[] args) {
6+
7+
long a = 124235L;
8+
9+
Long b = new Long(a);
10+
long c = b.longValue();
11+
12+
System.out.println(c);
13+
}
14+
}

0 commit comments

Comments
 (0)