|
You can use spaces in your file name:
Lab4 Inventory.java
if Lab4 is a directory then make sure you put a slash there. Also your filename must match the class name of your main method(to include capitalization. In other words if you are compiliing:
javac Inventory.java
then you should have a class defined in your file like so:
class Inventory{
public static void main(String[] bean){
}//end main
}//end Inventory
__________________
Spookster
CodingForums Supreme Overlord
All Hail Spookster
Who gave you that Ugging infraction? Yeah that's right it was me!
|