Class

    public class MyImage
    {
       private  int aaa;
       private  int bbb;
       private  int ccc;
       public  MyImage()   // If not add public, can not use new MyImage(), because the
                                  //  protect characteristics of MyImage.
       {
         ccc = aaa+bbb;
       }
    }
posted @ 2009-09-22 10:43  greencolor  阅读(127)  评论(0编辑  收藏  举报