如果我们编写验证方法,那么该方法的返回类型是什么 [英] if we write validation method then what is the return type of that method

查看:68
本文介绍了如果我们编写验证方法,那么该方法的返回类型是什么的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如果我们编写验证方法,那么该方法的返回类型是什么。

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, return true.
Else return false.


这篇关于如果我们编写验证方法,那么该方法的返回类型是什么的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