How is it possible to insert different type of elements in
stack?

Answer Posted / rabia altaf

we can make stack using class template .. now it can accept
every type of object ..

Is This Answer Correct ?    19 Yes 5 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How would you implement two stacks using a single array?

560


In what areas do data structures are applied?

541


What is the limit of arraylist?

474


What is collection process?

516


How to initialize Dictionary using collection initialize?

581






What are the two traversal strategies used in traversing a graph?

560


Write a Program for Linked list manipulation.

561


How can I learn data structures?

528


What are stacks? Give some of its applications.

555


Can you make an arraylist of arrays?

579


Are linked lists considered linear or non-linear data structures?

577


Discuss the difference between a stack and an Array?

532


what is a balanced tree.

595


Can we store null in arraylist?

473


What do u mean by data type?

436