A class named Base is defined as follows:
open class Base(val date: Date, val weather: String) {
constructor(_date: Date) : this(_date, "Sunny")
}
Which are the correct lines to define a class Derived?
A class named Base is defined as follows:
open class Base(val date: Date, val weather: String) {
constructor(_date: Date) : this(_date, "Sunny")
}
Which are the correct lines to define a class Derived?
Create a free account to access the full topic