Oracle Java Foundations 1z0-811 Question # 8 Topic 1 Discussion

Oracle Java Foundations 1z0-811 Question # 8 Topic 1 Discussion

1z0-811 Exam Topic 1 Question 8 Discussion:
Question #: 8
Topic #: 1

Given the classes:

1z0-811 Question 8

Which two modifications, independently, enable the Salad.java file to compile?


A.

Replace line n1 with import fruits.Apple.getApple();


B.

Replace line n1 with import fruits.Apple;


C.

Replace line n1 with import fruits;


D.

Replace line n2 with fruits.Apple apple = new Apple ();


E.

Replace line n2 with fruits.Apple apple = new fruits.Apple ();


Get Premium 1z0-811 Questions

Contribute your Thoughts:


Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.