adplus-dvertising
frame-decoration

Question

What is the default value of float or double data type elements of an array in Java?

a.

0

b.

0.0

c.

1

d.

1.0

Answer: (b).0.0

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

Q. What is the default value of float or double data type elements of an array in Java?