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

Answer Posted / prashant

With the help of Scanner class.

Is This Answer Correct ?    2 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

List some important features of java 10 release?

517


What is the difference between Error, defect,fault, failure and mistake?

660


What does @param args mean in java?

556


What an i/o filter in java programming?

608


What is the difference between compile-time polymorphism and runtime polymorphism?

568






What is the purpose of the main method?

545


What is binary search in java?

559


What is the difference between == and === javascript?

577


Difference between throw and throws?

622


What are dot operator queries?

629


What is the best way to findout the time/memory consuming process?

556


What are different types of multitasking?

547


Does substring start with 0?

556


How big is a gigabyte?

620


What is singleton pattern?

556