ITSC 1213 ACTUAL FINAL EXAM QUESTIONS AND
ANSWERS SET A+
✔✔What is inheritance? - ✔✔Part of OOP in java that lets you create classes that share
attributes with existing classes.
✔✔What is the inheriting class called?
What is the original class called? - ✔✔A subclass or a child class.
A parent
✔✔What keyword is used to define a new class that inherits properties from an old
class? - ✔✔extends keyword
✔✔Two examples of polymorphism are: - ✔✔Method overriding and method
overloading
✔✔A method that override a superclass method: - ✔✔Cannot have a more restrictive
access than the original method
✔✔What is the default access if no access to a class member is specified? -
✔✔package
✔✔What is the most restricted access to a class member? - ✔✔private
✔✔What is the least restrictive access to a class member? - ✔✔public
✔✔What access specifier gives access to class members to sub-classes and classes in
the same package? - ✔✔Either protected or public
ANSWERS SET A+
✔✔What is inheritance? - ✔✔Part of OOP in java that lets you create classes that share
attributes with existing classes.
✔✔What is the inheriting class called?
What is the original class called? - ✔✔A subclass or a child class.
A parent
✔✔What keyword is used to define a new class that inherits properties from an old
class? - ✔✔extends keyword
✔✔Two examples of polymorphism are: - ✔✔Method overriding and method
overloading
✔✔A method that override a superclass method: - ✔✔Cannot have a more restrictive
access than the original method
✔✔What is the default access if no access to a class member is specified? -
✔✔package
✔✔What is the most restricted access to a class member? - ✔✔private
✔✔What is the least restrictive access to a class member? - ✔✔public
✔✔What access specifier gives access to class members to sub-classes and classes in
the same package? - ✔✔Either protected or public