A.SharedPreferences.EditorB.getPreferences()C.getSharedPreferences()D.以上方法都不对
单项选择题下列选项中,属于Android对数据库表中的数据进行修改操作的方法是()。
A.execSQL()B.update()C.query()D.put()
单项选择题下列选项中,属于SharedPreferences获取编辑器的方法为()。
A.getEdit()B.edit()C.setEdit()D.getAll
单项选择题下列选项中,属于数据库版本号增加时调用的方法的是()。
A.onCreate()B.update()C.onUpgrade()
单项选择题下列选项中,属于指定文件只能被当前程序读写的操作模式的是()。
A.MODE_APPENDB.MODE_WORLD_READABLEC.MODE_PRIVATED.MODE_WORLD_WRITEABLE
单项选择题下列选项中,属于Android中使用的数据库的是()。
A.SQLiteB.OracleC.MySQLD.DB2
单项选择题下列选项中,属于SQLiteDatabase中开启数据库事务方法的是()。
A.beginTransaction()B.startTransaction()C.getTransaction()D.setTransactionSuccessful()
单项选择题下列选项中,属于Fragment和Activity建立关联时调用的生命周期方法是()。
A.onActivityCreate()B.onDetach()C.onActivity()D.onAttach()
单项选择题StartActivityForResult()方法中提供了两个参数,用于标识请求的参数是()。
A.意图B.请求码C.返回码D.以上选项都不正确
单项选择题下列选项中,不属于onActivityResult()方法中参数的是()。
A.requestCodeB.resultCodeC.dataD.result
单项选择题下面关于任务栈的描述,正确的是()。
A.任务栈有压栈和出栈的操作B.当打开Activity时,该Activity就被压入栈底C.当Activity被销毁时,该Activity的实例从栈底弹出