Answers for "default argument in java"

0

default argument in java

Short answer: No.

Fortunately, you can simulate them.
  
-  use method overloading
-  allow nulls as an input
-  declare a method with Java Varargs

To know how to do those, check : 
	http://dolszewski.com/java/java-default-parameters/
Posted by: Guest on September-01-2021

Code answers related to "default argument in java"

Code answers related to "Java"

Java Answers by Framework

Browse Popular Code Answers by Language