< Day Day Up > |
Recipe 3.6 Overriding a Java Method3.6.1 ProblemYou want to override the methods of a class, but first you need to know which methods are available to override. 3.6.2 SolutionSelect Source Override/Implement Methods. 3.6.3 DiscussionTo see what methods you can override, open a class derived from another class, and select Source Override/Implement Methods, displaying the Override/Implement Methods dialog shown in Figure 3-10. Selecting the methods and clicking OK will make Eclipse create method stubs for those methods automatically. Figure 3-10. Overriding methods |
< Day Day Up > |