I am currently studying Java and have recently been stumped by angle brackets(<>). What exactly do they mean?
public class Pool{
public inter
It is related to generics in java. If I mentioned ArrayList
that means I can add only String type object to that ArrayList.
The two major benefits of generics in Java are: