这串代码有没有问题??建造的时候一直报错,第六行为非法的表达式开始
public class Telphone {
public static void main(String[] args) {
float screen;
float mem;
float cpu;
void call(){
System.out.println("hello,World!");
}
void sendMessage(){
System.out.println("发短信");
}
}
}