每个元素都有一个方法来返回其类别的标签,用另一个方法来绑定单击动作。
Every element has a method to return the label of its category and a method to bind the clicking action.
现在,我用灵活的initialize方法创建另一个Word实例,见清单5。
Now watch as I create a different Word instance with my flexible initialize method, in Listing 5.
该类中仅剩的另一个方法(用斜体标识)用于获取该单件的一个引用,如果尚未实例化则创建它。
The only other method (set in italics) in the class is used to get a reference to the singleton and to create it if it is not yet instantiated.
So let me turn to a different approach to solving the question, answering the question,which one should we believe?
所以让我用另一个方法来解决这个问题,回答该相信哪一个理论的问题?
应用推荐