Multiple choice technology programming languages

When assigning a value to a reference variable, type doesn't matter.

  1. True

  2. False

Reveal answer Fill a bubble to check yourself
B Correct answer
Explanation

Java is a strongly typed language that strictly enforces type compatibility during reference variable assignments. A reference variable can only point to an object of its declared class type or one of its subclasses, so type definitely matters.