Choose the correct option for the below statement:

The permits clause in record classes allows:

Specifying a set of interfaces that the record class implements.

Controlling access to the record class's constructor(s).

Defining a whitelist of subclasses that can extend the record class.

Associating the record class with a specific type hierarchy.

Verified Answer
Correct Option - c

To get all Infosys Certified Java SE 21 Developer Exam questions Join Group https://bit.ly/infy_premium_group

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