Circle.java - File Circle.java Author DeAnna Crate Date...

This preview shows page 1 out of 1 page.

/** File: Circle.java* Author: DeAnna Crate* Date: 6/27/2020* Purpose: grandchild of shape, child of TwoDimensionalShape*/package project1;import java.util.Scanner;public class Circle extends TwoDimensionalShape{double radius;double pi = 3.14;Circle(int numDimensions, double area, double r){super(numDimensions,area);r = radius;}void getArea(){

  • Left Quote Icon

    Student Picture

  • Left Quote Icon

    Student Picture

  • Left Quote Icon

    Student Picture