(ii) What is the use of the keyword import
?
Views 16
Answer:
The import
keyword is used in Java to include the classes and interfaces from other packages so that they can be used in the current program. This allows the programmer to access the standard library classes or classes from user-defined packages without needing to use their fully qualified names.
Related Articles:
This section is dedicated exclusively to Questions & Answers. For an in-depth exploration of Java Programming Language, click the links and dive deeper into this subject.
Join Our telegram group to ask Questions
Click below button to join our groups.