public class Ch4_6_2 { // 遞迴方法: 河內塔問題static void towerofHanoi(int dishs, int peg1, int peg2, int peg3) { if ( dishs == 1 ) { // 終止 ...
www.javaworld.com.tw