String[] elements={"for","tea","too"}; String first=(elements.length>0)?elements[0]null; What is the result?()
A. ompilation fails.
B. n exception is thrown at runtime.
C. The variable first is set to null.
D. The variable first is set to elements[0].
查看答案
该试题由用户905****61提供
查看答案人数:23464
如遇到问题请
联系客服
正确答案
该试题由用户905****61提供
查看答案人数:23465
如遇到问题请联系客服