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 the difference between iterator and enumeration ?

955


What is e in java?

908


What is heterogeneous in java?

900


What is the requirement of thread in java?

994


Where import statement is used in a java program?

1077


Can you give few examples of final classes defined in java api?

953


Does a class inherit the constructors of its superclass in java programming?

1009


What is the use of using enum to declare a constant?

956


Explain super keyword in java.

993


What is keyword and identifier?

1079


Why is stringbuffer thread safe?

1004


Does substring create a new object?

946


Explain restrictions on using enum?

1009


Explain the difference between an Interface and an Abstract class?

1113


what is predefined function in java?

936