请问构造函数中的两条语句 OnlineCustomer(int cID,String name,String address,String id,String cardno) 
    :Customer(cId,name,address)
     
     {strcpy(longId,id)
     strcpy(masterCardNo,cardno)
     }
目前是C++写的,如何用JAVA写。class Toy
{int toyId;
 String toyName;
 float toyPrice;
 Toy(int id,String name,float price)
 { toyId=id;
    toyPrice=price;
 }
 };
 
 class Customer
 {int custId;
   String custName;
   String cust_Address;
   float amt_outstanding;
    Customer(int id,String name,String address)
    {custId=id;
     custName=name;
     cust_Address=address;
    }
   }
   
   class OnlineCustomer extends Customer
   {int loginId;
    String masterCardNo;
    OnlineCustomer(int cID,String name,String address,String id,String cardno) 
    :Customer(cId,name,address)
     
     {strcpy(longId,id)
     strcpy(masterCardNo,cardno)
     }
     
     }