ICSE Class 10 Computer Applications
Question 1 of 32
Input in Java — Question 1
Back to all questions 1
Question Question 1
Suppose you want to use the class MyClass of the package MyPackage.UtilityLibrary in a program you are writing. What do you need to do to make the following?
i. class MyClass available to your program
import MyPackage.UtilityLibrary.MyClass;ii. all the classes of the package available to your program
import MyPackage.UtilityLibrary.*;