Answer the following statements true (T) or false (F)
1. Objects of unrelated classes that implement the same interface can respond to the method calls of that interface polymorphically.
2.. If a class leaves one method in an interface undeclared, the class is implicitly declared by Visual Basic as a MustInherit class.
3. An interface is typically used in place of a MustInherit class when there is no default implementation to inherit.
4. Declaring an interface Protected allows for extra security precautions.
5. A class that implements an interface must define all methods and properties of that interface.
1. True.
2. False. A class that leaves one method in an interface undeclared must explicitly be
declared MustInherit in the first line of its class declaration.
3.True.
4. False. Declaring an interface Private or Protected is an error.
5. True.
You might also like to view...
Programming Languages
What will be an ideal response?
You can use a maximum of ________ numbered button(s) in addition to the + and - buttons to expand and collapse an outline
A) one B) two C) three D) four