下列程序的运行结果是( ) ----- 单选
package com.itheima.demo;
class Bird{
}
class Demo {
public static void main(String[] args) {
Object object = new Bird();
System.out.println(object.getClass());
}
}
A、class com.itheima.demo.Bird
B、class java.lang.Object
C、class com.itheima.demo.Object
D、程序错误
|
|