The static variable gets memory only once in the class area at the time of class loading. Static 中的屬性是隨著class存在不需要實體物件也可以使用. 靜態屬性例子:.
確定! 回上一頁