Question 73 of 76 from exam 1Z0-808: Java SE 8 Programmer I

Question 73 of 76 from exam 1Z0-808: Java SE 8 Programmer I

Question

Given the following classes:

public class Employee {
public int salary;
d

public class Manager extends Employee {
public int budget;
}

public class Director extends Manager {
public int stockoptions;
}

And given the following main method

public static void main(string[] args) {
Employee employee = new Employee ();
Manager manager = new Manager ();
Director director = new Director ();
ffline nl

Which two options fail to compile when placed at line n1 of the main method?

Answers

Explanations

Click on the arrows to vote for the correct answer

A. B. C. D. E. F.

CE.