首页 > 代码库 > BlueJ的code pad

BlueJ的code pad

【3.2实现】

BlueJ的code pad有用吗?


例如在code pad中输入一个表达式

1+2

而code pad输出结果,如图所示:



如果你觉得有用,可以在学习《编程导论·3.2实现》时用一下。

  1. 打开:菜单view--Show Code Pad,则在 the object bench旁边出现Code Pad。
  2. The code pad area can now be used to enter expressions or statements. On pressing
    Enter, each line will be evaluated and a result may be displayed.
  3. 更多:参考 http://www.bluej.org/tutorial/tutorial-201.pdf中的 6 Using the code pad