Which of the following statements declares Salaried as a subclass of PayType?

a. public class Salaried implements PayType
b. public class PayType derives Salaried
c. public class Salaried extends PayType
d. public class Salaried derivedFrom(PayType)



c. public class Salaried extends PayType

Computer Science & Information Technology

You might also like to view...

What is the output of the following code?

``` #include using namespace std; void f(double &p) { p += 2; } int main() { double x = 1; double y = 1; f(x); f(y); cout << "x is " << x; cout << " y is " << y << endl; return 0; } ``` a. x is 1 y is 2 b. x is 2 y is 1 c. x is 1 y is 1 d. x is 2 y is 2 e. x is 3 y is 3

Computer Science & Information Technology

What technology can be used to locate a device such as a laptop after it has been stolen?

A. Management software B. LoJack C. Trojan D. Multifactor Trace software

Computer Science & Information Technology

To use Internet Explorer without an Internet connection, use:

A) the Work Offline command. B) the Explorer Off option. C) the No Internet option. D) the Work Online command.

Computer Science & Information Technology

A(n) ____ is a physical piece of hardware.

A. device B. interface C. kernel module D. user space driver

Computer Science & Information Technology