Suppose you want to use the class MyClass of the package MyPackage. Utility Library in a program you are writing.
What do you need to do to make the following?
class MyClass available to your program
all the classes of the package available to your program
Answers
Answered by
0
Answer:
1. import MyPackage.Myclass
2 import MyPackage.*
Explanation:
Answered by
0
Answer:
import java.MyPackage.UtilityLibrary.MyClass;
Similar questions
Computer Science,
4 months ago
English,
4 months ago
Math,
4 months ago
English,
9 months ago
Political Science,
9 months ago
Math,
1 year ago
Social Sciences,
1 year ago
Science,
1 year ago