在Python 中,您可以在字典中包含键值对,您可以在其中循环遍历它们,如下所示: for k,v in d.iteritems(): print k,v 有没有办法用Java HashMaps 做到这一点?
確定! 回上一頁