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