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 Respuesta
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
En tendencia hoy
.
1 Votes
What?
0 Votes
HTML
0 Votes
Web
0 Votes
Quiz duel
0 Votes
FRC Coding?
1 Votes
AI
2 Votes
help
0 Votes
APIs
1 Votes