Qtr No. 213, New Town Yehlanka Indore 454775
Assuming the following classes are declared as top-level types in the same file, which classes contain compiler errors? (Choose exactly two correct Options)
sealed class Employee
{
public final class Permanent extends Employee {}
}
sealed class PartTime {}
class Employee1 extends PartTime {}
non-sealed class DailyWager extends PartTime {}
sealed class Friend extends DailyWager permits PermEmpl {}
final class PermEmpl {}
Employee
PartTime
Employee1
DailyWager
To get all Infosys Certified Java SE 17 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