OneCompiler

How to find ASCII value of a character in java by jayanthi ganesh

177

import java.util.*;

public class ASCIIValue {
public static void main(String[] args) {
char c = 'a';
int c1 = c;
System.out.println(c1);
}
}