Why default constructor is required in a parent class if it has an argument-ed constructor?

后端 未结 12 1500
终归单人心
终归单人心 2020-11-29 21:17

Why default constructor is required(explicitly) in a parent class if it has an argumented constructor

class A {    
  A(int i){    
  }
}

class B extends          


        
12条回答
提交回复
热议问题