 class Test3-13
      {
         public static void main(String[] args)         
         {
              Student stu1 = new Student("",10011,11);  
              Student stu2 = new Student("",10012,12);   
System.out.println("ʵ" + Student.getCount());                   
         }
      }//end of class Main
class Student
      {
         int stu_code;                               
         String stu_name;                            
         int deptCode;                              
         private static int counter = 0;                            //
         protected Student(String name,int sCode,int dCode)          
         {
              counter++;             
stu_name = name;                         
              stu_code = sCode;                        
              deptCode = dCode;                       
         } 
         static int getCount()                                  //෽
         {
            return counter;
         }        
      }//end of class Student
