• 2022-07-23 问题

    用SharedPreferences存储存储数据,必须通过( )类实现。 A: Bundle B: putString C: ContentValues D: Editor

    用SharedPreferences存储存储数据,必须通过( )类实现。 A: Bundle B: putString C: ContentValues D: Editor

  • 2022-06-08 问题

    向SharedPreferences提交已修改的数据,应当调用Editor类的( )方法。 A: getString() B: putString() C: commit() D: edit()

    向SharedPreferences提交已修改的数据,应当调用Editor类的( )方法。 A: getString() B: putString() C: commit() D: edit()

  • 2022-06-16 问题

    在Editor的方法中,用于存储String类型参数的方法是() A: set() B: setString() C: put() D: putString()

    在Editor的方法中,用于存储String类型参数的方法是() A: set() B: setString() C: put() D: putString()

  • 2022-06-16 问题

    下列选项中,属于Editor类中存储String类型参数的方法的是()。 A: set() B: put() C: getString() D: putString()

    下列选项中,属于Editor类中存储String类型参数的方法的是()。 A: set() B: put() C: getString() D: putString()

  • 2021-04-14 问题

    存储数据 SharedPreferences sp = getSharedPreferences("data",MODE_PRIVATE); Editor editor = sp.edit(); editor.putString("name", "传智播客"); editor.putInt("age", 8); editor.commit(); 以上程序把name、age等信息保存到一个文件名为data.txt的文件中

    存储数据 SharedPreferences sp = getSharedPreferences("data",MODE_PRIVATE); Editor editor = sp.edit(); editor.putString("name", "传智播客"); editor.putInt("age", 8); editor.commit(); 以上程序把name、age等信息保存到一个文件名为data.txt的文件中

  • 2022-10-29 问题

    以下代码能将信息正确写入文件的是()。(说明:editor是SharedPreferences编辑器对象) A: editor.putString("age",20); B: editor.putInt("age","20"); C: editor.putBoolean("flag",true); D: editor.putBoolean("flag","true");

    以下代码能将信息正确写入文件的是()。(说明:editor是SharedPreferences编辑器对象) A: editor.putString("age",20); B: editor.putInt("age","20"); C: editor.putBoolean("flag",true); D: editor.putBoolean("flag","true");

  • 2022-05-31 问题

    用SQLite数据库存数据时调用insert( )方法,需要将数据存在数据集合( )类中后,再集体插入数据库。 A: ContentValues B: putString C: Editor D: Bundle

    用SQLite数据库存数据时调用insert( )方法,需要将数据存在数据集合( )类中后,再集体插入数据库。 A: ContentValues B: putString C: Editor D: Bundle

  • 2022-05-28 问题

    Questions12toI5arebasedontheconversationyouhavejustheard. A: Editor and writer. B: Editor and reader. C: Editor and publisher. D: Colleagues.

    Questions12toI5arebasedontheconversationyouhavejustheard. A: Editor and writer. B: Editor and reader. C: Editor and publisher. D: Colleagues.

  • 2022-05-29 问题

    You write a cover letter to______. A: Introduce yourself to the editor B: Introduce your paper to the editor C: Recommend reviewers to the editor D: Oppose reviewers to the editor

    You write a cover letter to______. A: Introduce yourself to the editor B: Introduce your paper to the editor C: Recommend reviewers to the editor D: Oppose reviewers to the editor

  • 2022-05-29 问题

    You write a cover letter NOT to______. A: introduce your paper to the editor B: recommend reviewers to the editor C: introduce yourself to the editor D: oppose reviewers to the editor

    You write a cover letter NOT to______. A: introduce your paper to the editor B: recommend reviewers to the editor C: introduce yourself to the editor D: oppose reviewers to the editor

  • 1 2 3 4 5 6 7 8 9 10