The stupidest question i ever asked....

i need to read a character but dont know how, lol
i tried the nextChar() method of the scanner class but that doesn't work....

i need to read a character but dont know how, lol
i tried the nextChar() method of the scanner class
but that doesn't work....Correct, the Scanner class doesn't have a nestChar() method.
See: http://java.sun.com/j2se/1.5.0/docs/api/java/util/Scanner.html
What you could do is this:
Scanner input = new Scanner(System.in);
try {
    System.out.print("Enter a character: ");
    char c = (input.nextLine()).charAt(0);
} // ...Good luck.

Similar Messages

  • This is the stupidest question anyone has ever asked I'm sure.  But how in the world do you turn the music off?  If I just turn the sound off, then it doesn't want to work in other apps either and the music just goes on and on.

    I have the dumbest question.  Is there an off button just for the music?  I can't get my music to stop playing. When I turn the sound off, the music goes on and on and the sound won't work on other apps.  Am I doing something worng?  Haven't had this thing very long.

    You can download a complete iPad User Guide here: http://manuals.info.apple.com/en/ipad_user_guide.pdf
    Also, Good Instructions http://www.tcgeeks.com/how-to-use-ipad-2/
    Apple - iPad - Guided Tours
    http://www.apple.com/ipad/videos/
    Watch the videos see all the amazing iPad apps in action. Learn how to use FaceTime, Mail, Safari, Videos, Maps, iBooks, App Store, and more.
    iPad How-Tos  http://ipod.about.com/lr/ipad_how-tos/903396/1/
    You can download this guide to your iPad.
    iPad User Guide for iOS 5
    http://itunes.apple.com/us/book/ipad-user-guide-for-ios-5/id470308101?mt=11
     Cheers, Tom

  • The stupidest question ever about my impending ins...

    Hello
    I am having Infinity 1 installed on Tuesday.
    My Homehub 4 has just been delivered. I've had a flick through the booklet.
    Here's the stupid question
    Does the engineer come with the Openreach Modem for when he installs Infinity to my house?
    You can laugh now
    Solved!
    Go to Solution.

    yes
    If you like a post, or want to say thanks for a helpful answer, please click on the Ratings star on the left-hand side of the post.
    If someone answers your question correctly please let other members know by clicking on ’Mark as Accepted Solution’.

  • This is the same question I've asked 3x in 24 hours, but it doesn't appear in the listing. Maybe I need help in phrasing questions?:)Q. why can I play some DVDs on my MacBook Pro but not on desk top Apple (they're both -1 year olds

    Hi
    This'll be my third attempt in 24 hrs to ask the same question. maybe I need guidance on phrasing questions?:)
    Q. Why can I always play DVDs on my MacBook Pro but not always on my desk top Apple. They're both less than  year old. The desk top sometimes displays a message that says I have to change regions (from Australia to South America...doh...)

    Region Code 4:
    Mexico, Central and South America, and the South Pacific.
    Includes Antigua and Barbuda, Argentina, Aruba, Australia, Bahamas, Barbados, Belize, Bolivia, Brazil, British Virgin Islands, Chile, Colombia, Costa Rica, Cuba, Dominica, Dominican Republic, Ecuador, El Salvador, Falkland Islands, French Guiana, Grenada, Guatemala, Guyana, Haiti, Honduras, Jamaica, New Guinea, New Zealand, Nicaragua, Panama, Paraguay, Peru, Suriname, Trinidad and Tobago, Uruguay, Venezuela
    Apparently my first response was off in left field.  The DVD player has its own code.  My recommendation is to change the code when it asks.  It is possible that the disks that play correctly are region-free and the ones that don't have a region code.  If this does not work, you still have four more changes available; you won't be stuck with the new code.

  • Maybe the stupidest question ever, but Please Help

    I read on this forum that I should use the link provided to get the 10.4.9 combo update and that I should use that instead of the one provided in the regular software update. So I downloaded this combo update tomy desktop.
    http://www.apple.com/support/downloads/macosx1049comboupdateintel.html
    It opened in the Finder window, and now I don't know where to drag it. does it go in Applications, or where????
    Thanks.

    I also downloaded the Combo update for macbook pro today.
    But instead of getting a dmg file and double clicking it, etc. I had a different experience.
    I just went to the apple page that had the download,
    the clicked the download button, and the download began.
    Then when when the download ended, the software installed itself. I only had to answer a few questions, like where do i want to install it, and agree to terms of use, etc.
    But i didn't have to double click a .DMG file or drag to application forlder.
    Why was my way different?

  • I don't know the answers to the security question that are asked to buy songs in i tunes. Do you guys have any sugestions

    Question
    Header 1
    Header 2
    Header 3

    You need to ask Apple to reset your security questions. To do this, click here and pick a method; if that page doesn't list one for your country or you're unable to call, fill out and submit this form.
    (115925)

  • May be the stupidest question, but anyway - where do I put my libraries?

    So, I download the Java Activation Framework, MAIL api, beanshell, etc. I get a nifty directory with not only the JAR but the javadocs etc.
    Where do people put these things on MAC OsX? I'm sure there's a best practice based on standards for where things go in unix.

    You put them whereever you like to have them, and add them to your classpath...

  • How can I delete the first question, which is still there, that I ever asked in this community support, and that I have already had answered.

    The asking of questions and responding to answers on the support pages is a bit more complicated than I think it should be. The first question I ever asked was answered by a community member, but when I go to ask other questions, that first question is still there. Somehow I bypass that at times and get another question in, as right now. But why does that first question remain? I thought I said in the answers that my question had been answered, and replied to the person who answered it with my thanks.

    Hi Ideato:
    I was not talking about the questions that are in the question and answer section. I mean the question that I keyed in when asked for a summary of my question in one sentence, before it ever gets posted. You are right, of course, that questions and answers from someone else can be helpful to a lot of people.
    CuriosityCat

  • How do I Find The List Of All The Questions I have Asked?

    Hello:
    I have asked this question once before and someone was able to give me a link to my profile where I quickly found the list of all the questions I have ever asked on the forum.
    I have not been on the forums for many months now and so I was just checking in and once again I cannot find that list of my questions.
    Sure, I am over tired tonight but still ... I would think there would be a .... HERE'S ALL YOUR QUESTIONS YOU EVER ASKED ... button or what have ya
    Can someone kindly point me to where in our Profiles the list of our questions is located?  sure would great appreciate it a bunch.
    Thanks for your time,
    Kara

    Click on your profile to get to https://forums.adobe.com/people/Kar209
    Click on Content to get a list of all your topics: https://forums.adobe.com/people/Kar209/content
    Click on Participated on the left to get anything you've ever posted: https://forums.adobe.com/people/Kar209/content?filterID=participated
    [topic moved to Forum Comments forum]

  • Interview Questions I was asked....

    Hi all,
    The following are the Interview questions, i was asked and although i know answers littlebit, i dont know whether they are correct or not, so i am
    writing here to know answers and for your reference also.
    1) Can i use function as column of table ? if yes, how ?
    2) Sub Query and Joins, which one is better performance wise and how ?
    3) Using Sys_refcursor OR a set of OUT parameters, which one is better ?
    4) I am inserting data into table, what are the best options to avoid
    to insert invalid data ?
    5) I am loading data with some batch action or manually. After
    inserting few records, i have committed the data, but after that
    error occured. Now, how i will found, which data i have committed ?
    6) How Audit has been done in sql and pl/sql from Developer point of view or dba point of view ?
    Thanks,
    Pal
    Edited by: user546710 on Jan 21, 2011 3:26 AM

    user12075620 wrote:
    I don't think we can use the function as a column in a table. What John is referring to is a virtual column whose expression is defined af function call:
    SQL> CREATE SEQUENCE SEQ1
      2  /
    Sequence created.
    SQL> CREATE OR REPLACE
      2  FUNCTION F1
      3  RETURN NUMBER
      4  DETERMINISTIC
      5  IS
      6  BEGIN
      7      RETURN SEQ1.NEXTVAL;
      8  END;
      9  /
    Function created.
    SQL> CREATE TABLE TBL(
      2                   X NUMBER,
      3                   Y NUMBER GENERATED ALWAYS AS (F1())
      4                  )
      5  /
    Table created.
    SQL> INSERT
      2    INTO TBL(
      3             X
      4            )
      5    SELECT  LEVEL
      6      FROM  DUAL
      7      CONNECT BY LEVEL <= 5
      8  /
    5 rows created.
    SQL> SELECT  *
      2    FROM  TBL
      3  /
             X          Y
             1          1
             2          1
             3          1
             4          1
             5          1As you can see, column Y value was calculated as select time. Now I deliberately declared non-deterministic function F as deterministic to show you virtual column is calculated at select time. In the above select Oracle calls function F for the first returned row. Then, since F is declared as deterministic Oracle realizes there is no need to call F again (same parameters - actually same no parameters in this case therefore deterministic function should return same results). Same thing happens when we select again:
    SQL> /
             X          Y
             1          2
             2          2
             3          2
             4          2
             5          2
    SQL> /
             X          Y
             1          3
             2          3
             3          3
             4          3
             5          3
    SQL> As you can see, F is called each time we select so we can say that function is used as a column in a table.
    SY.

  • TS1436 when i try to burn a playlist to a blank cd it asks me all the right questions says it is initialising the burn then ejects the blank cd it never used to do this but always does it now so i am unable to burn cds

    When i try to burn a playlist to a blank cd it asks me all the right questions and appears to be doing it then the message 'initializing burn' comes up and the cd is ejected it never used to do this but always does it now so i am unable to burn cds. Can anyone help?

    When i try to burn a playlist to a blank cd it asks me all the right questions and appears to be doing it then the message 'initializing burn' comes up and the cd is ejected it never used to do this but always does it now so i am unable to burn cds. Can anyone help?

  • Can someone plz confirm me that how i can change or update the security questions related to my apple id? as i have been never put them since i create my apple id but now due to some security reasons its asking me again and again the answers. i am unable

    can someone plz confirm me that how i can change or update the security questions related to my apple id? as i have been never put them since i create my apple id but now due to some security reasons its asking me again and again the answers. i am unable to go through the process. thanks.

    Some Solutions for Resetting Forgotten Security Questions: Apple Support Communities

  • How do I change my security questions and answers without setting up a new account. I can't remember the answers to the questions that they ask.

    How do I change my security questions and answers without setting up a new account. I can't remember the answers to the questions that they ask.

    1. See my User Tip for some help: Some Solutions for Resetting Forgotten Security Questions: Apple Support Communities.
    2. Here are two different but direct methods:
        a. Send Apple an email request at: Apple - Support - iTunes Store - Contact Us.
        b. Call Apple Support in your country: Customer Service: Contacting Apple for support
            and service.
    3. For other queries about Apple ID see Frequently asked questions about Apple ID.
    4. Rescue email address and how to reset Apple ID security questions
    5. For online assistance use Apple - Support - Express Lane

  • I forgot the answers for the security questions and when I try to change them (My Apple ID - Manage your account - Password and Security) I'm asked to answer the exact questions I'm Trying to change because I don't remember the answers. How can I do it?

    I forgot the answers for the security questions and when I try to change them (My Apple ID -> Manage your account -> Password and Security) I'm asked to answer the exact questions I'm trying to change because I don't remember the answers. How can I do it?

    Can't you try the email option instead?

  • How can I buy songs on my account if it's asking me the security questions and I don't remember the answers and I do not have a rescue email?

    How can I but songs on my iTunes account if it is asking me the security questions and I don't remember the answers and I don't have a rescue email?

    And I cannot call.

