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 is args length in java?

1178


What are "methods" and "fields"?

1028


What is the do while loop syntax?

1039


What is the use of bufferedreader?

997


What is the set interface in java programming?

1219


What is the similarity between dynamic binding and linking?

1124


What is difference between static and abstract class?

1008


How does thread synchronization occurs inside a monitor?

1110


What happens when you invoke a thread’s interrupt method while it is sleeping or waiting?

988


Are there structures in java?

978


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

1190


What is java reflection?

990


What flag up means?

1030


What is member in java?

1034


Can we have this () and super () together?

1048