深圳锐明2017校招java工程师笔试试卷
时长:120分钟 总分:100分
678浏览 6人已完成答题
题型介绍
题型 | 单选题 | 多选题 | 判断题 | 简答题 |
---|---|---|---|---|
数量 | 8 | 1 | 4 | 4 |
指出以下程序运行的结果是
public class Example{ String str=new String("good") char[]ch={'a','b','c'} public static void main(String args[]){ Example ex=new Example() ex.change(ex.str,ex.ch) System.out.print(ex.str+" and ") System.out.print(ex.ch) } public void change(String str,char ch[]){ //引用类型变量,传递的是地址,属于引用传递。 str="test ok" ch[0]='g' } }
<pre class="prettyprint lang-cpp">欲构造Arr
有一段html代码Hello,那么”Hello”的字体颜色是()
<div style="color:red text-color:blue"><span style="color:greentext-color:black">Hello</span></div>,
那么"Hello"的字体颜色是()
<p style="margin-left: 0.0cmtext-indent: 0.0cm"> <span>var arr=[1,2,3]arr.splice(1,1,3,4).arr=____.</span> </p>
var arr=[1,2,3]arr.splice(1,1,3,4).arr=____.