Regarding basic stack

In this we used generics ,so no need to use the earlier code to push pop ,then what is the use of that code what we did in understanding the basic of stack and dynamic stack

hi @Adhyayan
it better practice to use generics instead of making your own stack again again.

So can we use the generics in our placement exams , because generics will make life a lot easier

@Adhyayan
yeah! :blush:

@Adhyayan
please mark your doubt as resolved in my doubts section and rate me as well.