GoConqr has a new look! Let us know what you think.

Notes

Untitled

Everton Gonçalves Portuguese 1 page

Content of the notes (1)

Page 1

Java will create an empty array if no parameters are passed for a

vararg. However, it is still possible to pass null explicitly:

walk(int i, int... nums);

walk(1);

walk(1, 1);

walk(1, null); // throws a NullPointerException

Chapter 4

Information

Description
Note on Untitled, created by Everton Gonçalves on 23/11/2018.
Views
0
Rating

Feedback

What is it about?

What do you think of the new look?

How do you like it?