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

1. A copy constructor and a clone method should normally make a deep copy whenever possible.

2. If you define a clone method, the class should implement the Cloneable interface.


1. True
2. True

Computer Science & Information Technology

You might also like to view...

In a GUI program, a user can __________ on his or her choice using a mouse.

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

Computer Science & Information Technology

Sometimes called ________, nonprinting characters are not displayed on the screen by default

A) formatting marks B) paragraph formatting C) views D) PDFs

Computer Science & Information Technology

Redundancy in databases is a desirable characteristic

Indicate whether the statement is true or false

Computer Science & Information Technology

Reports based on parameter queries display the same subset of data each time it is run

Indicate whether the statement is true or false

Computer Science & Information Technology