Which of the following is correct way of importing an entire package ‘pkg’?
A. import pkg.
B. Import pkg.
C. import pkg.*
D. Import pkg.*
Answer:A
Which of the following is correct way of importing an entire package ‘pkg’?
A. import pkg. B. Import pkg. C. import pkg.* D. Import pkg.*
Explanation: Operator * is used to import the entire package.