| 网站首页 | 业界新闻 | 小组 | 威客 | 人才 | 下载频道 | 博客 | 代码贴 | 在线编程 | 编程论坛
欢迎加入我们,一同切磋技术
用户名:   
 
密 码:  
共有 623 人关注过本帖
标题:我是初学者 下面的错误怎么该啊!!!!
取消只看楼主 加入收藏
夜中梦
Rank: 1
等 级:新手上路
帖 子:132
专家分:0
注 册:2007-5-12
收藏
 问题点数:0 回复次数:0 
我是初学者 下面的错误怎么该啊!!!!
我是初学者 下面的错误怎么该啊!!!!
public class Apply
{
    public static void main (String[]args)
            {static int x;
                    int y;
                    x=10;
                    Apply.pt=new Apply;
                    pt.y=20;
              System.out.println("x");
              System.out.println("y");
            }
   
class Best extends Apply
{
         public static void main(String[]args)
         { static int z;
         z=30;
         System.out.println("x");
         System.out.println("y");
         System.out.println("z");
         }
}
}
搜索更多相关主题的帖子: public 
2007-12-04 18:16
快速回复:我是初学者 下面的错误怎么该啊!!!!
数据加载中...
 
   



关于我们 | 广告合作 | 编程中国 | 清除Cookies | TOP | 手机版

编程中国 版权所有,并保留所有权利。
Powered by Discuz, Processed in 0.011253 second(s), 8 queries.
Copyright©2004-2024, BCCN.NET, All Rights Reserved