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.
About Question enthuware.ocajp.i.v8.2.829 :
Moderator: admin
-
- Posts: 4
- Joined: Tue May 15, 2018 6:44 am
- Contact:
-
- Site Admin
- Posts: 10053
- Joined: Fri Sep 10, 2010 9:26 pm
- Contact:
Re: About Question enthuware.ocajp.i.v8.2.829 :
It is talking about the code given in the same explanation. This code contains System.out.println(params.length);
If you like our products and services, please help us by posting your review here.
Who is online
Users browsing this forum: No registered users and 58 guests