单项选择题

下列定义列表对象的语句中,错误的是()。

A.list x;
B.list < int>x;
C.list < string>x;
D.list < double>x;