Awesome..... thanks a lot.....But we are back to the square in giving the answer....."the JLS says so....".Yes i agree not much information
is available on net on this topic.But will keep the...
Type: Posts; User: rohan22
Awesome..... thanks a lot.....But we are back to the square in giving the answer....."the JLS says so....".Yes i agree not much information
is available on net on this topic.But will keep the...
Yea i got your point.....As in java if we don't specify with any access specifier its package protected.I totally agree with you.
Coming back to my piece of code:-
class Helloworld{
public static...
If main doesn't work without public then I assume there must be valid reason for it to be public.Something related to its syntax specification.
Anyways thanks a lot. Like you my search for this is...
Hey please let me know the reason.....it would be great.......! else this question will start eating my until I am convienced....
Thanks a lot
Considering a simple Helloworld program
class Helloworld{
public static void main(String args[]){
System.out.println("This is Hello World Program");
...