Nov 7, 2014 at 3:14am UTC
class Date
Date(int =1, int =1, int =1990);
class Person
Person(string="" , string="" , Date=NULL);
class RealEstateAgent:Public Person
RealEstateAgent(string="" ,string="" ,Date=NULL,Date=NULL,int =NULL, double =0.0);
class Customer:Public Person
Customer(string="" ,string="" ,Date=NULL,string="" , double =0.0);
My problem is below (property class constructor) , how can I assign default values with Customer object and RealEstateAgent?
Class Property
1 2
Property(string, Customer,RealEstateAgent, Date);
Last edited on Nov 7, 2014 at 12:56pm UTC
Nov 7, 2014 at 12:59pm UTC
No, my problem is for the property class.
Property(string="" , Customer,RealEstateAgent, Date=NULL);
I do not know how to initialize default arguments for parameter 2 and parameter 3.
Nov 7, 2014 at 4:30pm UTC
Yes, got it. thank you!!!