Which of the following statements you should write to import only the Scanner class from java.util package
(a) import Scanner
(b) import java.util." ;
(c) import java.util.Scanner:
(d) import package java.util.Scanner
Answers
Answered by
4
option c is correct answer.
Answered by
5
Answer:
c
Explanation:
a and d is not correct as such statement does not exist
b will import all the util packages like arrays.
Similar questions
Biology,
2 months ago
English,
2 months ago
Computer Science,
6 months ago
Physics,
11 months ago
Chemistry,
11 months ago