Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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

Answer Posted / dilshad

there r 2 ways to give the input ,


one is from command-line argument at run time.......


and the another one is to use readLine method of
DataInputStream class.............

Is This Answer Correct ?    33 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How do you escape a string?

913


Can we write class inside a class in java?

920


What data structures are used to perform recursion?

990


How can we use primitive data types as objects?

900


Explain when noclassdeffounderror will be raised ?

988


What is difference between iterator access and index access?

1012


What is integers and example?

921


How do you break a loop?

926


Can we have any code between try and catch blocks?

927


Where to store local variables?

1034


What is the static import?

1044


How do you check if a character in a string is a digit or letter?

1009


What is void in java?

1013


What is your platform?s default character encoding and how to know this?

2321


What is null data type?

1004