Question: Hi guys I have Java task and need to create a list / arrays of geometric shapes. Need to have classes : abstract class Shape,
Hi guys
I have Java task and need to create a list / arrays of geometric shapes.
Need to have classes : abstract class Shape, class Square(field witch 4 sides), class Rectangle( fields lenght and width) and class Circle ( field radius) and then :
-calculate the area and find a geometric figure with the largest field
- write down all the figures that are on the list / table
please help with this task
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
