-->
当前位置:首页 > 题库 > 正文内容

判断题:以下程序会出现编译错误:

Luz3年前 (2022-05-23)题库637
以下程序会出现编译错误:

public class F {
int i = 0;
static String s = "hello";
void imethod() {
System.out.println(s);
}
static void smethod() {
System.out.println(s);
}
}


答案:FALSE

发表评论

访客

◎欢迎参与讨论,请在这里发表您的看法和观点。