0
what is the default access specifier in Java?.
5 Antworten
+ 1
public before main is necessary it is d part of syntax for main function which tells...it can be accessed publicly..... where as default specifier public is for other user defined functions like void hello() works....without writing public before it
0
public
0
then is it not necessary to declare public static void main.?
0
thanks Aman.. your words helped me really to understand it crystal clear. And thanks again
0
welcome brother..... i am happy to help you