I created two java files: Pizza.Java
and PizzaOrder.Java
.
I tried compiling my code using javac in the command prompt like this:
U need to set ur path in ur computer.first copy of ur bin path(c:/programfiles/java/jdk1.7/bin) then go to ur computer properties->advanced system settings->Environment variables then click new then type path in name and paste it with semicolons front and back(;c:/programfiles/java/jdk1.7/bin;).... then it will run.....