Free AND-401 Exam Braindumps (page: 15)

Page 14 of 58

Which of the following is correct about XML layout files?

  1. In order to display a UI defined in the XML layout file “main.xml”, call the setContentView method of the Activity with the parameter string “main.xml".
  2. There is no distinction between implementation of the layout definition by code, or by XML layout file.
  3. In an Eclipse project using the ADT plugin, the XML layout file is found in the /res/layout directory.
  4. Layout information written in the XML layout file will be converted into code by the Android platform when the screen is displayed.

Answer(s): C



The DalvikVM core libraries are a subset of which of the following?

  1. Java ME
  2. Java SE
  3. Java EE
  4. JAX-WS

Answer(s): B

Explanation:

Dalvik is a discontinued process virtual machine (VM) in Google's Android operating system that executes applications written for Android. Dalvik is compiled with JAVA SE.


Reference:

https://en.wikipedia.org/wiki/Dalvik_(software)



Which of the following is correct about file access in the Android system?

  1. Generally, files are handled as dedicated resources per each application.
  2. Files created by an application can be directly accessed by any application.
  3. The content of file created by application cannot be accessed by any other application.
  4. You can only access a file from within an Activity.

Answer(s): A



Which is the correct explanation of ListView?

  1. It is necessary to use ListView as a set with ListActivity.
  2. You cannot use a ListView when there is no information to be displayed.
  3. When displaying a list of Strings using an ArrayAdapter class in ListView, you must save the value in an ArrayList.
  4. ListView has a function to display a list of uniquely defined Views other than TextView.

Answer(s): D






Post your Comments and Discuss Android AND-401 exam with other Community members:

AND-401 Exam Discussions & Posts