Created by Nathan Hunsdale
over 10 years ago
|
||
Question | Answer |
What does an import statement enhance for the program? How? | Functionality It can import packages with specified functionality that you can optionally import |
Importing Classes It is good to import a package member(java.util.Scanner;), but why is it not good to import the whole package(java.util.*)? | Uses unnecessary memory and resources and makes the end file bigger |
Importing Classes You can import a utility class and it can be ready to use without declaration because the function is declared internally as ______ | static |
Want to create your own Flashcards for free with GoConqr? Learn more.