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

1. A package cannot contain other packages.

2. Clients of a class can directly access the protected members of that class.

3. An instance of a superclass can be used anywhere an instance of its subclass is expected.

1. False.
2. False.
3. False.

Computer Science & Information Technology

You might also like to view...

Be careful not to place a statement that modifies the counter variable inside the body of a ____________.

a. while loop b. if statement c. for loop d. switch statement

Computer Science & Information Technology

A user communicates with __________ by typing brief, cryptic commands.

a. the IOCS b. a command line interface or shell c. the file system d. The premise of this question is false.

Computer Science & Information Technology