So I'm doing a small task where I need to display a user entered URL's parameters. This is the code I found as a possible solution. But I can't understand why is it you can put a split String into a Map that has String for both key and value and the split method returns a String array. I obviously can't wrap my head around on why are the square brackets added after calling the split method. Is that supposed to be the index of the returned array? Care to explain fellas?
Glad to be back on the ranch, after a long pause (needed some extra knowledge to be comfortable to ask questions ), cheers.