单项选择题

假定一个链队列的队首和队尾指针分别为front和rear,则判断队空的条件为( )。

A.front==rear
B.front!=NULL
C.rear!=NULL
D.front==NULL