Leave a Reply 7

Your email address will not be published. Required fields are marked *


TC

TC

A – Option C

Kaykay

Kaykay

Definitely A – Option C.

Tomas

Tomas

Answer: A (Option C)

output:
[Lexam.Planet2;@2a139a55
exam.Planet2@15db9742
1

nick

nick

Answer: A (Option C)
To print array you should use java.util.Arrays.toString(planets), and to print one specific planet in readable format, class (Planet) should override toString() method