Answer:
That is a Java language
Step-by-step explanation:
This is simply Because C++ language does not support the calling of the methods without parameters and with the .(dot) operator.
It can also be clearly noted that This is the functionality of Java, for example, to sort we call Array.Sort().
So the parameter here is passed by placing the variable at front with the . (dot).