Computer Science, asked by debashisdas2030, 5 months ago

Which of the following statement is
correct statement to create scanner
object p?
O
Scanner p = new Scanner
(System.in);
o
Scanner p = New Scanner
(System.in);
O
scanner p = new scanner
(System.in);
O
Scanner p = new Scanner
(system.in);​

Answers

Answered by petloverishu
0

Answer:

1st points scanner p=new scanner

Answered by pandeybhawanishankar
1

Scanner s = new Scanner (System.in);

(this is right answer)

you give all options are same.

I hope that this answer helpful to you.............

Similar questions