When compiling a class in a package,the javac command-line option ________ causes the javac compiler to create appropriate directories based on the class's package declaration.
A) -p.
B) -a.
C) -d.
D) -dir.
Correct Answer:
Verified
Q21: Which syntax imports all static members of
Q22: By default,the classpath consists only of the
Q24: The import declaration import java.util.*;is known as
Q24: When no access modifier is specified for
Q25: A final field should also be declared
Q26: A package is:
A)A directory structure used to
Q27: A class within a package must be
Q28: The import declaration import *;_.
A)causes a compilation
Q29: The classpath consists of a list of
Q30: Instance variables declared final do not or
Unlock this Answer For Free Now!
View this answer and more for free by performing one of the following actions
Scan the QR code to install the App and get 2 free unlocks
Unlock quizzes for free by uploading documents