Question: Im having an issue with the sub class and its super class. i think it might have something to do with me not having the

Im having an issue with the sub class and its super class. i think it might have something to do with me not having the super keyword but i do not know its function so i havent implemented it yet
 Im having an issue with the sub class and its super
class. i think it might have something to do with me not

Java Computer public class Computer extends Product int revenge int quantity: double Speed: int boolean w; public Computer (double price, int quantity) superprice, quantity public StrintStringit String type: retur cpuSpeed Chur -GRAM V e rwajamadeaProjects/Java/w/Desktop jawa Error: constructor Computer in Computer cannot be co n vento La constructor Computer in Computer cannot bed to give types easant and formal argumentis differing MacBook Pro esc Electronic... > OH BABAAABB caps lock Java Sc Product Computer java Product javax & 1 p ublic class Product double price; int stockQuantity: int soluantity: double revenue; double cubicFeet: boolean hasFreerer: public Product double price, int quantity) { public double seltunitsint mount) it amount stock Quantity) this.stock Quantity - stockOuantity - amount: return (revenue amount - pricel; } else { Product Messages Users/shirwajama/deaProjects/Java/sr/Desktop Java Error:16, 1161 ja constructor Computer in class Computer cannot be applied to given types required: double int found: no arguments reason actual and formal argument ist differ in length users/shirwajama/IdeaProject Java/src/Laptop.java Error:18. ja constructor Computer in class Computer cannot be applied to give types required: double, int reason actual and formal argument ist dafer in length users/shirwajamalldeaProjects/Java/src/Appliances.java Error, wat constructor Product in class Product cannot be applied to given types: Teangactual and formal argument is offer in length Ogs MacBook Pro esc Electronic. > > # S w

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!