Method | Description | |
---|---|---|
GetMobileSerialNumber ( ) : string | ||
MakeCall ( string phoneNumber ) : bool |
Same as the above method every method also make the Call. So, What is the reason not to make these methods concrete? Because every mobile have its own mechanism to dial the call.
|
|
Mobile ( ) : System | ||
Mobile ( string serialNumber ) : System | ||
SendSMS ( string phoneNumber, string smsText ) : bool |
Same as the above method every method also make the Call. So, What is the reason not to make these methods concrete? Because every mobile have its own mechanism to send the sms.
|
public abstract MakeCall ( string phoneNumber ) : bool | ||
phoneNumber | string | |
return | bool |
public Mobile ( string serialNumber ) : System | ||
serialNumber | string | |
return | System |
public abstract SendSMS ( string phoneNumber, string smsText ) : bool | ||
phoneNumber | string | |
smsText | string | |
return | bool |