如果我们编写验证方法,那么该方法的返回类型是什么 [英] if we write validation method then what is the return type of that method
本文介绍了如果我们编写验证方法,那么该方法的返回类型是什么的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
如果我们编写验证方法,那么该方法的返回类型是什么。
if we write validation method then what is the return type of that method.
推荐答案
bool
- true / false 。
如果 验证通过,则返回true
。
否则返回false
。
bool
- true/false.
If Validation passed, returntrue
.
Else returnfalse
.
这篇关于如果我们编写验证方法,那么该方法的返回类型是什么的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文