The big hospital

Report a typo

Let's look at the object Hospital:

object Hospital:
  def takeTests: Unit = ???
  val medicalRecord: String = ???

  case class Patient(name: String):
    val patientsName: String = name
    def getBetter(pills: String): Unit = ???

  trait Nurse:
    def giveAnInjection: Unit = ???

Which of the following imports are correct?

Select one or more options from the list
___

Create a free account to access the full topic