YouworkasanapplicationdeveloperatCertkiller.com.YouaredevelopinganapplicationthatmakesuseofaQueueclassobjectnamedMyQueue.ThisQueueclassobjectwillbeusedtostoremessagessentbytheuserduringapplicationruntime.Youwouldliketoaccessthemessageatthebeginningofthequeue,priortoprocessingtheusermessages,withoutremovingit.Whatshouldyoudo?()

A.UsetheEnqueuemethodoftheMyQueueobject. B.UsetheContainsmethodoftheMyQueueobject. C.UsetheDequeuemethodoftheMyQueueobject. D.UsethePeekmethodoftheMyQueueobject.

时间:2024-01-16 11:33:19

相似题目