Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- package com.company;
- public class Circle extends Figure
- {
- double pi=3.14,Area,r=0;
- public void Radius(double t)
- {
- r=t;
- }
- public void ShowArea(){
- Area=pi*(r*r);
- System.out.println("Aria este");
- System.out.println(Area);
- };
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement