import java.util.*;
import java.lang.*;
import java.io.*;
// The main method must be in a class named "Main".
class Main {
public static void main(String[] args) {
System.out.println("Hello world!");
int num = 'A';
System.out.println("int num = 'A' showing sop num is "+num);
char ch = 98;
System.out.println("char ch = 98 showing sop ch is "+ch);
char ch2 = 'a' +1 ;
System.out.println ("char ch2 = 'a' +1 shows sop ch2 is "+ ch2);
System.out.println (" (char)65 shows sop "+ (char)65);
System.out.println (" (int)'A' shows sop "+ (int)'A');
}
}
To embed this project on your website, copy the following code and paste it into your website's HTML: