Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.java.programmer > #36175
| Newsgroups | comp.lang.java.programmer |
|---|---|
| Date | 2017-01-08 17:37 -0800 |
| Message-ID | <ebaa620e-2ecc-429c-9a6e-f71fd3e9c945@googlegroups.com> (permalink) |
| Subject | Where am i going wrong |
| From | SuperGiirl <kainattshafiq90@gmail.com> |
public class Mobile extends Gadget
{
// instance variabrles
private int creditRemaining;
/**
* Constructor for objects of class Mobile
*/
public Mobile(int creditRemaining, int theWeight, double thePrice, String theModel, String theSize);
{
super(theWeight, thePrice, theModel,theSize);
creditRemaining = RemainingCredit;
}
this is the coding for the subclass, the superclass of gadget
can someone please tell me where I am going wrong, as I am new to this.
thank you :)
Back to comp.lang.java.programmer | Previous | Next — Next in thread | Find similar | Unroll thread
Where am i going wrong SuperGiirl <kainattshafiq90@gmail.com> - 2017-01-08 17:37 -0800 Re: Where am i going wrong Arne Vajhøj <arne@vajhoej.dk> - 2017-01-08 21:20 -0500 Re: Where am i going wrong Davej <galt_57@hotmail.com> - 2017-01-08 19:12 -0800
csiph-web