ES6中類與繼承的理解(java對比記憶)

ES6中類與繼承的理解(java對比記憶)javascript 先上兩段代碼: java中定義類:css public class Person{ private String sex; private int age; public Person(String sex,int age){ this.sex=sex; this.age=age; }
相關文章
相關標籤/搜索