मराठी

Explain the Compilation of Java Programs.

Advertisements

प्रश्न

Explain the Compilation of Java Programs.

स्पष्ट करा
Advertisements

उत्तर

  • Compilation of Java Programs is the process of converting Java source code into bytecode using the Java compiler (javac). The Java source code is written in a file with the .java extension.
  • During compilation, the Java compiler checks the source code for syntax and other compile-time errors. If the program is free from compilation errors, the compiler generates a .class file containing bytecode.
  • This bytecode is platform-independent and can be executed on any system having a compatible Java Virtual Machine (JVM).

Thus, compilation converts Java source code into bytecode, which can be executed by the JVM.

shaalaa.com
  या प्रश्नात किंवा उत्तरात काही त्रुटी आहे का?
पाठ 6: Variables and Expressions - EXERCISE [पृष्ठ १३१]

APPEARS IN

धीरज मेहरोत्रा Computer Science [English] Class 12
पाठ 6 Variables and Expressions
EXERCISE | Q 25. (ii) | पृष्ठ १३१
Advertisements
Share
Notifications

Englishहिंदीमराठी


      Forgot password?
Use app×