• Call Us : 03082533000 (WhatsApp)
  • Email Us : TestPointpk.com@gmail.com
Sticky Note
What happens if a single interface contains too many unrelated methods?
  1. Easier to implement
  2. Violates interface segregation principle
  3. Improves performance
  4. No effect
Explanation
  • The Interface Segregation Principle (ISP) states that clients should not be forced to depend on methods they do not use.
  • If an interface has too many unrelated methods, it becomes difficult to implement and maintain.
  • Clients may be forced to implement methods that are irrelevant to them.
  • Related MCQs

    براؤزر کے پہلے صفحے کے نام سے جانا جاتا ہے؟
    1. Homepage
    2. Browser
    3. Cookie
    4. None
    اس سوال کو وضاحت کے ساتھ پڑھیں

    اینگلر کس چیز کا فریم ورک ہے؟
    1. Php
    2. javaScript.
    3. Python
    4. None of these
    اس سوال کو وضاحت کے ساتھ پڑھیں

    وہ پروسیسر یونٹ جو کمپیوٹر کے تمام آپریشنز کو کنٹرول، ہم آہنگ اور ہدایات دیتا ہے، اسے کیا کہتے ہیں؟
    1. Cache memory
    2. Arithmetic unit
    3. Control unit
    4. None of these
    اس سوال کو وضاحت کے ساتھ پڑھیں

    ایرک کیا ہے؟
    1. Plagiarism technique in research
    2. Database in education
    3. Software
    4. None of these
    اس سوال کو وضاحت کے ساتھ پڑھیں

    ریم سے کیا مراد ہے؟
    1. Random Access Memory
    2. Random Access Money
    3. Random Accurate Memory
    4. None of these
    اس سوال کو وضاحت کے ساتھ پڑھیں

    Leave a Reply

    Your email address will not be published. Required fields are marked *

    1 + 2 = ?



    All Rights Reserved © TestPointpk.com