(18) Android Objective Type Questions and Answers

  1. <activity name=".MainActivity" />

  2. <activity android:name=".MainActivity" />

  3. <activity android:activity=".MainActivity" />

  4. <activity class=".MainActivity" />

View Answer
  1. var

  2. const

  3. val

  4. final

View Answer
  1. implementation

  2. dependency

  3. compile

  4. include

View Answer
  1. To initialize Views

  2. To perform background tasks

  3. To handle touch events

  4. To create an instance of the Activity

View Answer
  1. let

  2. also

  3. do

  4. run

View Answer
  1. Minimum Android SDK version required

  2. Target Android SDK version

  3. Maximum Android SDK version supported

  4. Android Support Library version

View Answer
  1. To execute a block of statements repeatedly

  2. To check if an object is of a certain type

  3. To change the state of an object and return it

  4. To initialize an object and configure its properties

View Answer
  1. activity_main.xml

  2. main_activity.xml

  3. fragment_home.xml

  4. content_layout.xml

View Answer
  1. Minimum Android SDK version required

  2. Target Android SDK version

  3. Maximum Android SDK version supported

  4. Android Support Library version

View Answer
  1. Java Serialization Object Notation

  2. JavaScript Object Notation

  3. Java Object Naming

  4. JavaScript Object Network

View Answer