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

1. You cannot assign a base class reference to a derived class variable.
2. A method that accepts a base class variable as a parameter cannot accept a derived class variable as a parameter.
3. A class that is not intended to be instantiated but is to be used only as a base class is called a concrete class.
4. A statement that tries to use the new operator instantiate an abstract class will not compile.
5. If you want to create an abstract read-only property, leave out the set accessor.


1. TRUE
2. FALSE
3. FALSE
4. TRUE
5. TRUE

Computer Science & Information Technology

You might also like to view...

The special parameter "$@" is referenced twice in the out script (page 425). Explain what would be different if the parameter "$*" were used in its place.

What will be an ideal response?

Computer Science & Information Technology

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

1. The Linux process model closely resembles the UNIX process model, but it must call the clone utility to create a process. 2. A Linux process can be divided into multiple threads, where a thread is a basic unit of work that can be executed and is interruptible. 3. Linux is designed to run on several different architectures, so it uses an architecture independent three-level set of page tables for translating virtual addresses to physical addresses. 4. The native Linux file system, NTFS, resembles the standard UNIX model and can support additional file systems such as Fat32 (Windows) and HFS+ (Macintosh). 5. The Linux logical volume manager allows a user to combine two or more physical disks to create a volume group, a virtual disk that can be partitioned into logical volumes upon which file systems can be built.

Computer Science & Information Technology

To validate HTML code, use the Window > ____ > Validation command.

A. Results B. Tools C. Test D. Options

Computer Science & Information Technology

The following graph shows the sunset times for Seward, Alaska. Use the graph to solve problem. Approximate the time of sunset on September 1.

A. 6:30 p.m. B. 8:30 p.m. C. 8:00 p.m. D. 7:00p.m. E. 6:00 p.m.

Computer Science & Information Technology