Hey;
I'm getting into Java. I'm coming from C++ base and I wonder how can we use "const" parameters in Java?
For example if I don't want the function to be able to change the value of a parameter, what do I do?
void modify(RefObject parameter)
{
parameter.set(new RefObject); //should cause compiler error
}