![](https://img-blog.csdnimg.cn/20201014180756780.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
java
wulliam
[url]http://www.javaxx.com[/url][url]http://www.senofo.com[/url]
展开
-
'class' or 'interface' expected
class or interface expectedThis error occurs when there is code outside of a class declaration. The usual cause of this is when youre declaring a few objects at the start of the class, and mist原创 2004-11-09 15:27:00 · 5707 阅读 · 0 评论 -
HelloWorld常见问题
不含包层次的HelloWorld.javapublic class HelloWorld{ public static void main(String[] args) { System.out.println("Hello World!"); }}保存在E:/java/src下,使用javac命令编译:E:/java/src>javac HelloWorld.java运行:E:/java/sr原创 2004-11-10 11:05:00 · 1059 阅读 · 0 评论 -
calc
import java.applet.Applet;import java.awt.*;import java.awt.event.*;public class Calc extends Applet implements ActionListener{ Label result; Panel knoppen; Proc proc; public void ini原创 2004-11-14 21:30:00 · 597 阅读 · 0 评论