QuestionQ2
Working with InheritanceGiven these classes:

and this main method:

Which two options compile when placed at line n1 in the main method?
Choose two
- A director.stockOptions = 1_000;
- B employee.salary = 50_000;
- C manager.budget = 1_000_000;
- D manager.stockOption = 500;
- E employee.budget = 200_000;
- F director.salary = 80_000;
Community Discussion