How does inheritance work with record classes?

All record classes inherit from a common base record class.

Record classes can only inherit from other record classes.

Record classes inherit from the Object class by default.

Inheritance behavior for record classes is the same as for regular classes.

Verified Answer
Correct Option - d

To get all Infosys Certified Java SE 21 Developer Exam questions Join Telegram Group https://rebrand.ly/lex-telegram-236dee

Telegram