アプリでユーザー入力を取得する: パート 1

  1. クラスの継承に関する記述として正しいものは、次のうちどれですか。

  2. 抽象クラスの説明として正しいものは次のうちどれですか。

    正しいと思われる解答をすべて選択してください。

  3. 空欄補充問題

    1 つ以上の単語を入力して文を完成してください。

    ___ は、クラスのインスタンスを作成するときに呼び出されます。

  4. 現在のクラス内でのみ使用するプロパティであることを示す方法はどれですか。

  5. 次の XML レイアウトの画面表示について、正しいものをすべて選択してください(必要であれば、紙に印刷して検討してもかまいません)。

    &ltandroidx.constraintlayout.widget.ConstraintLayout
        android:layout_width="match_parent"
        android:layout_height="match_parent"&gt
        &ltTextView
            android:id="@+id/textViewA"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:text="A"
            app:layout_constraintStart_toStartOf="parent"
            app:layout_constraintTop_toTopOf="parent" /&gt
        &ltTextView
            android:id="@+id/textViewB"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:text="B"
            app:layout_constraintEnd_toEndOf="parent"
            app:layout_constraintTop_toTopOf="parent" /&gt
    &lt/androidx.constraintlayout.widget.ConstraintLayout&gt

    正しいと思われる解答をすべて選択してください。