Paper Tayyari

Lecture 5: Inheritance

MCQs, short and long questions from lecture 5.Lecture 5 ki MCQs, short aur long sawal.

1 MCQ · 1 MCQ from past papers1 MCQ · 1 MCQ past papers se

Start mock testMock test shuru karein
DoneHal kiye 0/1
– correctsahi
1.
★ Midterm past paper

Which of the following is used for inheritance in java?

  1. Aimplements
  2. Bextends
  3. C: (colon)
  4. Dinherit

A class inherits from another class with the extends keyword.