下面语句中,在程序编译时将出现“错误:不兼容类型”的是(  )。

下面语句中,在程序编译时将出现“错误:不兼容类型”的是(  )。

A.

char c='d';

B.

int i=130;

C.

short s=2340;

D.

byte b=200;

正确答案是D