一个类通过使用 new 运算符和类的构造方法为声明的对象分配内存。
A. 对
B. 错
Java中用protected修饰, 作用是子类相当于公开,对不是同一包中的没有父子关系的类相当于私有。
A. 对
B. 错
Android应用需要通过文件保存数据时,可以利用Context类中提供的___________方法获得文件输出流对象。
A. openFileInput()
B. FileOutputStream
C. openFileOutput()
D. FileInputStream
Android应用需要读取文件中数据时,可以利用Context类中提供的___________方法获得文件输入流对象。
A. openFileInput()
B. FileOutputStream
C. openFileOutput()
D. FileInputStream