Skip to content

Commit b40f8e1

Browse files
committed
convert long to string
1 parent ca999a5 commit b40f8e1

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

long-to-string.java

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
class longtostring
2+
{
3+
public static void main(String args[])
4+
{
5+
long i=9993939399L;
6+
String s=String.valueOf(i);
7+
System.out.println(s);
8+
}
9+
}

0 commit comments

Comments
 (0)