how can I change such brackets from [] to {} in Java when expressing Vector? And that there is a comma between each number. Thanks a lot.
enter image