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

We're passionate about offering best placement materials and courses!! A one stop place for Placement Materials. We daily post Offcampus updates and Placement Materials.

Qtr No. 213, New Town Yehlanka Indore 454775

admin@prepflix.in

Updated on Tue, 14 Oct 2025