TIFU by not using objects in my object-oriented programming coursework - eviltoast
  • schema@lemmy.world
    link
    fedilink
    arrow-up
    2
    ·
    9 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).