Computer Science, asked by BrainlyProgrammer, 5 hours ago

Question for Java Begginners

WAP in Java to determine the data type of the input given by the user.

Restriction:-
• You can't use any variables.

Good Luck ;)​

Answers

Answered by Oreki
4

\textsf{Using \textbf{Scanner's} \texttt{hasNext\#\#\#\#()} methods to get the data type.}

Attachments:

anindyaadhikari13: Perfect
Similar questions
Math, 7 months ago