~/ learn/ comp-308/ cards/ Interfaces & Inner Classes
1 of 33

Declare the abstract Event base with one abstract method

Declare the abstract Event base with one abstract method

Answer

public abstract class Event { public abstract void action(); }

The class is abstract and so is action() — note the semicolon, not a body. No concrete subclass may skip implementing action().

space flip · ← → navigate · esc to exit
NORMAL ~/memra/library/bc7b0ec3-a5ff-4f52-a209-cd7e85c848a3/flashcard utf-8 LF