单项选择题

下面声明和赋值语句中,错误的是( )。

A.float z=6.56;
B.double d=3.1415;
C.boolean truth=true;
D.String str="bye";