Error: Main method not found in class Calculate, please define the main method as: public static void main(String[] args) [duplicate]

Restart your IDE and everything will be fine

Leave a Comment