This question already has answers here:
What does a “Cannot find symbol” or “Cannot resolve symbol” error mean?

(15个答案)


1年前关闭。




我收到错误消息“找不到符号类键盘阅读器”。我究竟做错了什么?
import java.util.Scanner;
public class Looping
{
public static void main(String[] args)
{
KeyboardReader reader = new KeyboardReader();
 int choice = 0;

//Menu with options
do {
System.out.println("Looping Menu");
System.out.println("1. For Loop");
(And so on, with a menu and options that work fine)
}
}

最佳答案

您需要先导入该类,然后再使用它。

关于java - “Cannot find symbol class keyboard reader” — JCreator ,我们在Stack Overflow上找到一个类似的问题:https://stackoverflow.com/questions/32127815/

10-12 06:31