Hellfire103 to Programmer Humor@programming.devEnglish · 14 hours agoTIFU by not using objects in my object-oriented programming courseworkimagemessage-square17fedilinkarrow-up162arrow-down14cross-posted to: [email protected][email protected]
arrow-up158arrow-down1imageTIFU by not using objects in my object-oriented programming courseworkHellfire103 to Programmer Humor@programming.devEnglish · 14 hours agomessage-square17fedilinkcross-posted to: [email protected][email protected]
minus-squareschema@lemmy.worldlinkfedilinkarrow-up1·6 hours 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).