how can i take the inputs from users in java program?

Answer Posted / desai.ankita0422@gmail.com

using Scanner with next function

Is This Answer Correct ?    0 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How do you escape a string?

508


When does a class need a virtual destructor?

532


Difference between string, stringbuffer and stringbuilder?

567


What are the advantages of assembly language?

503


What are the string methods in java?

584






What is native code?

538


Write a java program to count the number of words present in a string?

537


how to handle exceptions in ejb?

1876


I don’t want my class to be inherited by any other class. What should I do?

579


What does microservices mean?

535


Does isempty check for null?

561


What is callablestatement? How you can call stored procedure to pass in parameter?

545


Where local and global variables are stored?

545


What is a null check?

539


Can constructor be inherited?

577