I've coded in C before, but I'm completely new to java I'm doing a tutorial for my OOP class, and this is pretty much my first time officially learning the language
In the tutorial, my professor made a class that will be used to test an I/O helper class that I have to make myself (and btw, the tutorial is (a) optional and (b) not for marks, so I'm not cheating or anything by making this thread... and (c) I've never used java before whereas a lot of my other classmates have, so I'm behind).
ANYWAY. In his testing class that he made, he calls a method "getInt" that I need to put into my I/O helper class.
However when he calls the getInt method, he sometimes uses 3 parameters, sometimes 2, sometimes none, etc.
I know in C I wouldn't be able to do that (right?), but is it possible to do in Java? And if so, how?