Which of the following is false?

a. Method finalize does not take parameters and has return type void.
b. Memory leaks using Java are rare because of automatic garbage collection.
c. Objects are marked for garbage collection by method finalize.
d. The garbage collector reclaims unused memory.


c. Objects are marked for garbage collection by method finalize. (Objects are marked for garbage collection when there are no more references to the object).

Computer Science & Information Technology

You might also like to view...

What is displayed on the right side of the Start menu?

A) pinned and recently used programs B) name of the current user and list of installed programs C) programs always displayed on the Start menu D) personal folders and common functions and commands available in Windows

Computer Science & Information Technology

________ blocks are reusable pieces of content or other document parts, for example, headers

Fill in the blank(s) with correct word

Computer Science & Information Technology

The only requirement in creating more than one function with the same name is that the compiler must be able to determine which function to use on the basis of the ____ of the parameters.

A. length B. complexity C. usability D. data type

Computer Science & Information Technology

A(n) _______________ is a presentation in which the audience signs in to a shared view of the presenter's computer screen and calls in to a conference call to hear the presenter over the telephone line.

Fill in the blank(s) with the appropriate word(s).

Computer Science & Information Technology