Get user input in an app: Part 1

  1. Which of the following is true about class inheritance?
  2. Which of the following are true about abstract classes?

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

  3. 空欄補充問題

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

    The ___ is called when you create an instance of a class.

  4. How do you mark a property to be used only inside its current class?
  5. Select all answers that are true for this XML layout when displayed on the screen. (You can sketch this out on a piece of paper first, if that helps.)
    <androidx.constraintlayout.widget.ConstraintLayout
        android:layout_width="match_parent"
        android:layout_height="match_parent">
        <TextView
            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" />
        <TextView
            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" />
    </androidx.constraintlayout.widget.ConstraintLayout>
    

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