Question: Help needed please. Why I'm trying to use the top method in order to print the first element of my list. why is it not
Help needed please. Why I'm trying to use the top method in order to print the first element of my list. why is it not working?
import java.util.Stack; public class MyDS { Stack
import java.util.Stack; public class DS { static Stack
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
