Question: 1/*** Java 1/*** Write a public static method named isCategoryUsed that returns boolean and receives an int parameter named scoreOption. 1/*** Write the method body
1/*** Java 1/*** Write a public static method named "isCategoryUsed" that returns boolean and receives an int parameter named "scoreOption". 1/*** Write the method body code as follows: 1/*** 1) Declare a boolean variable named "used" and assign the value of false to it. 1/*** 2) Write a println statement that displays the message "In method isCategoryUsed". 3) Write a return statement that returns the variable "used". //***
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
