Well, I get this error when compiled:
What did I miss?
Code:
C:\Documents and Settings\stevew\My Documents\Java test\Inventory2.java:217: 'class' or 'interface' expected else if(command.equals("Add Item")) { ^ C:\Documents and Settings\stevew\My Documents\Java test\Inventory2.java:220: 'class' or 'interface' expected } ^ C:\Documents and Settings\stevew\My Documents\Java test\Inventory2.java:377: 'class' or 'interface' expected ^ 3 errors Tool completed with exit code 1
Comment