Computer Science, asked by manojkumar66653, 1 month ago

write a java program to calculate area and circumference of circle using default constructor.​

Answers

Answered by satvik9092
0

Answer:

Using Method

import java. util. Scanner;

public static void main(String args)

Scanner s= new Scanner(System. in)

System. out. println("Enter the radius:")

double rad= s. nextDouble

double a=area(rad)

System. out. println("Area of Circle is: "

Hope it helps you

PLEASE MARK AS BRAINLIEST

Similar questions