Question: need to writa a code that makes this work 1. Create a class called Main. 2. Create a public static method called twoHundreds which takes
1. Create a class called Main. 2. Create a public static method called twoHundreds which takes 1 input parameter of type int array and returns a boolean. 3. The return boolean should be true when the array has at least 2 values greate or equal to 100 . xample method calls with expected return value: - twoHundreds(new int []{3,5,2,105,8,9}) false - twoHundreds(new int[]\{300,2,105,8\}) true
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
