0

Running java in command prompt?

As I am new at this whenever I am typing, javac file_name. It just creates a new class with the file_name. and is not running the code. Please help me out of this so that run my program.

30th Jul 2018, 5:04 PM
Mohammed Ruknuddin
1 Answer
0
javac compiles your program java launches it Just run: java file_name
30th Jul 2018, 5:26 PM
Mishin870
Mishin870 - avatar