• 2021-04-14
    Activity不是Context的子类。( )
  • ×

    内容

    • 0

      JSP内置对象中,不属于内置对象的是() A: request对象 B: response对象 C: context对象 D: activity对象

    • 1

      Android中使用SharedPreference,下列哪项不是获取SharedPreference的方法() A: Application中的getPreference()方法 B: Context类中的getSharedPreference()方法 C: Activity类中的getPreference()方法 D: PreferenceManager类中的getSharedPreference()方法

    • 2

      当在Activity中使用时,可以直接使用this.getSharedPreferences(),并且this可以省略。反之,则需要传入一个Context对象获取上下文,即context. getSharedPreferences()。( )

    • 3

      Context in SFL refers to . A: Context of language B: Context of culture C: Context of society D: Context of situation

    • 4

      RandomAccessFile类既不是InputStream类的子类,也不是OutputStram类的子类。