For example,
public class ClassA {
    // no instance fields
    public int method1(int x, int y) {
        // do things...
        return x+y;
    }
}
I feel a strong urge to declare public static void int method(int x, int y), but it seems like "people in Java" do not like to use static method unless there is a good reason. What do you guys think?
 
    