Joined
Last Seen
0 Reputation Points
Unknown Quality Score
No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
0 Endorsements
Ranked #107.41K
i am new to java and i am getting"cannot find symbol-variable data"please help here is my code import java.io.*; class categories { void options()throws IOException { int a; System.out.println("The categories available are"); System.out.println("1.Fantasy"); System.out.println("2.Fiction"); System.out.println("3.Inspirational"); System.out.println("4.Mystery"); System.out.println("5.Comics"); System.out.println( ); System.out.println("enter your choice"); data=stdin.readLine(); a=Integer.parseInt(data); switch(a) { case 1:System.out.println("1.The vampie academy … |