describe what happened if in hello word java you omit the the. first }
Answers
Answered by
0
Answer:
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. Static: If the keyword static is used for a member of a class in java, then the member belongs to the class, but not the object of the class.
Similar questions