Search found 1 match

by jokovkilg
Tue Nov 23, 2021 5:53 am
Forum: Report a Bug
Topic: Cannot run code with a method
Replies: 2
Views: 102532

Re: Cannot run code with a method

In Java, each application must have the main method. The main method is the entry point of every java program. The java program searches for the main method while running. This error occurred when the main method is not available. The reason that the compiler don't complain about the public is becau...