public class Longtostring {
public static void main(String[] args) {
long l=12345;
String str=Long.toString(l);
System.out.println(str);
System.out.println(str+12345);
}
}
public static void main(String[] args) {
long l=12345;
String str=Long.toString(l);
System.out.println(str);
System.out.println(str+12345);
}
}
No comments:
Post a Comment