मराठी

Explain the term Automatic Conversion.

Advertisements

प्रश्न

Explain the term Automatic Conversion.

स्पष्ट करा
Advertisements

उत्तर

  • Automatic Conversion in Java is the process of converting a value from one data type into another compatible data type automatically by the Java compiler, without requiring explicit instructions from the programmer. It is also known as Implicit Type Conversion or Widening Conversion.
  • This conversion generally occurs when a value of a smaller data type is assigned to a variable of a larger data type. It does not require a type casting operator and generally preserves the original value, although some precision may be lost.
shaalaa.com
  या प्रश्नात किंवा उत्तरात काही त्रुटी आहे का?
पाठ 6: Variables and Expressions - EXERCISE [पृष्ठ १३१]

APPEARS IN

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

Englishहिंदीमराठी


      Forgot password?
Use app×