Need help for this java question. Thanks
For each of the following segments of Java code Describe one important maintainability issue (apart from the lack of comments). . Refactor the code to remove the issue, while keeping the same functionality (a) public int rect(int x1, int y1, int x2, int y2) int area, average; area Math.abs ((x2 x1) (y2 y1)); average (x yl x2 y2) 4 System.out.println(“Averageaverage); return area; Show transcribed image text
Expert Answer
An answer will
PayPal Gateway not configured
PayPal Gateway not configured