Multiple choice technology programming languages

When an array is constructed,are its elements automatically initialized?

  1. True

  2. False

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

In Java, when an array is constructed, its elements are automatically initialized to their default values (e.g., 0 for numeric types, false for booleans, and null for object references).