Skip to content

Is ATMState an abstract class? #11

@ntalbs

Description

@ntalbs

/**
* ATMState is an abstract class that defines the state of the ATM.
* This abstract class contains the default behavior for each state, which usually
* renders a message to the display and does not perform any action.
*/
public class ATMState {

The explanation in the book is confusing because it mixes an interface and an abstract class, but the ATMState class itself is defined as a normal class.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions