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

What are the types of sockets in java?

1136


Difference between vector and arraylist.

1106


How long will it take to learn java?

984


What is the purpose of encapsulation?

1006


What is difference between next () and nextline () in java?

982


List two java ide’s?

1040


How will you load a specific locale?

970


What is jagged array in java?

1077


What is the need of transient variables in Java ?

1065


Explain about complier design(phases)

1079


Write a program based on Java script program.

1126


Is java good for beginners?

1008


What is the purpose of skeleton and stub?

1225


What is the difference between pass by reference and pass by pointer?

1086


What does @override mean?

1195