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
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
Social Sciences,
3 months ago
Social Sciences,
3 months ago
English,
3 months ago
Accountancy,
7 months ago
Math,
7 months ago
Social Sciences,
11 months ago
English,
11 months ago
English,
11 months ago