• 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. Hacking
    2. Phishing
    3. Cracking
    4. Formatting
    اس سوال کو وضاحت کے ساتھ پڑھیں

    معیاری اے ایس سی آئی آئی میں کتنے حروف ہوتے ہیں؟
    1. 28
    2. 1024
    3. 512
    4. 128
    5. 928
    اس سوال کو وضاحت کے ساتھ پڑھیں

    سادہ زبان کو مشینی زبان میں تبدیل کرنے کے عمل کو کیا کہتے ہیں؟
    1. Compiler
    2. Modem
    3. Interpreter
    4. Translator
    اس سوال کو وضاحت کے ساتھ پڑھیں

    1. Serial advanced technic attachment
    2. Serial advanced technology attachment
    3. Serial advised technology attachment
    4. None of these
    اس سوال کو وضاحت کے ساتھ پڑھیں

    1. Syntax Error
    2. Logical error
    3. Both A and B
    4. None of these
    اس سوال کو وضاحت کے ساتھ پڑھیں

    All Rights Reserved © TestPointpk.com