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

1. In C++ polymorphism is very difficult to achieve unless you also use inheritance.
2. Static binding occurs when the compiler binds a function call at compile time.
3. Pointers to a base class may be assigned the address of a derived class object.
4. The C++ mechanism for exception handling encloses code that might throw an exception in a try block and puts exception handling code in catch blocks attached to the try block.
5. If an exception is not caught, it is stored for later use.

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

Computer Science & Information Technology

You might also like to view...

You can convert text that has already been typed into a(n) ________ graphic

A) Clip Art B) SmartArt C) Illustrated D) WordArt

Computer Science & Information Technology

Explain how the complementary strategies of resistance, recognition, recovery and reinstatement may be used to provide system resilience.

What will be an ideal response?

Computer Science & Information Technology