+ 1
Need solution
Showing some errors! What is the solution? Full code⤵️ https://code.sololearn.com/cK4C7rhF7Dmo/?ref=app
2 Respuestas
+ 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❣️