kenpro321

Untitled

Jul 2nd, 2020
14
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 temp {
  2. public static void main(String args[]) {
  3. int[] arr = {68, 72, 32, 84, 72, 85, 89, 32, 76, 79, 73};
  4. char[] carr = new char[arr.length];
  5. for(int i = 0; i < arr.length; i++)
  6. carr[i] = (char) arr[i];
  7. System.out.println(carr);
  8. }
  9. }
Advertisement
Add Comment
Please, Sign In to add comment