Which keyword is used for accessing the features of a package?
A. package
B. import
C. extends
D. export
Answer:B
Which keyword is used for accessing the features of a package?
A. package B. import C. extends D. export
Explanation: The import keyword is used to access the classes and interfaces of a particular package to the current file. In other words, it is used to import the user-defined and built-in classes and interfaces into the source file of java so that the current file can easily access the other packages by directly using its name. For example,