title: What is a formal parameter, in Java?
body: <p>I'm currently working on java legacy code and I encounter with a class that represent a formal parameter but I don't know why is that. I read about <a href="https://stackoverflow.com/questions/18870156/what-is-a-formal-parameter">C++ Formal Parameters</a>, but it confused me because in C++ it is the same as the argument (I'm in doubt about this affirmation) and in my legacy code it is a class, that has only a private int member that store a number (with their set &amp; get methods) but honestly, I didn't find <strong>the why</strong> of that declaration.</p>