Hi guys can you help me fix this error I am not sure what to do and I have been trying to resolve it for a long time, stackoverflow is not allowing me to post because my post is more code than is description but this is the error I am getting please help
/PROG3.java:38: error: cannot find symbol
static int size = Taskdetails.getNumberOfTasks();
^
symbol: method getNumberOfTasks()
location: variable Taskdetails of type String
1 error
I will appreciate your inputs
You named a variable Taskdetails
of type String. And in the line in the error message, you try to access its method getNumberOfTasks
which is not present in the String class.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.