If there is no loss of efficiency in importing an entire Java package instead of importing only classes you use into your program, why would you not just import the entire package?

What will be an ideal response?


Importing only the classes you need into your program makes your program easier to read as well as aiding in documenting the program. Program readability is very important since humans read computer programs, too.

Computer Science & Information Technology

You might also like to view...

Open source software refers to software that is free of charge

Indicate whether the statement is true or false

Computer Science & Information Technology

Digital coding techniques such as binary with eight-zero substitution (B8ZS) are becoming more popular because they are designed to

a. provide error-free signaling. b. operate at higher data rates. c. eliminate bipolar violations. d. maintain ones density standards.

Computer Science & Information Technology

Fixed layouts are appropriate for webpages used in controlled environments such as those created for a specific purpose within an internal company intranet.?

Answer the following statement true (T) or false (F)

Computer Science & Information Technology

If the paragraph element's margin-top value is 15px and margin-bottom value is 25px, the browser sets the vertical margin between paragraphs to ____ pixels.

A. 10 B. 15 C. 25 D. 40

Computer Science & Information Technology