मराठी

Explain the Linking of Java Programs.

Advertisements

प्रश्न

Explain the Linking of Java Programs.

स्पष्ट करा
Advertisements

उत्तर

Linking of Java Programs is the process of connecting the compiled Java bytecode with the required classes and libraries during program execution. It is performed by the Java Virtual Machine (JVM) after the required classes are loaded into memory.

The linking process mainly involves three stages:

  1. Verification: The JVM checks the bytecode to ensure that it is valid and follows Java's security rules.
  2. Preparation: Memory is allocated for static variables, and they are assigned their default values.
  3. Resolution: Symbolic references to classes, methods and fields are converted into direct references.
shaalaa.com
  या प्रश्नात किंवा उत्तरात काही त्रुटी आहे का?
पाठ 6: Variables and Expressions - EXERCISE [पृष्ठ १३१]

APPEARS IN

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

Englishहिंदीमराठी


      Forgot password?
Use app×