Computer Science, asked by naitikj66, 6 months ago

1. Write
down the syntax to input a string
through
the Scanner
class with example .
What is the
the use of Keyboard
of Keyboard input?
plz give the example for first one..... plz related to string only. Thankyou​

Answers

Answered by mishikhan
0

Answer:

In Java, there are many ways to read strings from input. The simplest one is to make use of the class Scanner, which is part of the java. util library and has been newly introduced in Java 5.0.

Explanation:

Similar questions