// Long form of invocation of a the static sort method, using // explicit type specification. // Note that the dot comes before the <Dog>. // Dog is the class that implements Comparable<Dog> Collections.<Dog>sort( listOfDogs ); // don't add any extra dots, or move <Dog> to any other spot. // Here is how to remember the syntax: // The type does not apply to the class, but the static method, // so it makes sense the type should be right next to the method name. // The type when invoking comes before the method name, just the // same as when you declare the method.