单项选择题

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

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