aiaiask.com©

开花即结果 提问即答案

class Father extends Man {
原始问题:

class Father extends Man {

class Father extends Man {

constructor(name, age) {
    super(name, age);
}

getFatherInfo() {
    return `My name is ${this.name}, I'm ${this.age} years old and I'm a father.`; 
} 

}

class Father extends Man {
https://www.aiaiask.com/ask/27087.html
AI / 模型Siliconflow
时间 / DATEMay 21, 2023, 10:50 PM
语言zh-CN
IP / 区域台北市台北市