+ 3

How to compile more than one java file with one commamd?

I need to compile more than one java file with calling only one time javac(java compiler). How can I do this?

26th Mar 2018, 12:44 PM
Amit Kumar Maurya
Amit Kumar Maurya - avatar
2 Answers
+ 3
thanks for your answers... i have done... i used javac A.java B.java C.java 🙏
27th Mar 2018, 1:41 AM
Amit Kumar Maurya
Amit Kumar Maurya - avatar
+ 2
Have you tried javac file1.java file2.java
26th Mar 2018, 5:50 PM
Ravi Chandra Enaganti
Ravi Chandra Enaganti - avatar