Complete the code to show that class Dog inherits from class Animal.
class Dog [1] Animal:
In most object-oriented languages, inheritance is shown by placing the parent class name in parentheses after the child class name.
Complete the code to declare that class Car implements the interface Vehicle.
class Car [1] Vehicle:
In many languages, the keyword implements is used to show that a class follows an interface.
Fix the error in the code to correctly show that class Bird inherits from Animal and implements Flyer.
class Bird [1] Animal, Flyer:
When a class inherits from multiple classes or interfaces, they are listed inside parentheses separated by commas.
Fill both blanks to correctly show that class SmartPhone inherits from Phone and implements Camera.
class SmartPhone [1] Phone [2] Camera:
In some languages, inheritance and interface implementation are shown by listing parent classes and interfaces inside parentheses.
Fill both blanks to correctly declare class Tablet inherits from Device, implements TouchScreen, and is abstract.
abstract class Tablet {BLANK_1}} Device {{BLANK_2}} TouchScreen{In many languages, extends shows inheritance, implements shows interface implementation, and class body starts with '{'.