I have seen it first time ... in a method signature.
I tried to access a .class file. It has a method defined as below
public void addGraphData(GraphData... _graphData) {
}
And that GraphData is nothing but POJO with getters and setters. Why is the .class file displaying GraphData... _graphData instead of GraphData _graphData ??
It’s varargs and can only be used last in a parameter list. The last param can hold more than one object.
See how “a” and “b” has transformed into an array.