instead of int, etc...
You must use non primitives in generics (like List<Integer>) and in cases when it's needed that your variable may become null. Otherwise it doesn't really matter except that primitive types are slighlty more performant because non-primitives add some overhead
Обсуждают сегодня