January 14, 2019 By ITechOasis Leave a CommentPrint ASCII Values in Javapublic static void main(String[] args) { // Print ASCII Values : 7 bytes = 128 Values = 0 to 127 for (int i=0; i <=127;i++) { System.out.printf("%d = %c", i,i); System.out.println(); } }
Leave a Reply