Answer the following statements true (T) or false (F)
1. A class with MustOverride methods does not necessarily have to be a MustInherit class.
2. An abstract class cannot have instance data and non-abstract methods.
3. Attempting to instantiate an object of an abstract class is a logic error.
4. All objects of a class are guaranteed to provide the functionality described by any interface that the class implements.
5. An interface describes a set of methods that can be called on an object and it provides concrete implementations for the methods.
1. False. A class with MustOverride methods must be declared MustInherit.
2. False. An abstract class can have instance data and non-abstract methods.
3. False. This is a compilation error.
4. True.
5. False. An interface describes a set of methods that can be called on an object but it does
not provide concrete implementations for the methods.
You might also like to view...
Java performs automatic __________ of objects that are no longer referenced in a program.
a. memory distribution. b. garbage collection. c. storage compression. d. trash aggregation.
A(n) ________ is a special type of query that can be created when you want to describe one number in terms of two other numbers
Fill in the blank(s) with correct word
In Photoshop, you can double-click or double-tap a slice like the ones in the accompanying figure to open the ____________________ dialog box where you can set values associated with a hyperlink slice.
Fill in the blank(s) with the appropriate word(s).
__________ Law applies to a queuing system.
Fill in the blank(s) with the appropriate word(s).