• schema@lemmy.world
    link
    fedilink
    arrow-up
    0
    ·
    7 days 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).