欢迎来到牛牛题库网 牛牛题库官网
logo

单项选择题

运行以下代码: public class TestDogs{ public static void main(String[] args){ Dog[][] theDogs = new Dog[3][]; System.out.println(theDogs[2][0].toString()); } } class Dog{ } 运行结果是( )。

A、null
B、theDogs
C、编译出错
D、抛出一个异常
点击查看答案&解析
微信小程序免费搜题
微信扫一扫,加关注免费搜题

微信扫一扫,加关注免费搜题