Notizen
Ohne Titel
Inhalt der Notizen (1)
Seite 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
Informationen
- Beschreibung
- Notiz am Ohne Titel, erstellt von Everton Gonçalves am 23/11/2018.
- Erstellt von
- Everton Gonçalves
- Aufrufe
- 0
- Bewertung