Hellfire103@lemmy.ca to Programmer Humor@programming.devEnglish · 6 months agoTIFU by not using objects in my object-oriented programming courseworklemmy.caexternal-linkmessage-square27fedilinkarrow-up1102arrow-down14cross-posted to: [email protected]
arrow-up198arrow-down1external-linkTIFU by not using objects in my object-oriented programming courseworklemmy.caHellfire103@lemmy.ca to Programmer Humor@programming.devEnglish · 6 months agomessage-square27fedilinkcross-posted to: [email protected]
minus-squareschema@lemmy.worldlinkfedilinkarrow-up3·6 months agoIs 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).
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).