placeholder image to represent content

Inheritance and Interfaces

Quiz by S. F. Rodd

Feel free to use or edit a copy

includes Teacher and Student dashboards

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!

New Quizalize solo game modes
24 questions
Show answers
  • Q1
    An abstract can have concrete methods
    True
    False
    30s
    Edit
    Delete
  • Q2
    Can we create objects of Abstract class?
    No
    Yes
    30s
    Edit
    Delete
  • Q3
    Can we declare a variable of Abstract class type
    Yes
    No
    30s
    Edit
    Delete
  • Q4
    Can abstract class have a concrete method
    Yes
    No
    30s
    Edit
    Delete
  • Q5
    The key word used to define abstract class is
    Abstract
    abstract
    virtual
    final
    30s
    Edit
    Delete
  • Q6
    To define the abstract methods of the base class is _____________ for the derived class.
    Optional
    Mandatory
    30s
    Edit
    Delete
  • Q7
    Multiple inheritance is supported in Java
    NO
    YES
    30s
    Edit
    Delete
  • Q8
    Following type of inheritance not supported in Java for the classes
    Hierarchical
    Hybrid inheritance
    Multi-level
    Single
    30s
    Edit
    Delete
  • Q9
    The base class reference variable can point to sub-class object
    False
    True
    30s
    Edit
    Delete
  • Q10
    Abstract class reference variable can point to its subclass object
    False
    True
    30s
    Edit
    Delete
  • Q11
    Constructors are invoked from
    Subclass to base classes
    Any order
    Base class to subclasses
    None of these
    30s
    Edit
    Delete
  • Q12
    Base class in general will be
    Generic class
    Specialized class
    30s
    Edit
    Delete
  • Q13
    Interfaces contain
    Both abstract and concrete
    None of these
    Only abstract methods
    Only Concrete methods
    30s
    Edit
    Delete
  • Q14
    The default access to methods of interfaces is
    private
    public
    none of these
    protected
    30s
    Edit
    Delete
  • Q15
    All the methods of interfaces have to defined in the class that is implementing the interface
    False
    True
    30s
    Edit
    Delete
  • Q16
    interfaces can contain
    Only static data members
    None of these
    Non-static data members
    Both
    30s
    Edit
    Delete
  • Q17
    Can interfaces be extended ?
    No
    Yes
    30s
    Edit
    Delete
  • Q18
    Multiple inheritance is supported in interfaces
    False
    True
    30s
    Edit
    Delete
  • Q19
    Can an interface contain another interface within its body?
    Yes
    No
    30s
    Edit
    Delete
  • Q20
    The keyword to use an interface for a class is
    implement
    extend
    implements
    extends
    30s
    Edit
    Delete

Teachers give this quiz to your class