Udit003
07/22/2018, 11:20 AMAndreas Sinz
07/22/2018, 11:30 AMMen
, because you have an abstract fun Sexuality()
that isn't implemented inside the class,
2: Why should the compiler complain about Animal
?Udit003
07/22/2018, 11:43 AMAndreas Sinz
07/22/2018, 11:44 AMPerson
outside of the file where it is declaredUdit003
07/22/2018, 11:45 AMAndreas Sinz
07/22/2018, 11:47 AMMen
-class twice, first inside Person
and a second time beneath itUdit003
07/22/2018, 11:57 AMAndreas Sinz
07/22/2018, 12:04 PMwhen
-expressions are always exhaustiveUdit003
07/22/2018, 1:36 PM