Answered step by step
Verified Expert Solution
Link Copied!

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 image text in transcribed
image text in transcribed
image text in transcribed
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

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Intelligent Databases Technologies And Applications

Authors: Zongmin Ma

1st Edition

1599041219, 978-1599041216

More Books

Students also viewed these Databases questions

Question

The company openly shares plans and information with employees.

Answered: 1 week ago