BlueJ的code pad

2015-07-24 06:00:01 · 作者: · 浏览: 9

【3.2实现】

BlueJ的code pad有用吗?

?

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

1+2

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

\

?

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

?

打开:菜单view--Show Code Pad,则在 the object bench旁边出现Code Pad。The code pad area can now be used to enter expressions or statements. On pressing
Enter, each line will be eva luated and a result may be displayed.

?

?