[code]package packag;
import java.util.Scanner;
public class Dome06 {
public static void main(String[] args) {
System.out.println("请选择如下功能:");
System.out.println("\t1 显示全部用户列表");
System.out.println("\t3 添加新用户");
System.out.println("\t2 修改用户的密码");
System.out.println("请选择 (0,1,2,3,4,):");
Scanner console = new Scanner(System.in);
int comaad = console.nextInt();
switch(command){ //有人解释下为什么最后排代码在Eclipse里会出现红X啊?无法运行最后排代码
}
}
} |
|