Write a Java program to print the ascii value of a given characterExpected Output
The ASCII value of Z is :90
public class Exercise41 { public static void main(String[] String) { int chr = 'Z'; System.out.println("The ASCII value of Z is :"+chr); } }
Sample Output:
total answers (1)
start bookmarking useful questions and collections and save it into your own study-lists, login now to start creating your own collections.
Sample Output:
need an explanation for this answer? contact us directly to get an explanation for this answer