What is accomplished by hiding implementations of a stack in a class?
a. client code can access any entries of the stack
b. only the top of the stack can be accessed by client code
c. you can also treat the ADT as a queue
d. the code runs faster
b. only the top of the stack can be accessed by client code
Computer Science & Information Technology
You might also like to view...
Which of the following is a falsy value??
A. ?true B. ?-1 C. ?0 D. ?1
Computer Science & Information Technology
Which command on an Arista switch would require an SNMP notification when too many devices try to connect to a port?
A. mac-limit B. switchport port-security C. storm-control D. shutdown
Computer Science & Information Technology