"找不到符号类键盘阅读器" - JCreator

时间:2015-08-20 20:30:01

标签: java compiler-errors

我收到错误,"找不到符号类键盘阅读器。"我做错了什么?

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)
}
}

1 个答案:

答案 0 :(得分:0)

您需要在使用之前导入该类。