Answered step by step
Verified Expert Solution
Question
1 Approved Answer
I ' m encountering the following error: The constructor Satellite ( int , String, Angle, int, int, int, int, int, int, int ) is undefinedJava
Im encountering the following error: The constructor Satelliteint String, Angle, int, int, int, int, int, int, int is undefinedJava
here is the code the error occurs in
package unsw.blackout;
import unsw.utils.Angle;
public class StandardSatellite extends Satellite
private static final int LINEARVELOCITY ;
private static final int MAXRANGE ;
private static final int MAXSTORAGE ;
private static final int MAXFILES ;
private static final int RECEIVEBANDWIDTH ;
private static final int SENDBANDWIDTH ;
public StandardSatelliteint satelliteID, Angle positionDegrees, int height
supersatelliteID "Standard", positionDegrees, height, LINEARVELOCITY, MAXRANGE,
MAXSTORAGE, MAXFILES, RECEIVEBANDWIDTH, SENDBANDWIDTH;
here is the constructor of the superclass it should be reffering to
public Satelliteint satelliteID, String type, Angle posDegrees, Double height, int linearVelocity,
int maxRange, int maxStorage, int maxFiles, int receiveBandwidth, int sendBandwidth
this.satelliteID satelliteID;
this.type type;
this.posDegrees posDegrees;
this.linearVelocity linearVelocity;
this.height height;
this.maxRange maxRange;
this.maxStorage maxStorage;
this.maxFiles maxFiles;
this.receiveBandwidth receiveBandwidth;
this.sendBandwidth sendBandwidth;
this.currentStorage ;
this.currentFiles ;
pls help solve this issue
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started