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...
Files in .png and .gif format are vector-based images
Indicate whether the statement is true or false
This identifies a location in the document for future reference
a. Data locator b. Bookmark c. Detector
Why is it easier to deal with a customer in person than on the phone?
A) You can make an easier judgment about their computer problem. B) You can see whether she is telling the truth. C) You can ensure the message has been received. D) You can use body language to convey your message.
When we dequeue the last item from a queue, we must explicitly set the _____ pointer to null.
A. front B. top C. head D. rear