Just pass the reference of HashMap into the println() method, and it will print key-value pairs into the curly braces. See the example below.
確定! 回上一頁