Course Code cit383 Question Inheritance allows classes to be arranged into hierachy known as ___ relationship between super class and subclass. Answer is-a Question One of the advantages of inheritance is that it ___. Answer makes design cleaner Question The major issue of exposing internal data and method of object is ___. Answer all the above Question ___ is the OOP concept of hiding the implementation details of a class and allowing access to the class through a public interface. Answer Encapsulation Question Pure object-oriented programming utilises ___ for message passing. Answer dynamic dispatch strategy Question An example of message passing styles is __. Answer flow-based programming Question Which of these is a type of polymorphism? Answer overloading Question The OOP concept where method to be invoked is determined at runtime is known as ___. Answer all the above Question How many abstract method(s) could a class contain to make it an abstract class? Answer at least 1 Question The maximum number of superclass (es) that subclass could extend in Java is (are) ___. Answer 1 Try Another Search
Comments