When you derive a class from an existing class, you

A) can add new data, but cannot add new functions.
B) can add new functions, but cannot add new data.
C) can add both new data and new functions.
D) must add both new data and new functions.
E) None of the above


C) can add both new data and new functions.

Computer Science & Information Technology

You might also like to view...

Two methods that are expected to be in all Java classes are:

(a) getName and setName (b) toString and equals (c) compareTo and charAt (d) toLowerCase and toUpperCase

Computer Science & Information Technology

The amount of space between a control's border and other controls is called ________

A) clearance B) padding C) the buffer D) white space

Computer Science & Information Technology

When should you use instance variables, parameters, and local variables? List at least one mistake that you can make when misusing one type of variable for another.

What will be an ideal response?

Computer Science & Information Technology

Between 2001 and 2016, significant gains were made in global ICT use, with the highest gains in desktop computer purchases.

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

Computer Science & Information Technology