Results 1 to 2 of 2
  1. #1
    Yaozkiie is offline Member
    Join Date
    Jan 2013
    Posts
    1
    Rep Power
    0

    Question Need Help! New to java!

    My professor asked us to create a program that asks a question wherein it is multiple choice, therefore


    (a) .... (b) .... (c)....

    now, he wants us to make an exception stating that only letters can be entered and not a integer!

    If the user enters an integer, the question will printout an error message and loop the question again.

    P.S.
    This has already been solved, but still asking if there are other ways. :D
    I didn't copy the codes my professor showed us. :D

    Please help! :D

  2. #2
    Norm's Avatar
    Norm is online now Moderator
    Join Date
    Jun 2008
    Location
    SW Missouri
    Posts
    17,267
    Rep Power
    25

    Default Re: Need Help! New to java!

    The Character class has methods for determining the type of a character.
    If you don't understand my response, don't ignore it, ask a question.

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •