Package Explorer - Class Method
2 March 2008In this post, I will write about Eclipse feature that shows the artifacts of a class method.
Eclipse package explorer is a very useful explorer that gives the developer a birds eye view of the package, class and methods. Review the class below:
public class Student { private int id; private String name; private static int counter; private static final int MAXCOUNT=10; public Student(int id, String name) throws Exception { … } public int getId() { … } public void setId(int id) { … } public String getName() { … } public void setName(String name) { … } public void showAll() { … } }
The class involves methods, static attributes, static final attributes etc. All are shown in the package explorer as shown in the screen shot below:
Related Posts:
Top Of Page | Trackback
If you found this page useful, consider linking to it. Simply copy and paste the code below into your web site.
It will look like this: Package Explorer - Class Method