从函数返回2种数据类型 [英] Returning 2 datatypes from a function
本文介绍了从函数返回2种数据类型的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
很想知道是否有可能。是的,如果是这样的话?
Was curious to see if it was possible. Is it and if so how?
寻找最有效的方法,如果是这样的话
Looking for the most efficient method possible if so
推荐答案
很想知道是否有可能。是的,如果是这样的话?
Was curious to see if it was possible. Is it and if so how?
寻找最有效的方法,如果是这样的话
Looking for the most efficient method possible if so
两种数据类型是什么意思?你的意思是像字符串这样的原始类型而不是整数吗?
What do you mean by two datatypes? Do you mean primitive type like string as opposed to integer?
这篇关于从函数返回2种数据类型的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文