Answered step by step
Verified Expert Solution
Question
1 Approved Answer
It keeps saying theres an error in my code and Im sure why. Theres pictures of my code and then theres the requirements Outline TestRectangle1
It keeps saying theres an error in my code and Im sure why. Theres pictures of my code and then theres the requirements Outline TestRectangle1 class Rectangle // instance variables double width double height; //default constructor 9 public RectangleC) 10 .0.1 (9.0.1 width 1.0 12 height-1.0 5 16 //paraneterized constructor public Rectangle(double width, double height) this.width-width; this height height 18 19 0 public double getArea 21 22 return width*height 23 24 public double getPerineterO 25 26 27 28 29 class Test return 2 (widthsheight): 31 32 public void main(String args) En Markers-Properties as servers Data Source Explorer b snippets -Consoles cterminateds testbreak [Java Application) /LibrarylJava) JavaVistualMachines/jdk-9.0.1.Jdk/Contents/Home/bir/java (Mar 8, 2018, 409:17 Exception in thread "noin- java "lang-Error: uresolved corpilation problen: at testbreak, testbreck,main(testhreak.java:4) Writable Smart Insert 40:2
It keeps saying theres an error in my code and Im sure why. Theres pictures of my code and then theres the requirements
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