There are no optional parameters in Java . What you can do is overloading the functions and then passing default values. Show activity on this post. VarArgs and overloading have been mentioned.
Read moreThere are no optional parameters in Java . What you can do is overloading the functions and then passing default values. Show activity on this post. VarArgs and overloading have been mentioned.
Read more