0

I need good explanation for generic classes

class Stack<T> { int index=0; T[] innerArray = new T[100]; public void Push(T item) { innerArray[index++] = item; } public T Pop() { return innerArray[--index]; } public T Get(int k) { return innerArray[k]; } }

8th May 2019, 10:24 AM
Mohamed Mokhtar Medina
Mohamed Mokhtar Medina - avatar
1 Réponse
0
for anyone here do you think that solo learn is good enough to cover the basics of programming if yes give me a percentage.
8th May 2019, 10:27 AM
Mohamed Mokhtar Medina
Mohamed Mokhtar Medina - avatar