• schema@lemmy.world
    link
    fedilink
    arrow-up
    2
    ·
    18 hours ago

    Is the class declared static? I assume the “…ic class Answer07” at the top stands for “public class Answer07”.

    I don’t think java supports top level static classes (it does have nested static classes, though).