I want to know if there is a way of makeing optional parameter in java.
for my experience in other programing languages there is an option to write function prototype like that:
int foo(int num = 0)
and if i call the func foo() the var num will be equal to 0.
I've been looking over the internet and its seem to be not exists in java.
 
    