WildChild
12-05-2006, 07:42 PM
public class TextMessage extends Account
{
private int sendersMobilePhoneNumber;
private int recipientMobileNumber;
private String dateOfMessage;
/**
* Constructor for objects of class TextMessages.
*/
public TextMessage(String customersCityAddress, int thePhoneNumber)
{
super(customersCityAddress, thePhoneNumber)
this.sendersMobilePhoneNumber = sendersMobilePhoneNumber;
this.recipientMobileNumber = recipientMobileNumber;
this.dateOfMessage = dateOfMessage;
}
}
This is my code, it is presenting me with the error: ';' expected on the line that is:
this.sendersMobilePhoneNumber = sendersMobilePhoneNumber;
.. i know it's something every so simple i've missed it must be, but i'm almost certain its right.. :confused: argh!
Any help is much appreciated..
*just as a note the code above is that of Thomas Hough - United Kingdom - UEA (we've had people steealing other peoples code)
{
private int sendersMobilePhoneNumber;
private int recipientMobileNumber;
private String dateOfMessage;
/**
* Constructor for objects of class TextMessages.
*/
public TextMessage(String customersCityAddress, int thePhoneNumber)
{
super(customersCityAddress, thePhoneNumber)
this.sendersMobilePhoneNumber = sendersMobilePhoneNumber;
this.recipientMobileNumber = recipientMobileNumber;
this.dateOfMessage = dateOfMessage;
}
}
This is my code, it is presenting me with the error: ';' expected on the line that is:
this.sendersMobilePhoneNumber = sendersMobilePhoneNumber;
.. i know it's something every so simple i've missed it must be, but i'm almost certain its right.. :confused: argh!
Any help is much appreciated..
*just as a note the code above is that of Thomas Hough - United Kingdom - UEA (we've had people steealing other peoples code)