+ 2

(Solved)Pls I need some help with this

I want to call up a method from another class but I keep getting an errow message...Pls reply asap https://code.sololearn.com/cEw9gAW8Sbnh/?ref=app

14th Jul 2018, 10:30 PM
Trojan
2 Antwoorden
+ 4
For your meth1 function, you had set a parameter that holds a string. When calling the function, you forgot to include any value to be stored for that parameter which is what returns the error. Try adding a string or a function that calls for user input as an argument when calling meth1 to get it to run.
14th Jul 2018, 10:34 PM
Faisal
Faisal - avatar
+ 2
Thanks! It works fine now Check it
14th Jul 2018, 10:37 PM
Trojan