首页
论坛
图书
开发资料
在线文档
网址
下载
联系我们
 新闻│Java│JavaScript│Eclipse│Eclipse 英文│J2EE│J2ME│J2SE│JSP│Netbeans│Hibernate│JBuilder│Spring│Struts
站内搜索: 请输入搜索关键词

当前页面: 开发资料首页 → Java 专题 → 演示汉内塔的Applet源码

演示汉内塔的Applet源码

摘要: 演示汉内塔的Applet源码

</td> </tr> <tr> <td height="35" valign="top" class="ArticleTeitle"> <table width="100%" border="0" cellspacing="0" cellpadding="0"> <tr> <td width="267" height="86" align="center" valign="top">

</td> <td width="417" valign="top">

汉内塔问题是一个经典有趣的问题。如图,在一块水平板上钉有三根直柱,并分别有A、B、C标注,以及n个在中心有小孔的园盘,园盘的半径成算术级数递增并套在A柱上,问怎样才能把A柱上的盘片移动到C柱上,在移动过程中套在同一根柱上的盘片不允许半径大的压半径小的。

考考你(27) 

What happens when this method is called with an input of "Java rules"?
1. public String addOK(String S) {
2. S += " OK!";
3. return S;
4. }
Select one correct answer
a. The method will return "OK!";
b. A runtime exception will be thrown.
c. The method will return "Java rules OK!".
d. The method will return "Java rules".

点击查看答案

</td> </tr> <tr> <td height="20" colspan="2">


</td> </tr> </table>

</td> </tr> <tr>


↑返回目录
前一篇: java读取纯真IP数据库QQwry.dat的源代码
后一篇: java中的对象序列化

首页 | 全站 Sitemap | 联系我们 | 设为首页 | 收藏本站
版权所有 Copyright © 2006-2007, Java 编程资料牛鼻站, All rights reserved