Question: JAVA (Data Structures ) Stack & queque 4) The queue data structure uses this principle to access data: a)last in last out b)last in first
JAVA (Data Structures ) Stack & queque 4)
The queue data structure uses this principle to access data:
| a)last in last out |
| b)last in first out |
| c)first in first out |
| d)you can access any item from a queue 5)The _______ operation looks at the top of the stack, but does not remove it from the stack. (answer is case sensitive and no parenthesis are needed) . 6) In Java, when you create an array you must specify the number of elements and the number of elements in the array cannot be changed for that array
|
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
