can i compile a java file using classpath and that java file is present in some other directory

I had a java file which need to be compiled and it was present in some other directory, i can compile it simply by specifying the full path where the java file is located but my problem is can i compile it by mentioning path to that java file in classpath

Your Answer

Yes, you can compile a java file using classpath to compile a file that is present in some other location. Even I will suggest you java training if you are fresher in this field. Here you can join Cetpa Infotech which gives you Best Java Training in Noida.

Core Java

Didn't get the answer.
Contact people of Talent-Core Java directly by clicking here