Computer Science, asked by nishakharwar, 7 months ago

Write a program to create a package named mypack (to calculate area) and
import it in circle class.

Answers

Answered by rajeevnain165
1

Answer:

To import java package into a class, we need to use java import keyword which is used to access package and its classes into the java program. Use import to access built-in and user-defined packages into your java source file so that your class can refer to a class that is in another package by directly using its name.

Similar questions