-
Can Anyone Explain the Output of This Program
almost 6 years ago
-
about 5 years ago
first output if user enter a number is integer like input is 3 then output is 3
if user enter string or character etc error exception would be there
for second output it would be empty cause nextLine() is used
sample:-
Enter something
3
The thing entered is:3
Now enter a string
The entered String is: -
1 Answer(s)