首页 › 答案 › 题库 › 知到智慧树 › 未分类

下列关于AlertDialog的描述,错误的是()

下列关于AlertDialog的描述,错误的是()
A.使用new关键字创建AlertDialog的实例;
B.对话框的显示需要调用show方法;
C.setPositiveButton方法是用来设置确定按钮的;
D.setNewgativeButton方法是用来设置取消按钮的。
正确答案:使用new关键字创建AlertDialog的实例;