Answer:
public static boolean ifTest(int numSeats){
if(numSeats>=8){
return true;
}
else
return false;
}
Step-by-step explanation:
Using Java programming language, A method has been created with one parameter numSeats With a boolean return type. In the method's definition, an if statement is used to check if the number of seats is greater or equal to 8, if this is so, it returns true, else it returns false