java" selection does not contain a main type"的问题处理方法
代码如下
package main;
public class Car {
int speed;
String color;
String name;
String direction;
public void drivecar()
{
speed=50;
direction="南方";
}
}
package main;
public class driver
原创
2012-12-28 16:39:59 ·
3201 阅读 ·
2 评论