码迷,mamicode.com
首页 > 其他好文 > 详细

第二次的作业

时间:2016-03-14 00:16:00      阅读:225      评论:0      收藏:0      [点我收藏+]

标签:

1. First program doesn‘t exist a state whose i = 0. Second program can only return first 0 in x.

2. x = null Expected = Null PointerException

   x = null Expected = Null PointerException

3. x = [2] Expected = -1

   x = [2] Expected = -1

4. x = [2, 3, 5] ; y = 5 Expected = 2

   x = [0, 1, 2] Expected = 0

第二次的作业

标签:

原文地址:http://www.cnblogs.com/czyhhxx/p/5274212.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!