• 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. ATP
  2. AMP
  3. ADP
  4. None of the above
اس سوال کو وضاحت کے ساتھ پڑھیں

انسانی جسم کا معمول کا درجہ حرارت 98.6 ڈگری فارن ہائیٹ کتنے ڈگری سیلسیس کے برابر ہے؟
  1. 55°C
  2. 42°C
  3. 37°C
  4. None of these
اس سوال کو وضاحت کے ساتھ پڑھیں

انسانی جسم کا سب سے بڑا عضو کونسا ہے؟
  1. Skin
  2. Digestive tract
  3. Liver
  4. Brain
اس سوال کو وضاحت کے ساتھ پڑھیں

اینٹی جن کیا ہوتا ہے؟
  1. A substance that triggers an immune response.
  2. A substance that produces energy.
  3. A substance that carries oxygen.
  4. None of these
اس سوال کو وضاحت کے ساتھ پڑھیں

کون سے خلیات بنیادی طور پر اینٹی باڈیز پیدا کرنے کے ذمہ دار ہوتے ہیں؟
  1. Plasma cells
  2. Neutrophils
  3. Natural killer cells
  4. Erythrocytes
اس سوال کو وضاحت کے ساتھ پڑھیں

All Rights Reserved © TestPointpk.com