The answer is C. double-click
Answer:
A.Sam.
Explanation:
We are using Deque interface which is sub type of Queue interface. Deque supports insertion and deletion from both ends front and end.So it can be used as a queue and stack also.
In this question we have inserted Jack at the front first.Then Rudy at the back then larry also at the tail.Now we have added sam at the front then nothing is added to the front.So the answer is Sam.
Answer:
The correct answer for the given question is " roll1>3 || roll2 > 3 "
Explanation:
In option A, there are two conditions separated by OR. In OR, if any condition is true then it will return TRUE. There second condition is TRUE in the statement that is why the whole expression return TRUE.
Thats why the correct answer is "roll1>3 || roll2 > 3".