Hi I am a beginner in Java and need to read the arguments from command line into a String ignoring case.
I tried
And for arguments abcd Abcd
It is printing out
[acbd, abcd]
Shouldn't it be printing out abcdabcd? I don't understand why it comes with square brackets. Can anyone explain it to me? Tks.