public class Main { public static void main(String[] args) { int chr = 'A'; System.out.println("The ASCII value of A is :"+(int)chr); } }
The ASCII value of A is :65
Apply For Job
Java Material
Python Material
PLSQL Material
.Net Material
Write a Java program and compute the sum of the digits of an integer
Write a Java program that takes five numbers as input to calculate and print the average of the numbers
Write a Java program to convert seconds to hour, minute and seconds
Write a Java program to print the odd numbers from 1 to 20
Write a Java program to print the sum of two numbers