+ 1
Need solution
Showing some errors! What is the solution? Full codeā¤µļø https://code.sololearn.com/cK4C7rhF7Dmo/?ref=app
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));
+ 1
Thanksā£ļø