Interface variables are static because Java interfaces cannot be instantiated in their own right; the value of the variable must be assigned in a static ... ... <看更多>
Now when I do new Cat() by itself (i.e. without assigning the returned Cat object to a variable), then a Cat object will be created, but this ... ... <看更多>