0
Is it possible to have methods with defaults parameters in java?
Public void Name(String name="felix"){ System.out.println(name)}
1 Antwort
+ 1
No, Java does not support default parameters.
Public void Name(String name="felix"){ System.out.println(name)}