Given the following class, which of these alternatives are valid ways of referring to the class from
Question:
Given the following class, which of these alternatives are valid ways of referring to the class from outside of the package net.basemaster?
Select the two correct answers.
(a) By simply referring to the class as Base
(b) By simply referring to the class as basemaster.Base
(c) By simply referring to the class as net.basemaster.Base
(d) By importing with net.basemaster.*, and referring to the class as Base
(e) By importing with net.*, and referring to the class as basemaster.Base
Fantastic news! We've Found the answer you've been seeking!
Step by Step Answer:
Related Book For
Programmers Guide To Java SE 8 Oracle Certified Associate OCA
ISBN: 9780132930215
1st Edition
Authors: Khalid Mughal, Rolf Rasmussen
Question Posted: