0

This is what the error had displayed: Error: Class 'Management' are only accepted if annotation processing is explicitly requested (What does that mean? also I'm a beginner)

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? ");

    }
}
steven35
  • 3,747
  • 3
  • 34
  • 48
Alex S
  • 1
  • 1
  • Duplicate of http://stackoverflow.com/questions/5063266/javac-error-class-names-are-only-accepted-if-annotation-processing-is-explicitl – gilleain Mar 25 '15 at 17:27

1 Answers1

0

The error means you forget to put .java when compiling .Do

javac Management.java

Source

singhakash
  • 7,891
  • 6
  • 31
  • 65