If I type:
void doThis(){ System.out.println(\"Hello Stackoverflow.\"); }
what is the default scope of doThis()?
doThis()
If you are not giving any modifier to your method then as default it will be Default modifier which has scope within package. for more info you can refer http://wiki.answers.com/Q/What_is_default_access_specifier_in_Java