What are we implementing now?

Report a typo

We have multiple new keywords now. Let's match the descriptions and these lines of code

Match the items from left and right columns
class Task implements Question {}
interface Question {}
class Task {}
Interface declaration. Multiple classes now can implement and build functionality based on this interface
Allows declared class use all the properties and methods of the Question interface
Declaring class without interface inheritance

Create a free account to access the full topic