Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public class temp {
- public static void main(String args[]) {
- int[] arr = {68, 72, 32, 84, 72, 85, 89, 32, 76, 79, 73};
- char[] carr = new char[arr.length];
- for(int i = 0; i < arr.length; i++)
- carr[i] = (char) arr[i];
- System.out.println(carr);
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment