EXAMPLE 11 Interchange method The method printName is defined in terms of a ... def swap(x, y) { def temp=x x=y y = temp } print 'Enter the first value: ...
確定! 回上一頁