Java代码不起作用

时间:2015-03-25 17:25:20

标签: java

这是错误显示的内容: Error: Class 'Management' are only accepted if annotation processing is explicitly requested(这是什么意思?我也是初学者)

import java.util.Scanner;

class Management {
    public static void main(String[] args) {
        // Start V //

        int Choice;

        // End V //
        Scanner in = new Scanner(System.in);

        System.out.println("Welcome To Siminea Inc Management System ");
        System.out.println(" ");
        System.out.println("What Would You Like To Find? ");
        System.out.println(" ");
        System.out.println("(1) Bank");
        System.out.println(" ");
        System.out.println("(2) Workers");
        System.out.println(" ");
        System.out.println("(3) Contact Us");
        System.out.println(" ");
        System.out.println("What Would You Like to Find Out? ");

    }
}

1 个答案:

答案 0 :(得分:0)

错误意味着您在编译.Do

时忘记放置.java

javac Management.java

Source