Popular Interview Questions- DUBAI

Which of following options can not implement Singleton in JAVA?


  •  Synchroizing getInstance() method
  • Using public static final field initialized during class loading
  • Using singleton holdern pattern 
  • Using singleton intent method
Which of following is the instance of Searchview? 
  • Search Widget
  • Serarch Dialog
  • Option 1 2
  • none of
 Which of the following statements about the content provider component of Android system is are correct

    A -Intents can be used to start a content provider
    B -Intents can not start a content provider
    C- Content provider supports shared preference 
  • Statement C is incorrect
  • both statements B and C are incorrect
  • Statement B is correct
  • All the given statements are wrong

If you are playing a Android game, which Activity lifetime is shown in this situation 

  • Visible lifetime
  • Foreforund lifetime

.... It will continue



Yorumlar