publisher-subscriber model.docx - 1 d C A multiple...

This preview shows page 1 - 2 out of 2 pages.

1. d. C++ A multiple inheritage happens when a class inherits other basic classes. This enables the class to inherit several base class attributes using various heritages ( Erinfolami & Prakash, 2019) . This is a core feature of OOP languages like C++. 2. b. Abstract Class and c. Interface You cannot construct an abstract class object since the implementation is not complete. Abstract class is much like a class shell. Also, interfaces have abstract methods which are generally incomplete hence we can’t create an object in interfaces. 3. b. 2 4. C. code to force users' action The Publish/Subscribe model is an architectural design that provides a mechanism to exchange messages among publisher and subscriber ( Ananthakrishnan et al,. 2020) . The author and user are based on this pattern and use a message courier that passes information. The user is forced to

  • Left Quote Icon

    Student Picture

  • Left Quote Icon

    Student Picture

  • Left Quote Icon

    Student Picture