The declaration of print(int) in the functionfooBar hides theotherdeclarationsofprint. It is asif there is onlyoneprint function available: theone that takes a single int parameter.
In part, this counters the accusation made during "Climategate" that climate scientists formed a tight clique who peer-reviewed each other's papers and made sure their own global warming narrative was the onlyone making it into print.