皮皮学,免费搜题
登录
logo - 刷刷题
搜题
【简答题】
(1-3)请阅读程序,根据提示补全程序空白处,使程序能够正确运行。 class MyGenerics { public static 1 T fun( 2 t ) { // 可以接收任意类型的数据 System. out .print( t ); return t ; // 直接把参数返回 } } public class Demo4 { public static void main(String args []) { MyGenerics mg = new MyGenerics(); // 实例化泛型对象 String str = mg .fun( "5" ); // 传递字符串 int x = mg .fun(7); // 传递数字,自动装箱 System. out .print( str ); // 输出内容 System. out .print( x ); // 输出内容 } }
手机使用
分享
复制链接
新浪微博
分享QQ
微信扫一扫
微信内点击右上角“…”即可分享
反馈
参考答案:
举一反三
【简答题】“红酥手,黄滕酒,满城春色宫墙柳”这一首词描写的是()的爱情故事
【判断题】《红楼梦》中邢岫烟自称“槛外人”。
A.
正确
B.
错误
【单选题】— Why was he late for school yesterday? — He overslept . By the time he got to the bus stop, the bus already .
A.
was; leaving
B.
has; left
C.
would; leave
D.
had; left
【判断题】啤酒的风味稳定性,即啤酒经灌装后,在规定的保质期内,啤酒的香气和口味无显著变化。
A.
正确
B.
错误
【简答题】一. 根据句意用所给短语的适当形式填空。 in particular have difficulty ( in ) in other words out of breath adapt to make fun of all the best 1. Jenny dared not answer the question directly because she was afr...
【单选题】Choose the correct future perfect answer: By the time he is twenty, he...
A.
will have left school
B.
will be leaving school
C.
will leave school
【简答题】Complete the following sentences with appropriate phrasal verbs formed from the verbs given below. Pull make run ask cut give set hold keep leave My brother ________...
【单选题】某企业2011年度拥有房产原值共计600万元,其中:生产经营用房原值400万元、内部职工住房原值50万元、医务所用房原值50万元、超市用房原值100万元。按当地政府规定计算房产余值的扣除比例为30%。则2011年度该企业应缴纳房产税为( )万元。
A.
4.8
B.
4.32
C.
5.76
D.
12
【判断题】啤酒的风味稳定性,即啤酒经灌装后,在规定的保质期内,啤酒的香气和口味无显著变化。
A.
正确
B.
错误
【判断题】组氨酸的英文缩写为His。
A.
正确
B.
错误
相关题目:
参考解析:
知识点:
题目纠错 0
发布
创建自己的小题库 - 刷刷题