I tried to do something like C++:
public void function(int x = 10) { // If user did not give an parameter, parameter= 10
}
How can I set the parameter in case he did not get?
I tried to do something like C++:
public void function(int x = 10) { // If user did not give an parameter, parameter= 10
}
How can I set the parameter in case he did not get?