Готовая лабораторная работа 3

This commit is contained in:
Никита Белянин 2023-11-12 15:19:23 +04:00
parent 17c4995d8a
commit 585424fb62

View File

@ -56,6 +56,6 @@ public class SetGeneric<T extends DrawingArmoVehicle> {
public T Get(int position) { public T Get(int position) {
if (position < 0 || position >= _places.length) if (position < 0 || position >= _places.length)
return null; return null;
return (T) _places[position]; return (T)_places[position];
} }
} }