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

1. You should avoid the use of null as an argument to a method.
2. The String class is a mutable class.
3. To use a package, the program must contain an import statement that names the package.
4. Deprecated methods should be used in new Java code.


1. False
2. False
3. True
4. False

Computer Science & Information Technology

You might also like to view...

A(n) ________ is a note in the document that refers the reader to a source in the bibliography

Fill in the blank(s) with correct word

Computer Science & Information Technology

A counter is always incremented by a constant value.

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

Computer Science & Information Technology

Typically, how long are patch cables?

A. One to two feet B. Two to three feet C. Two to five feet D. Four to six-feet

Computer Science & Information Technology

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

1. If B is a base class of D, then D’s members cannot access the private data members of B without regard to the kind of inheritance. 2. If B is a base class of D, then D’s members cannot invoke private member functions of B without regard to the kind of inheritance.

Computer Science & Information Technology