当前位置: 技术问答>java相关
也许不是问题的问题
来源: 互联网 发布时间:2015-03-10
本文导语: //GreatRace.java import java.awt.Graphics; import java.awt.GridLayout; import java.awt.Frame; import Threader; ....... ...... ...... //Threader.java import java.awt.Graphics; import java.awt.Color; public class Threader extends java.awt.Canvas implements Runnable{ ......
//GreatRace.java
import java.awt.Graphics;
import java.awt.GridLayout;
import java.awt.Frame;
import Threader;
.......
......
......
//Threader.java
import java.awt.Graphics;
import java.awt.Color;
public class Threader extends java.awt.Canvas implements Runnable{
.......
........
.......
这两个java文件在同一个目录下,为什么我在javac GreatRace.java 时出现class Threader not founder in import?
恳请赐教!!!
import java.awt.Graphics;
import java.awt.GridLayout;
import java.awt.Frame;
import Threader;
.......
......
......
//Threader.java
import java.awt.Graphics;
import java.awt.Color;
public class Threader extends java.awt.Canvas implements Runnable{
.......
........
.......
这两个java文件在同一个目录下,为什么我在javac GreatRace.java 时出现class Threader not founder in import?
恳请赐教!!!
|
好了
java grace.GreatRace
java grace.GreatRace