QUESTION IMAGE
Question
which command is written correctly? move move(); move move();
Brief Explanations
In most programming languages, method/function calls follow the syntax of the name of the function followed by parentheses. Also, in languages with case - sensitive syntax like Java, C#, etc., the correct case must be used. Assuming a case - sensitive language and a function named Move, Move(); is the correct command as it has the function name in the right case and proper parentheses and semicolon at the end.
Snap & solve any problem in the app
Get step-by-step solutions on Sovi AI
Photo-based solutions with guided steps
Explore more problems and detailed explanations
Move();