由於Random()的type是double,要讓它變成Integer就需要利用casting把double type的variable變為integer。 另外,如果你想用new Random() 又想產出一個double type的值,你 ...
確定! 回上一頁