Vincent Edomwonyi wrote:Hi all,
i need to be able to compile and run code (confirmation) as i read my headfirst java.
I need help on how to get it.
does that mean that you have not tried to compile and execute the program yet?
and yes,
to compile the java program
use : javac filename.java
now after successful compilation we get a class file called filename.class
to execute the program
use: java filename
hope this helps
SCJP 6 [86%], OCPWCD [84%], OCEJPAD [83%]
If you find any post useful, click the "plus one" sign on the right