+ 1

fill in the blanks to create a valid program that takes a string input

How to solve it? Java lesson

12th Jun 2023, 9:07 AM
Haju Kox
Haju Kox - avatar
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...
12th Jun 2023, 9:22 AM
Jayakrishna 🇼🇳
0
[Type] java.util.Scanner; class Demo { public static void main (String[ ] args) { Scanner sc = new [Type] (System.in); [Type] nick = sc. [Type] (); } }
12th Jun 2023, 9:13 AM
Haju Kox
Haju Kox - avatar
0
I need a '[Type]' fragments
12th Jun 2023, 9:14 AM
Haju Kox
Haju Kox - avatar