Given the source file A.java: Select the two correct answers. (a) Both class A and class B

Question:

Given the source file A.java:

image text in transcribed

Select the two correct answers.

(a) Both class A and class B will be placed in the package net.alphabet.

(b) Only class A will be placed in the package net.alphabet. Class B will be placed in the default package.

(c) Both class A and class B can access the imported class java.util.ArrayList by its simple name.

(d) Only class A can access the imported class java.util.ArrayList by its simple name.

Fantastic news! We've Found the answer you've been seeking!

Step by Step Answer:

Related Book For  book-img-for-question
Question Posted: