Multiple choice

Like all other Android layouts, menus can be defined using ______.

  1. XML only

  2. Java Only

  3. XML or Java

  4. .Net

Reveal answer Fill a bubble to check yourself
C Correct answer
Explanation

Like all other Android layouts, menus can be defined using XML or Java code. But it is better to use XML because we can quickly create the menu options and their order without any boilerplate code.