Search the courses, subjects, tracks, games and features, or jump straight to a page.
3 cards from this section. Quick, good the night before a test.
What keyword is used to inherit from a superclass in Java?
Think about how subclasses relate to superclasses.
What is an interface in Java?
Consider the definition of a contract in programming.
Which keyword is used to inherit from a superclass in Java?
Think about creating subclasses.
True or False: A Java class can implement multiple interfaces.
Consider the definition of an interface.
Create a Java program that demonstrates both method overloading and method overriding.
Consider using a class like 'Transport' with methods like 'move()'.
Design an interface with multiple implementing classes and demonstrate how polymorphism can be applied.
Think of a 'Vehicle' interface implemented by 'Car', 'Bike', and 'Truck'.
6 more questions in this section. Enroll free to practise them all.
Enroll free