Run Code
|
API
|
Code Wall
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
[Java] Coding - Reverse CODE-StringBuilder
//[Java] Coding - Reverse CODE //StringBuilder // //Title of this code //'main' method must be in a class 'Rextester'. //Compiler version 1.8.0_72 import java.util.*; import java.lang.*; class Rextester { public static void main(String args[]) { int number=1_234_567_890; String yc=String.valueOf(number); StringBuffer string_buffer = new StringBuffer(yc); //string_buffer.reverse(); System.out.println(string_buffer.reverse()); //String reverse_string=string_buffer.toString(); //int reverse = Integer.parseInt(reverse_string); //System.out.println(reverse); } }
run
|
edit
|
history
|
help
0
Remove duplicates in string
kochergina_3
default constructor
jb7.0 extends.override
Abhay
Words with same letters
Counter.java
Intersection of Array
jb12.0 threads.enums
palin