describe what happens if in hello world. java, you omit the first ;
Answers
Answered by
1
If the main function is not public, then the JVM cannot access the main function. So, you will get an error if the main function is not specified as public.
Hope its helpful for you
Similar questions