1. Engineering
  2. Computer Science
  3. allocate the errors on each program line 1 class rectangle...

Question: allocate the errors on each program line 1 class rectangle...

Question details

allocate the error(s) on each program line 1 class Rectangle{ 2 int length 3 Int width; 4 viod insert(int l, int w){ 5 length == l; 6 width = ww; 7 8 void calculateArea( { 9 System.out.println("Area of rectangle = "+ length / width);} 10 } 11 class TestRectangle1{ 12 public void main(String args[]){ 13 Rectangle r1 = Rectangle(); 14 r.insert(5,4); 15 r1.calculatearea(); 16 }} 17 }

Solution by an expert tutor
Blurred Solution
This question has been solved
Subscribe to see this solution