void f() { List x; // Local object named x (of class List) ... }
void g() { List x(); // Function named x (that returns a List) ... }