![]() |
听话的伤痕 · JAVA调用Oracle存储过程和函数开发者社区· 昨天 · |
![]() |
豪情万千的松鼠 · javax.validation.Unexp ...· 昨天 · |
![]() |
活泼的海龟 · WebView.LoadDataWithBa ...· 昨天 · |
![]() |
爱看球的太阳 · Android应用开发之(WebView中l ...· 昨天 · |
![]() |
慷慨的鸵鸟 · 若依项目学习笔记08——事务&日志 - 刘条条 · 昨天 · |
![]() |
儒雅的书包 · 研究生学位论文抽检,暴露了什么_学风建设专题网· 3 月前 · |
![]() |
失眠的匕首 · 南开大学2023年硕士研究生招生考试初试成绩 ...· 11 月前 · |
![]() |
耍酷的豌豆 · 浙江师范大学2023年“中澳班”招生简章· 1 年前 · |
![]() |
眉毛粗的木瓜 · 雅典娜(一个智慧与武力并存的女神) - 知乎· 1 年前 · |
![]() |
风流倜傥的乒乓球 · 互联网人不可或缺的资源搜索引擎 - 掘金· 1 年前 · |
![]() |
爱喝酒的皮带
2 年前 |
![]() |
豪情万千的松鼠 · javax.validation.UnexpectedTypeException: HV000030: No validator could be found for constraint 解决方法_ 昨天 |
![]() |
活泼的海龟 · WebView.LoadDataWithBaseURL(String, String, String, String, String) Method (Android.Webkit) | Micros 昨天 |
![]() |
儒雅的书包 · 研究生学位论文抽检,暴露了什么_学风建设专题网 3 月前 |
![]() |
耍酷的豌豆 · 浙江师范大学2023年“中澳班”招生简章 1 年前 |
![]() |
眉毛粗的木瓜 · 雅典娜(一个智慧与武力并存的女神) - 知乎 1 年前 |
![]() |
风流倜傥的乒乓球 · 互联网人不可或缺的资源搜索引擎 - 掘金 1 年前 |
Long story short , you must move your return results ; statement at the end of the function.
In this case , you must also declare the results variable somewhere at the start of the function not inside any code block
Let me know if it works fine
Thanks and Regards,
Shiva RV
All Answers
I think it is a simple code issue
Just make your return results; statment at the end before the last " } " . I mean by before closing the function write your return results so you must also initailize your result variable at the start of the function and not inside any block of code.
This error pops up because the function is suppose to return string but in some branch section of your code it doesn't return anything
Let me if the solution helps.
Thanks and Regards,
Shiva RV
I'm not sure what you mean. I should move my results variable definition to ouside my if statement?
Long story short , you must move your return results ; statement at the end of the function.
In this case , you must also declare the results variable somewhere at the start of the function not inside any code block
Let me know if it works fine
Thanks and Regards,
Shiva RV