Skip to main content
The 2024 Developer Survey results are live! See the results
3 events
when toggle format what by license comment
Sep 14, 2018 at 22:45 comment added Carcigenicate @TonyD You may have typed it wrong. I can't say without seeing it. It must differ than what you have here, since the IDE is looking in class HeadPhones for the main, but you have it in TestHeadPhones here. And Code Review is for working code. You didn't mention originally that the code isn't working.
Sep 14, 2018 at 22:39 comment added Tony D Why when I go to an online IDE to execute the code, does it say, "Error: Main method not found in class HeadPhones, please define the main method as: public static void main(String[] args)"?
Sep 14, 2018 at 21:48 history answered Carcigenicate CC BY-SA 4.0