• Call Us : 03082533000 (WhatsApp)
  • Email Us : TestPointpk.com@gmail.com
Sticky Note
Which type of inheritance is not supported by Java:
  1. Single inheritance
  2. Multiple inheritance
  3. Multilevel inheritance
  4. None of these
Explanation

In Java, a class cannot inherit from more than one superclass to avoid ambiguity.

However, it does support single inheritance, multilevel inheritance, and hierarchical inheritance.

To achieve some aspects of multiple inheritance, Java uses interfaces, allowing a class to implement multiple interfaces.

Related MCQs

ہارمونز کس چیز سے بنتے ہیں؟
  1. Growth & development
  2. Growth & reproduction
  3. Nutrition
  4. None of these
اس سوال کو وضاحت کے ساتھ پڑھیں

نطفہ کے ذریعہ بیضوی کی کھاد عام طور پر _____ میں ہوتی ہے؟
  1. Fallopian tubes
  2. Uterus
  3. Vagina
  4. None of these
اس سوال کو وضاحت کے ساتھ پڑھیں

وہ عضو کون سا ہے جو منہ کو معدے سے جوڑتا ہے؟
  1. Lungs
  2. Esophagus
  3. Trachea
  4. None of these
اس سوال کو وضاحت کے ساتھ پڑھیں

پیدائش کے وقت موجود قوتِ مدافعت کو کیا کہتے ہیں؟
  1. Innate
  2. Adaptive
  3. Passive
  4. None of these
اس سوال کو وضاحت کے ساتھ پڑھیں

زیادہ تر یک خلوی خودغذائی اور غیر خودغذائی جاندار کس مملکت سے تعلق رکھتے ہیں؟
  1. Plantae
  2. Protista
  3. Monera
  4. None of these
اس سوال کو وضاحت کے ساتھ پڑھیں

All Rights Reserved © TestPointpk.com