Which two options fail to compile when placed at line n1 of the main method?
Given the following classes: public class Employee { public int salary; } public class Manager extends Employee { public int budget; } public class Director extends Manager { public int stockOptions; } And given the following main method: public static…