Integer Input in Java

DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 2 of 2

Thread: Integer Input in Java

  1. #1
    Kenny Guest

    Integer Input in Java

    I am writing a program that requires me to have the user input two integers.
    This might sound easy, but i've never programmed in Java before. How would
    i do this?

  2. #2
    m Guest

    Re: Integer Input in Java

    Hay everyinput in java is a string. but when you read it read it with integer
    i = String.parseint(stringname). And you all set

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
HTML5 Development Center
Latest Articles
Questions? Contact us.
Web Development
Latest Tips
Open Source

   Development Centers

   -- Android Development Center
   -- Cloud Development Project Center
   -- HTML5 Development Center
   -- Windows Mobile Development Center