Maybe you are looking for

  • Error while updating the Document  Numbering Form

    While attempting to update Document Numbering , I received the following error message: "Another user-modified table "(NNM1) (ODBC -2039) Message 131-183 What does this mean? thankx and regards, Vikas Gupta

  • Insert or update via ViewObjectImpl or ApplicationModuleImpl

    How can I insert or update a database from java code? I am attempting to do this in a subclass of ApplicationModuleImpl? The code below throws RowValException: JBO-27024: Failed to validate a row with key ConcUserLoginViewImpl culv =(ConcUserLoginVie

  • Binding MacBook to AD

    I'm able to bind my MacBooks to AD. The red dot with "Network Accounts Not Available" never disappears and/or turns green after it is bound. The symptoms are the same whether the connection is wired or wireless. I do get an IP address and confirmed t

  • TSV_TNEW_PAGE_ALLOC_FAILED in source system

    Hello all, when executing rsa3 for datasource 0activity_attr and 0activity_text system dumps with the TSV_TNEW_PAGE_ALLOC_FAILED error, this also occurs when loading in background from BW. We have a identical system and on this system it does work..

  • Unix command to repair disk permissions

    ARD 3.2.1 Send UNIX command>Template>Miscellaneous>Repair Disk Permissions This command works but the report does not show the results under the correct computer. If several computers are given the command, they report back under the next computer na