Results 1 to 2 of 2
Thread: illegal start of expression
- 05-03-2011, 03:34 AM #1
Member
- Join Date
- Apr 2011
- Posts
- 11
- Rep Power
- 0
illegal start of expression
Hi,
Im using netbeans and i keep getting a illegal start of exspression error alert ive made the line red
heres surrounding code;
public class Main {
public static void main(String[] args) {
private final static String[] mainMenuOpts = {"Students","Lecturers","Admin","Exit"};
private final static String[] studentMenuOpts = {"Add Student","List all Students","Find a Student","Return to Main Menu"};
private Menu mainMenu = new Menu("MAIN MENU",mainMenuOpts);
private Menu studentMenu = new Menu("STUDENT MENU",studentMenuOpts);
private DataStore data = new DataStore();
private java.io.PrintStream out = System.out;
private ReadKb reader = new ReadKb();
/** Creates a new instance of Main */
public Main() {
run();
}
- 05-03-2011, 04:46 AM #2
Similar Threads
-
Illegal start of expression
By lodaSchitt in forum New To JavaReplies: 2Last Post: 04-28-2011, 10:04 PM -
Need help with illegal start of expression
By WhopperMan in forum New To JavaReplies: 4Last Post: 10-10-2010, 02:58 AM -
illegal start of expression
By rajivjoshi in forum New To JavaReplies: 3Last Post: 05-31-2010, 09:12 AM -
Illegal Start of an Expression
By ddatta8 in forum New To JavaReplies: 3Last Post: 12-20-2008, 08:40 PM -
Illegal Start of Expression
By vince425 in forum New To JavaReplies: 3Last Post: 10-18-2008, 07:41 AM


LinkBack URL
About LinkBacks
Reply With Quote.gif)

Bookmarks