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

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

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!