新手求解!! 错误 缺少方法主体
public class erjinzhi{
public static void main(String[] args);
int binVall = 0b11010100;
long binVal2 = 0B1101001;
int binVal3 = 0B10000000000000000000000000000011;
{
System.out.println(binVall);
System.out.println(binVal2);
System.out.println(binVal3);
}
cmd执行 javac erjinzhi.java
报错 erjinzhi.java:3:错误缺少方法主体,或声明抽象
public static void main (String[] args);