📜  java代码示例中的默认参数

📅  最后修改于: 2022-03-11 14:52:35.905000             🧑  作者: Mango

代码示例1
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/