首页题库练习题目详情
Java语言程序设计单选题中等

在Java中,创建对象的正确方式是?

A类名 对象名 = new 类名();
Bnew 类名();
C类名 对象名 = 类名();
Dnew 类名 对象名;