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 / priyanka

int a;
a=Integer.parseInt(cin.readLine());

Is This Answer Correct ?    7 Yes 7 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is argument in java?

1022


How are the elements of a gridbaglayout organized?

1065


What is n in java?

953


Which is faster string or stringbuilder?

928


What is an example of a constant variable?

1089


How many times finalize method will be invoked? Who invokes finalize() method in java?

1020


Is a copy constructor?

1061


How to print nodes of a Binary tree?

2251


What is a boolean field?

960


What is the abstraction?

1020


How do you know if a value is nan?

1059


Explain the difference between protected and default access.

999


Can a serialized object be transferred via network?

963


Why doesn't the java library use a randomized version of quicksort?

995


Can a static class have a constructor java?

988