皮皮学,免费搜题
登录
logo - 刷刷题
搜题
【单选题】
在scala的有参函数定义中,关于函数的参数和返回值,哪一个类型是必须指定的?哪一个类型是可以不指定的? 例:def demo(name :String , age :Int ) :String = {函数体内容略}
A.
两个参数类型(如第一个String 和 Int)和函数返回值类型(如第二个String)都是必须指定的
B.
两个参数类型(如第一个String 和 Int)是必须指定的,函数返回值类型(如第二个String)是可以省略的
C.
两个参数类型(如第一个String 和 Int)和函数返回值类型(如第二个String)都是可以省略的
D.
两个参数类型(如第一个String 和 Int)是可以省略的,函数返回值类型(如第二个String)是必须指定的
手机使用
分享
复制链接
新浪微博
分享QQ
微信扫一扫
微信内点击右上角“…”即可分享
反馈
参考答案:
举一反三
【简答题】按凸轮形状不同,凸轮机构可分为 、 和 三种。
【简答题】Steve Jobs, the Apple tech titan Steve Jobs was born on 24th February, 1955, in the city of San Francisco, and grew up in a farming area that was already turning into the world centre of computer tech...
【单选题】Your network consists of an Active Directory Domain Services (AD DS) forest with 1,000 client computers that run Windows XP.   Nine hundred of the computers are on the local area network.   One hundre...
A.
Microsoft System Center Essentials
B.
Microsoft Desktop Optimization Pack
C.
Microsoft System Center Operations Manager
D.
Microsoft System Center Data Protection Manager
【简答题】Steve Jobs, the Apple tech titan Steve Jobs was born on 24th February, 1955, in the city of San Francisco, and grew up in a farming area that was already turning into the world centre of computer tech...
【简答题】Steve Jobs, the Apple tech titan Steve Jobs was born on 24th February, 1955, in the city of San Francisco, and grew up in a farming area that was already turning into the world centre of computer tech...
【简答题】Fill in the blanks with the expressions given below. Change the form where necessary. Each expression can be used only once. be equipped to a slew of make for pick up be bundled with in the name of ra...
【简答题】凸轮机构中,按凸轮形状分类,凸轮有 、 和 三种。
【单选题】达盖尔发明的是( )
A.
正负摄影系统
B.
火胶棉摄影法
C.
日光蚀刻法
D.
银版摄影术
【单选题】在早期发明的摄影技术中,片基具有 容易打碎,出去创作时或者收藏都不方便,后来改用金属板,并且非常昂贵且携带不方便,较重, 影像质量不高。等特点的摄影术为( )
A.
火棉胶湿版法
B.
达盖尔银版法
C.
日光蚀刻法
D.
蛋清印相法
【单选题】“日光蚀刻法”的发明者是( )
A.
尼埃普斯
B.
达盖尔
C.
塔尔博特
D.
赫谢尔
相关题目:
参考解析:
知识点:
题目纠错 0
发布
创建自己的小题库 - 刷刷题