Question: I want to write a method in java that takes a string as an argument and return Boolean value. - In the contractor of the
I want to write a method in java that takes a string as an argument and return Boolean value.
- In the contractor of the class I have 3 arrays, and each array has 3 objects - So this method should search in the toString of the 3 arrays in the constructor and return true if the user input a value exist in the at least in one of the toStrings and false if it is not exist at anyone
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
