
Write an application that displays the integer equivalents of the following character...A

Java get Integer value of Character
class GetIntValueOfCharacter
{
public static void main(String[] args)
{
char c = 'A';
int value = (int) c;
System.out.println(value);
}
}

import java.util.Scanner;
public class Charac
{
public static void main (String args[])
{
Scanner input= new Scanner(System.in);
System.out.printf("Character A has the value" (int)'A');
}
}