单项选择题

下列选项中符合Java中Lambda表达式语法的是()。

A.x->returnx+1
B.x,y->x+y
C.x->{x=x*2;x+1;}
D.x->{x=x*2;returnx+1;}