nerdexam
Android

AND-401 · Question #56

AND-401 Question #56: Real Exam Question with Answer & Explanation

Sign in or unlock AND-401 to reveal the answer and full explanation for question #56. The question stem and answer options stay visible for context.

Question

Consider the following AndroidManifest.xml file: <?xml version="1.0" encoding="utf-8"?> package="com.mkyong.android" android:versionCode="1" android:versionName="1.0" > <uses-sdk android:minSdkVersion="10" /> <uses-permission android:name="android.permission.WebActivity " /> <application android:icon="@drawable/ic_launcher" android:label="@string/app_name" > <activity android:name=".WebViewActivity" android:theme="@android:style/Theme.NoTitleBar" > <intent-filter > <action android:name="android.intent.action.MAIN" /> <category android:name="android.intent.category.LAUNCHER" /> </intent-filter> </activity> </application> </manifest> Supposing the application connects to the internet at startup, which of the following is true?

Options

  • AThe application throws an exception indicating it does not have permission to access the URL
  • BThe application will work as intended
  • CThe application won't compile
  • DThe application throws a java.lang.SecurityException

Unlock AND-401 to see the answer

You've previewed enough free AND-401 questions. Unlock AND-401 for full answers, explanations, the timed quiz mode, progress tracking, and the master PDF. Question stem and options stay visible so you can still see what's on the exam.

Full AND-401 Practice