1.创建哈希:就像创建数组一样,我们可以通过Hash类来创建一个Hash实例:?12h1 = Hash.new #默认值为nilh2 = Hash.new(“This is my first hash ...
確定! 回上一頁