In a linked list implementation using a reference first to point to the first node of the list, a method isEmpty() can test to see if the list is empty by executing the statement(s)

A) return null;
B) first = null; return first;
C) if (isEmpty()) return true; else return false;
D) return first == null;


D) return first == null;

Computer Science & Information Technology

You might also like to view...

The ________ statement sets the string comparison method for the module

A) Option Compare B) Code window C) Declarations D) Project Explorer

Computer Science & Information Technology

One or more pages can be viewed without scrolling by:

A) adjusting the zoom level. B) changing the settings in the Print/Print Preview dialog box. C) changing the settings in the Word Options dialog box. D) doing nothing (the program automatically adjusts page views).

Computer Science & Information Technology

The only way to find similarly formatted text and reformat it is to use Find and Replace

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

Computer Science & Information Technology

Playing games during lunch break might be acceptable use of Internet for some companies but unacceptable to others

Indicate whether the statement is true or false.

Computer Science & Information Technology