Topic: 一个简单的程序编译不了??

  Print this page

1.一个简单的程序编译不了?? Copy to clipboard
Posted by: jjl0604
Posted on: 2005-09-12 09:30

大家帮忙看下!
import java.awt.*;

public class PackageTest
{
public static void main(String args[])
{ Button button =New Button();
String string =New String();
}
}

2.Re:一个简单的程序编译不了?? [Re: jjl0604] Copy to clipboard
Posted by: GlennLi
Posted on: 2005-09-12 09:55

你的关键字写错了,是“new”不是“New”

3.Re:一个简单的程序编译不了?? [Re: jjl0604] Copy to clipboard
Posted by: JavaandC
Posted on: 2005-09-12 10:06

同意 GlennLi


   Powered by Jute Powerful Forum® Version Jute 1.5.6 Ent
Copyright © 2002-2021 Cjsdn Team. All Righits Reserved. 闽ICP备05005120号-1
客服电话 18559299278    客服信箱 714923@qq.com    客服QQ 714923