Erstellt von Nathan Hunsdale
vor mehr als 10 Jahre
|
||
Frage | Antworten |
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 |
Möchten Sie mit GoConqr kostenlos Ihre eigenen Karteikarten erstellen? Mehr erfahren.