I created a method called selectMode(); and I want that method to be able to select a different mode while running. For example I have to different displays but only one display will show and if I want to access the other display I want to be able to select it.
+2
A:
You could just add an argument to it:
selectMode( mode );
And either always require that mode
be supplied, or create a second overload of selectMode
with the argument.
Justin Ethier
2010-10-16 18:00:48