+ 1

Need solution

Showing some errors! What is the solution? Full codeā¤µļø https://code.sololearn.com/cK4C7rhF7Dmo/?ref=app

23rd Nov 2022, 7:03 AM
Mustakim Rahman
Mustakim Rahman - avatar
2 Answers
+ 1
contains() method is another class myclass method..and it is static method so call it with class name reference System.out.println(myclass.contains(array, 2015)); System.out.println(myclass.contains(array, 2010));
23rd Nov 2022, 8:41 AM
Jayakrishna šŸ‡®šŸ‡³
+ 1
Thanksā£ļø
24th Nov 2022, 3:26 AM
Mustakim Rahman
Mustakim Rahman - avatar