This block surrounds the code being attempted and may throw an exception.
What is the Try Block?
What is another name for a Superclass?
A Parentclass or Baseclass.
This keyword is used to make one class inherit from another in Java.
What is extends?
Why can't you use @Override on a final method?
It is marked as final, and therefore cannot be modified.
This block catches exceptions and displays their information.
What is the Catch Block?
Define a Superclass.
A class that is being inherited from.
What is the difference between a Class and a Subclass?
A subclass is a class that derives from another class. It inherits all of it's behavior from the parent class.
Define @Override.
When the Subclass tries to implement a method which is already defined by the Superclass.
This block runs regardless of whether an exception occurs or not.
What is the Finally Block?
What is the Super command?
The Super command indicates the properties to be inherited from the base class.
Where should additional properties be added?
Any additional properties need to be added to the declaration along with their data types.
Why can't private methods be overridden?
They are bonded during compile time, and as such cannot even be overridden in a Subclass.
What happens if the Try or the Catch block run?
The finally block runs, regardless of what happens in the try and catch block.
Why does a Subclass rely on a Superclass?
Inheritance from the Superclass.
This term refers to additional properties added in the subclass beyond those inherited.
What are subclass-specific fields?
Why would a developer choose to use @Override in their code?
Developers can tailor the behavior of the method to suit the needs of the subclass without altering the behavior of the parent class.
This Java utility is used to parse strings into tokens, such as numbers or words.
What is the Scanner class?
Why are Subclasses considered to be more efficient?
They support the incremental modification of code by allowing the programmer to define a new class by inheriting the code of an existing class, while possibly modifying or adding instance variables and methods.
What are the four types of Java Inheritance?
What is single, multilevel, hierarchical, and hybrid?
What is method hiding?
When you define a static method with the same signature as a static method in the base class.