Importing

Description

Masters of Science Programming 1 Flashcards on Importing, created by Nathan Hunsdale on 04/06/2014.
Nathan Hunsdale
Flashcards by Nathan Hunsdale, updated more than 1 year ago
Nathan Hunsdale
Created by Nathan Hunsdale over 11 years ago
158
0

Resource summary

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
Show full summary Hide full summary

Similar