Page 1 of 1

About Question enthuware.ocajp.i.v8.2.829 :

Posted: Mon Jun 18, 2018 1:20 pm
by naziat
java 8: Final Test: Q41
If we use varargs, why will it print 0? it will print parameter array object (including its <class name> @ <hashcode>)
Your explanation doesnt look correct about above topic.

Re: About Question enthuware.ocajp.i.v8.2.829 :

Posted: Tue Jun 19, 2018 3:23 am
by admin
It is talking about the code given in the same explanation. This code contains System.out.println(params.length);