package com.example.myapplication
class Book(val pg:Int )
{
var page: Int=0
init {
this.page = pg
}
}
open class Person(val ta: String, val tz: Int, val se:String, val pg: Int):School
{
constructor() : this()
val book : Int=0
val tall: Double = 0.0
val tizhong: Int = 0
val sex:String ?=null
fun eat(){
}
fun drink(){
}
fun study(){
}
override fun work() {
println("我在学习")
}