Hello
With reference to the answer of question 9 in chapter 3 of the
OCP Oracle Certified Professional Java SE 17 Developer Practice Tests: Exam 1Z0-829 (English Edition) book (Kindle edition).
The example code contains a method
compete(), as shown next.
The answer refers to a method called
main() with one parameter named
args.
B. Notice in this question that main() is not a static method; ... It can also access the local variable args.
I believe that the answer may need to be changed to reflect the method used in the example/question.