Advertisement
Guest User

Rangga ASCII string

a guest
Nov 13th, 2016
168
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.27 KB | None | 0 0
  1. public class ASCIIToString {
  2. public static void main(String args[]){
  3. int num[] = {65, 120, 98, 75, 115};
  4. String str =null;
  5. for(int i: num){
  6. str = Character.toString((char)i);
  7. System.out.println(str);
  8. }
  9. }
  10. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement