Accelya Group interview question

what will happen if you write static public void main(String args[]) instead of public static void main)String args[])?

Interview Answers

Anonymous

24 Jun 2015

there will be no errors

2

Anonymous

26 Oct 2017

By default all method have access modifier is default so no error