0
what is the difference b/w .java and .jar extension why we use different extension for same programme ?
5 ответов
+ 1
Our Java file acts like a normal .cpp file in c++ . You have to compile and run it every time ,, whereas .jar file is an archive of Java programs . .jar file is like an exe file in windows .On double clicking it the program runs . JRE is important for .jar file to execute properly .
0
We don't. .java is a source file. .jar is a java archive of a program that can work like an .exe file for java.
0
how .java converted in to. jar ?
0
in eclipse you can right click the project and there should be an export option.
0
ohk thanks