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?

    Selecciona todas las respuestas que consideres correctas.

  3. Completa los espacios en blanco

    Ingresa una o más palabras para completar la oración.

    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>
    

    Selecciona todas las respuestas que consideres correctas.