Write a program to print the area of a rectangle by creating a class named 'Area' taking
Fantastic news! We've Found the answer you've been seeking!
Question:
Write a program to print the area of a rectangle by creating a class named 'Area' taking the values of its length and width as parameters of its constructor and having a method named 'returnArea' which returns the area of the rectangle.
Related Book For
Data Structures and Algorithm Analysis in Java
ISBN: 978-0132576277
3rd edition
Authors: Mark A. Weiss
Posted Date: