+ 1
fill in the blanks to create a valid program that takes a string input
How to solve it? Java lesson
3 Answers
+ 4
What are your tries?
Have you completed previous corresponding lessons?
* see how to import ( a class Or library or package) !
* see How to create a Scanner object !
* See how to take a input of Specific type..
Mention your tries.. Understandings...
0
[Type] java.util.Scanner;
class Demo {
public static void main (String[ ] args) {
Scanner sc = new [Type]
(System.in);
[Type] nick = sc. [Type]
();
}
}
0
I need a '[Type]' fragments