Question:
Explain public static void main (String[] args)?
Author: Ed HowardAnswer:
Public is an access modifier. Static it’s a non-access modifier that means your method belongs to the class and can be called by the class name. Void means there is no return type. Main is the name of the method. (an array of strings)
0 / 5 (0 ratings)
1 answer(s) in total