Computer Science, asked by Sanjay2031, 1 year ago

The import keyword allows you to access classes of the package without package fully qualified name. true or false? mark for review (1) points

a. true

b. false

Answers

Answered by Anonymous
0
The import keyword allows you to access classes of the package without package fully qualified name. true.
Answered by hotelcalifornia
0

Answer:

False. The "import keyword" DOES NOT allow you to "access classes of the package" without "package fully qualified name". Using import allows user to reference "in-built or user defined packages" and classes within a program. However, to do so following is the syntax:

import packageName.

Thus, it is required that a "fully qualified package name" is specified along with import key word. Also, specific classes from a give package can be imported by specifying the class name import packageName.className

Similar questions