Question 47 of 130 from exam 1Z0-809: Java SE 8 Programmer II

Question 47 of 130 from exam 1Z0-809: Java SE 8 Programmer II

Question

Given:

public final class Cream {
public void prepare() {}
B
public class Cake extends Cream{
public void bake(int min, int temp) {}
public void mix()  {}
B
public class Shop {
private Cake c = new Cake ()7
private final double discount = 0.25;
public void makeReady () { c¢.bake(10, 120); }
B
public class Bread extends Cake {
public void bake(int minutes, int temperature)
public void addToppings() {}

t

Which statement is true?

Answers

Explanations

Click on the arrows to vote for the correct answer

A. B. C. D. E.

E.