Inheritance and Interfaces
Quiz by S. F. Rodd
Feel free to use or edit a copy
includes Teacher and Student dashboards
Measure skillsfrom any curriculum
Measure skills
from any curriculum
Tag the questions with any skills you have. Your dashboard will track each student's mastery of each skill.
With a free account, teachers can
- edit the questions
- save a copy for later
- start a class game
- view complete results in the Gradebook and Mastery Dashboards
- automatically assign follow-up activities based on students’ scores
- assign as homework
- share a link with colleagues
- print as a bubble sheet
Our brand new solo games combine with your quiz, on the same screen
Correct quiz answers unlock more play!
24 questions
Show answers
- Q1An abstract can have concrete methodsTrueFalse30sEditDelete
- Q2Can we create objects of Abstract class?NoYes30sEditDelete
- Q3Can we declare a variable of Abstract class typeYesNo30sEditDelete
- Q4Can abstract class have a concrete methodYesNo30sEditDelete
- Q5The key word used to define abstract class isAbstractabstractvirtualfinal30sEditDelete
- Q6To define the abstract methods of the base class is _____________ for the derived class.OptionalMandatory30sEditDelete
- Q7Multiple inheritance is supported in JavaNOYES30sEditDelete
- Q8Following type of inheritance not supported in Java for the classesHierarchicalHybrid inheritanceMulti-levelSingle30sEditDelete
- Q9The base class reference variable can point to sub-class objectFalseTrue30sEditDelete
- Q10Abstract class reference variable can point to its subclass objectFalseTrue30sEditDelete
- Q11Constructors are invoked fromSubclass to base classesAny orderBase class to subclassesNone of these30sEditDelete
- Q12Base class in general will beGeneric classSpecialized class30sEditDelete
- Q13Interfaces containBoth abstract and concreteNone of theseOnly abstract methodsOnly Concrete methods30sEditDelete
- Q14The default access to methods of interfaces isprivatepublicnone of theseprotected30sEditDelete
- Q15All the methods of interfaces have to defined in the class that is implementing the interfaceFalseTrue30sEditDelete
- Q16interfaces can containOnly static data membersNone of theseNon-static data membersBoth30sEditDelete
- Q17Can interfaces be extended ?NoYes30sEditDelete
- Q18Multiple inheritance is supported in interfacesFalseTrue30sEditDelete
- Q19Can an interface contain another interface within its body?YesNo30sEditDelete
- Q20The keyword to use an interface for a class isimplementextendimplementsextends30sEditDelete