a. Explain the enum data type with an example program.
b. What is a dynamic array?
Explain what is meant by the terms instance variable and instance method. Also explain what is meant by the terms subclass and superclass. What is the relation between polymorphism and subclass?
(a) Enum or enumeration is a user defined datatype which is used to assign names to integral constants. For example:... View the full answer