About Question enthuware.ocajp.i.v7.2.1398 :
Posted: Wed Nov 12, 2014 11:41 pm
Code: Select all
public static void main(String[] args) {
FunWithArgs fwa = new FunWithArgs();
String[][] newargs = {args};
Java Certification Resources and Java Discussion Forum
https://enthuware.com/forum/
Code: Select all
public static void main(String[] args) {
FunWithArgs fwa = new FunWithArgs();
String[][] newargs = {args};
admin wrote:No, it is not. Notice the { }.
You would be right if it were String[][] newargs = args; , which, of course, wouldn't compile.