Great problem to a young problem

i wrote a programme to accept integer 1-12 as months jan-december.
And i'm getting the following error
month.java:42: sysmbol cannot be found
symbol: method parseInt(java.lang.String)
Location: class month
pickmonth = parseInt(mth.ReadLine());
1 error
my programme is
import java.io.*;
import java.lang.*;
public class month
     public int displayMonth(int pickmonth)
          switch(pickmonth)
               case 1: System.out.println("January");break;
               case 2: System.out.println("February");break;
               case 3: System.out.println("March");break;
               case 4: System.out.println("April");break;
               case 5: System.out.println("May");break;
               case 6: System.out.println("June");break;
               case 7: System.out.println("July");break;
               case 8: System.out.println("August");break;
               case 9: System.out.println("September");break;
               case 10: System.out.println("October");break;
               case 11: System.out.println("November");break;
               case 12: System.out.println("December");break;
               default: System.out.println("The month does not exist");
          return pickmonth;
     public static void main(String args[])
          int pickmonth;
          BufferedReader mth = new BufferedReader(new InputStreamReader(System.in));
          month xmonth;
          xmonth = new month();
          System.out.println("1-12 stand for the months of the year.Thats, January-December.");
          System.out.println("Type a number to choose a month");
          while (pickmonth ==0)
          System.out.println("Enter a month");
          pickmonth = parseInt(mth.readLine());
          xmonth.displayMonth(pickmonth);
}

Either you used to have a "parseInt" method, or maybe you wanted:
pickmonth = Integer.parseInt(mth.readLine());<!--[if true]><br><br><img src="http://www.kodcu.com/kodcu/html/02_a_files/duke.running.jpg"><br><br><![endif]-->

Similar Messages

  • Great Problemes after installing Yosemite (10.10.2 ) with Photoshop CS6....The program crashes --last time 10 times during my work session..wacomtable doesnt work..it is slow...and get error messages about the graphic card....It s a Terror to work with my

    great Problemes after installing Yosemite (10.10.2 ) with Photoshop CS6....The program crashes --last time 10 times during my work session..wacomtable doesnt work..it is slow...and get error messages about the graphic card....It s a Terror to work with my beloved Photoshop!

    The Yosemite upgrade very often damages existing Photoshop installations.  Thank Apple for that.
    You need to uninstall and re-install Photoshop, then apply all the Photoshop upgrades from scratch.
    But first, give us details about your setup:
    BOILERPLATE TEXT:
    Note that this is boilerplate text.
    If you give complete and detailed information about your setup and the issue at hand,
    such as your platform (Mac or Win),
    exact versions of your OS, of Photoshop (not just "CS6", but something like CS6v.13.0.6) and of Bridge,
    your settings in Photoshop > Preference > Performance
    the type of file you were working on,
    machine specs, such as total installed RAM, scratch file HDs, total available HD space, video card specs, including total VRAM installed,
    what troubleshooting steps you have taken so far,
    what error message(s) you receive,
    if having issues opening raw files also the exact camera make and model that generated them,
    if you're having printing issues, indicate the exact make and model of your printer, paper size, image dimensions in pixels (so many pixels wide by so many pixels high). if going through a RIP, specify that too.
    A screen shot of your settings or of the image could be very helpful too,
    etc.,
    someone may be able to help you (not necessarily this poster, who is not a Windows user).
    Please read this FAQ for advice on how to ask your questions correctly for quicker and better answers:
    http://forums.adobe.com/thread/419981?tstart=0
    Thanks!

  • Ora-12547 and ora-12560 Great Problem

    Hello. Sorry for my english.
    I've a great problem.
    My server hp with 4 processor and 8 gb memory and oracle 9.2.0.6 and linux Red Hat Advanced Server have one great problem. If the connected user are 70 or more , I can't connect from the client with sqlplus name/password@service_name, but I can connect from the server with sqlplus name/password. sqlplus give me ora-12547 and if I launch sqlplus and after write user and password it give me ora-12560
    If the session are 69 or less I can connect from the client and I can connect from the server.
    The main applicatio work becaus it call oracle directly from server, but when the users are more then 70 I can't use odbc or Enterprise Manager Console from the client.
    Any ideas ? Thank you.
    Luca

    MY INIT.ORA
    # $Header: init.ora 06-aug-98.10:24:40 atsukerm Exp $
    # Copyright (c) 1991, 1997, 1998 by Oracle Corporation
    # NAME
    # init.ora
    # FUNCTION
    # NOTES
    # MODIFIED
    # atsukerm 08/06/98 - fix for 8.1.
    # hpiao 06/05/97 - fix for 803
    # glavash 05/12/97 - add oracle_trace_enable comment
    # hpiao 04/22/97 - remove ifile=, events=, etc.
    # alingelb 09/19/94 - remove vms-specific stuff
    # dpawson 07/07/93 - add more comments regarded archive start
    # maporter 10/29/92 - Add vms_sga_use_gblpagfile=TRUE
    # jloaiza 03/07/92 - change ALPHA to BETA
    # danderso 02/26/92 - change db_block_cache_protect to dbblock_cache_p
    # ghallmar 02/03/92 - db_directory -> db_domain
    # maporter 01/12/92 - merge changes from branch 1.8.308.1
    # maporter 12/21/91 - bug 76493: Add control_files parameter
    # wbridge 12/03/91 - use of %c in archive format is discouraged
    # ghallmar 12/02/91 - add global_names=true, db_directory=us.acme.com
    # thayes 11/27/91 - Change default for cache_clone
    # jloaiza 08/13/91 - merge changes from branch 1.7.100.1
    # jloaiza 07/31/91 - add debug stuff
    # rlim 04/29/91 - removal of char_is_varchar2
    # Bridge 03/12/91 - log_allocation no longer exists
    # Wijaya 02/05/91 - remove obsolete parameters
    # Example INIT.ORA file
    # This file is provided by Oracle Corporation to help you customize
    # your RDBMS installation for your site. Important system parameters
    # are discussed, and example settings given.
    # Some parameter settings are generic to any size installation.
    # For parameters that require different values in different size
    # installations, three scenarios have been provided: SMALL, MEDIUM
    # and LARGE. Any parameter that needs to be tuned according to
    # installation size will have three settings, each one commented
    # according to installation size.
    # Use the following table to approximate the SGA size needed for the
    # three scenarious provided in this file:
    # -------Installation/Database Size------
    # SMALL MEDIUM LARGE
    # Block 2K 4500K 6800K 17000K
    # Size 4K 5500K 8800K 21000K
    # To set up a database that multiple instances will be using, place
    # all instance-specific parameters in one file, and then have all
    # of these files point to a master file using the IFILE command.
    # This way, when you change a public
    # parameter, it will automatically change on all instances. This is
    # necessary, since all instances must run with the same value for many
    # parameters. For example, if you choose to use private rollback segments,
    # these must be specified in different files, but since all gc_*
    # parameters must be the same on all instances, they should be in one file.
    # INSTRUCTIONS: Edit this file and the other INIT files it calls for
    # your site, either by using the values provided here or by providing
    # your own. Then place an IFILE= line into each instance-specific
    # INIT file that points at this file.
    # NOTE: Parameter values suggested in this file are based on conservative
    # estimates for computer memory availability. You should adjust values upward
    # for modern machines.
    # You may also consider using Database Configuration Assistant tool (DBCA)
    # to create INIT file and to size your initial set of tablespaces based
    # on the user input.
    # replace DEFAULT with your database name
    db_name=DEFAULT
    db_files = 80 # SMALL
    # db_files = 400 # MEDIUM
    # db_files = 1500 # LARGE
    db_file_multiblock_read_count = 8 # SMALL
    # db_file_multiblock_read_count = 16 # MEDIUM
    # db_file_multiblock_read_count = 32 # LARGE
    db_block_buffers = 100 # SMALL
    # db_block_buffers = 550 # MEDIUM
    # db_block_buffers = 3200 # LARGE
    shared_pool_size = 3500000 # SMALL
    # shared_pool_size = 5000000 # MEDIUM
    # shared_pool_size = 9000000 # LARGE
    log_checkpoint_interval = 10000
    processes = 50 # SMALL
    # processes = 100 # MEDIUM
    # processes = 200 # LARGE
    parallel_max_servers = 5 # SMALL
    # parallel_max_servers = 4 x (number of CPUs) # MEDIUM
    # parallel_max_servers = 4 x (number of CPUs) # LARGE
    log_buffer = 32768 # SMALL
    # log_buffer = 32768 # MEDIUM
    # log_buffer = 163840 # LARGE
    # audit_trail = true # if you want auditing
    # timed_statistics = true # if you want timed statistics
    max_dump_file_size = 10240 # limit trace file size to 5 Meg each
    # Uncommenting the line below will cause automatic archiving if archiving has
    # been enabled using ALTER DATABASE ARCHIVELOG.
    # log_archive_start = true
    # log_archive_dest = disk$rdbms:[oracle.archive]
    # log_archive_format = "T%TS%S.ARC"
    # If using private rollback segments, place lines of the following
    # form in each of your instance-specific init.ora files:
    # rollback_segments = (name1, name2)
    # If using public rollback segments, define how many
    # rollback segments each instance will pick up, using the formula
    # # of rollback segments = transactions / transactions_per_rollback_segment
    # In this example each instance will grab 40/5 = 8:
    # transactions = 40
    # transactions_per_rollback_segment = 5
    # Global Naming -- enforce that a dblink has same name as the db it connects to
    global_names = TRUE
    # Edit and uncomment the following line to provide the suffix that will be
    # appended to the db_name parameter (separated with a dot) and stored as the
    # global database name when a database is created. If your site uses
    # Internet Domain names for e-mail, then the part of your e-mail address after
    # the '@' is a good candidate for this parameter value.
    # db_domain = us.acme.com # global database name is db_name.db_domain
    # FOR DEVELOPMENT ONLY, ALWAYS TRY TO USE SYSTEM BACKING STORE
    # vms_sga_use_gblpagfil = TRUE
    # FOR BETA RELEASE ONLY. Enable debugging modes. Note that these can
    # adversely affect performance. On some non-VMS ports the db_block_cache_*
    # debugging modes have a severe effect on performance.
    #_db_block_cache_protect = true # memory protect buffers
    #event = "10210 trace name context forever, level 2" # data block checking
    #event = "10211 trace name context forever, level 2" # index block checking
    #event = "10235 trace name context forever, level 1" # memory heap checking
    #event = "10049 trace name context forever, level 2" # memory protect cursors
    # define parallel server (multi-instance) parameters
    #ifile = ora_system:initps.ora
    # define two control files by default
    control_files = (ora_control1, ora_control2)
    # Uncomment the following line if you wish to enable the Oracle Trace product
    # to trace server activity. This enables scheduling of server collections
    # from the Oracle Enterprise Manager Console.
    # Also, if the oracle_trace_collection_name parameter is non-null,
    # every session will write to the named collection, as well as enabling you
    # to schedule future collections from the console.
    # oracle_trace_enable = TRUE
    # Uncomment the following line, if you want to use some of the new 8.1
    # features. Please remember that using them may require some downgrade
    # actions if you later decide to move back to 8.0.
    #compatible = 8.1.0

  • I got the ipad mini wi-fi version. Recently I've passed on ios7.02 and now my normal access to wi-fi became a great problem. Is any possibility to resolve this problem?

    I got the ipad mini wi-fi version. Recently I've passed on ios7.02 and now my normal access to wi-fi became a great problem. Is any possibility to resolve this problem?

    Hello bettyf25
    There could be a few things that could cause that issue. One is to make sure that the router settings are set to the recommended settings. The other is to go through the troubleshooting steps lied out in the articles below. This should give you a good starting point to get the issue resolved.
    iOS and OS X: Recommended settings for Wi-Fi routers and access points
    http://support.apple.com/kb/HT4199
    iOS: Troubleshooting Wi-Fi networks and connections
    http://support.apple.com/kb/TS1398
    Thanks for using Apple Support Communities.
    Regards,
    -Norm G.

  • Great problems with K7N2G-ILSR onboard raid controller

    I have really great problems with my s-ata raid controller. First of all i had a 40GB HDD attached to IDE3. Worked really fine.
    Later on my system crashed and my raid controller seemed to be dead. (no "no array is defined" no "press crtl-f to enter setup,...).
    Then I attached a s-ata drive to the first s-ata interface. Suddenly the raid controller said: "no array is defined, press ctrl-f to enter setup". I entered setup an built an array an restarted my computer. Again: "No array is defined, press crtl-f to enter setup."
    Now my raid controller seems to be dead again cause it doesnt say a word again.
    Please help me if you can. (Besides i tried to solve the problem with updating my bios. I tried all versions from v1.0 to v1.3 but there was no result.)

    I have already tried two different types of Ram. 512 MB DDR 333 (I don't know the timing exactly but it's a CL2.5 Ram) and another one from a different manufacturer. Also DDR 333 CL 2.5. Then I combined both. But the raid controller didn't show any reaction and I can't imagine that the problem is the power supply because everything else works fine. Anyway... I will try to get a new K7NG2-ILSR on guarantee, sell my whole computer and buy the new K7N2-Delta because I have only problems with the K7N2G-ILSR.

  • Great problem please help

    hi,
    im just new to j2mej and got a problem, while i was running the "Deitel and Delitel advance java 2 programming" chapter 12 last example. i made a servlet and requested it from mobile device. now when i run servlet all goes fine and when i run midip code. first the screen comes asking to use "air time", i click YES and then comes screen saying
    Warning: To avoid potential deadlock, operations that may block, such as
    networking, should be performed in a different thread than the
    commandAction() handler.
    after that all goes blank
    no function
    no exception
    nothing at all
    can any one tell me wats gone wrong
    please help me im in great need i have to submit a assignment......
    thaks in advance.

    Hi,
    Check if the application uses a seperate Thread to connect to the server. If the connection is made in the same thread. then it causes blocking coz the thread will be waiting to read data from the server during which it will not respond to key press events.
    http://developers.sun.com/techtopics/mobility/midp/articles/threading2/
    Prabhu.

  • E72: a great problem with my cam

     Hi, all!!
    That's one problem with my cam: when recording video on flash card there are some delays in picture changing and the image become smooth and then divide into squares??? how can i solve this bug???
    ps: everything is ok when i record on the phone memory!
    Thank you

    Dearest nokia representatives....my problem is in the video recording mode..when i'm in the middle of recording,the motion in the screen moves slowly for about half a second..and sometimes it stucks before it went back normal and then again stuck...i'm terribly angry when i'm recording the precious moment s. i'm using the high quality setting and when i used the normal setting,the problem is gone but the picture is not good as the high quality setting.......
    please solve my problem anybody/nokia?!...

  • GREAT problem with C6-00 General keypad PLEASE ATT...

    Hello
    I just bought my new c6-00 nokia mobile, i realized on openning the general keypad from the home screen (in touch mode) and then choosing options > open keyboard that i cant switch to more characters except the main character of the button
    Ex: if want to write bbbb, on pressing the button number 2 more times it stills write aaaa and dont switching to b, the same state with other buttons..
    This problem exists only on choosing open keyboard from options after selecting the general keypad from the home screen.
    I think that this problem exists in all c6-00 softwares, i hope that nokia can found a suitable solution or update for that..
    Thanks alot

    @ sudhakar35
    i am talked about the general touch keypad not other keypads like the touch keypads found in (messages or any one else), the problem is found only in the general keypad that found on the home screen  (open it then-> options -> open keyboard) and try to switch between letters then please till me if it works correctly or not,,,
    thank you

  • Great Problem with Usb

    Dear Customers,
    i have a powerbook g4 1.67 15' with Tiger last version.
    Since a couple of days the computer works perfect, BUT everytime the computer goes in standby ( generally after 10 minutes of unuse) than every USB stop working...even if i put an external Hd , i can see that there is no energy to the device. After rebooting , everithing goes well and all works.
    Someone had this problem? Is a software problem ( i have to reinstall the operating sistem) or is an hardware problem?
    i tryed to work with all the utility checking but i cannot solve th eproblem. maybe the hd have some problems?

    To pretty much eliminate that software is a problem, load the combo 10.4.11 update. Repair permissions first, do the update, then repair permissions again. You can download it from http://support.apple.com/kb/DL170 . Then run Software Update afterwards.
    Have you run the Apple hardware test? Find your original OS X disks, and insert the one that says 'AHT Version x.x' in small print on the label. Reboot holding the alt/option key down and choose the Apple hardware test. When prompted, choose the extended test. Does that identify any hardware issues?

  • E52 GREAT PROBLEM AFTER FIRMWARE 031.012

    After this upgrade is impossible to create a new email account
    When i try to create a new email account (after insert mail and password)the phone don't finish the installation and return to first page of mail configuration with all type of mail provider(ovi,gmail,yahoo etc)
    I overwrite new firmware,I make an hard reset but with no news.
    Incredible!What can I do??I'm without mail!!!
    Sorry for my english

    Same Problem here.
    My Phone came with this firmware.
    I could create a google mail sync the very first time, but after trying a bit around, I deleted it again and can't set up a new one.
    BUT: I could create a google calendar sync account with a mail for exchange account:
    /t5/Eseries-Devices-and/E52-with-Gmail-Mail-for-Ex​change-AGAIN/m-p/566242
    This still works, but no gmail email!
    Help is welcome
    Greetings

  • OSX 10.4.6 Update give great problems with Intel

    This my first time on apple discussions.
    Y work with OSX almost a month and today I sign up to upgrade 10.4.6
    Terrify. Y have needed to restart the computer out of extensions by recomendation of the shopper. The shopper says that this upgrade dont´work with the new models of apple computers based on intel. I lost several tipografies and I can't make security copies and work with my digital tablet.
    The shopper says tat is necesary make a new instalation since the begining and
    the cost of this is for my count. He says that is not his guilty and that I need contact apple and make a reclamation.
    By the moment I beg if you know some solution or wherw I can demand.

    No, Archive & Install does not erase your files or network settings. remember there are two problems going on right now. Security Update 2006-003 fouls Acrobat and causes it to lock up the system. So go back to an OS without that securityy update. For instance, 10.4.6 works without that Security Update.
    The Quicktime 2 update is the cause of systems not rebooting. See this link.
    http://www.macworld.com/news/2006/05/24/cs2quicktime/index.php

  • The Great Problem Of Puyo

    HI all!!
    I am facing the same problem of Puyo and i want solution of the same.
    I am new this gaming aera and cant help myself.
    P help me.
    my email is [email protected]
    Pl help.
    Message was edited by:
    adi_007
    Message was edited by:
    adi_007

    Post in the official Puyo Puyo thread, please. You
    will get the appropriate reply there.XD

  • Calendar great problem.

    Hello everybody.
    I have a gregorianCalendar instance with a date, for instance thursday first of march 2007. I am creating a service which alerts you every two weeks.....it means, it should alert thursday 15th of march, and thursday 29th, and thursday 12th of april and so on.
    Well, in my method I receive a date (current date) and I need to know if today i have to alarm. I can easily check if today is thursday, but i can not know if this week i have to alarm, or if i alarmed last week and have to wait until next week.
    I tried getting times in milliseconds and trying to know if the actual day is a 'multiple' of 15, but the problem is when you have leap years and so.....
    Any of you any method or class to achieve my purpose?????
    I am sorry for so much writing and thank you very very much.

    Thank you very much for answering!!
    Ok, checking the week of the year could be a solution, but when you change the year (several times) you have a potential problem. Keeping track is not possible, because you don't really have to give the alert every two weeks.....you only need to give the alertunder some circunstances, and maybe you can be a year without giving the alarm.
    And calculating from initial time could be fine, but if we are in 2014 and the iniDate is in 2007, and no alarms have been given in all this time, calculation time could be huge...and another requirement is that the application is time critical.
    I just asked if someone knows a specific method/class/algorithm to check this case quickly. I am thinking, but at the moment only slow options came up!!!
    Thank you very very much.
    Regards

  • DST makes a great problem

    We have a problem with DST in Cairo, Egypt as we don't change time in the summer anymore. When ever i connect my iphone to the internet the time changes automatically which affects my alarms and all the programs that depend on time. What can we do?

    There have been other posts on this matter. The decision to not go to DST was only recently made after the normal implementation of DST occurred. It will take some time for Apple, Microsoft and providers to make updates to their software to reflect this change.

  • We have a great problem concerning playbook over international

    hi, i would like to buy a playbook wifi only due to its price and a very reliable device with a blackberry mobile phone. the biggest problem is that the authorized reseller dont sell in my country. i tried to contact the headquarters, no answer until now. i leave a feedback, no result. i've also try ebay and amazon i prefer not to trust them. i live in a little country far away from US, eurpoe and asia. i would like to have the facility to get one even i will gona pay the shipping too. what should i do? the support service is not working too. its quite a disaster for me!!!

    What country are you from?
    Click here to Backup the data on your BlackBerry Device! It's important, and FREE!
    Click "Accept as Solution" if your problem is solved. To give thanks, click thumbs up
    Click to search the Knowledge Base at BTSC and click to Read The Fabulous Manuals
    BESAdmin's, please make a signature with your BES environment info.
    SIM Free BlackBerry Unlocking FAQ
    Follow me on Twitter @knottyrope
    Want to thank me? Buy my KnottyRope App here
    BES 12 and BES 5.0.4 with Exchange 2010 and SQL 2012 Hyper V

Maybe you are looking for

  • OIM 9.1.0.2 wont start after upgrade

    I have upgraded OIM 9.1.0.1 to 9.1.0.2 following the document from the patch. On running xlStartWLS.cmd to start the WebLogic domain - The command window just closes off in a second. Below is the output from xlStartWLS.cmd command I couldn't figure-o

  • How do I restore CD tracks lost with the iTunes 11 upgrade?

    I had over 500 songs loaded from CD's that iTunes 11 cannot locate on my MacPro library.  Example:  Beach Boys "Sounds of Summer" album: 1.  All the tracks from this CD have an exclamation point in front of the song title 2.  When I click on the trac

  • How to find the menu path ?

    Hi all, I have one doubt how do we find out the correct menupath if we know the t-code ? for example, SE11 -DDIC we can also obtain the same DDIC screen via menupath from SAP main screen. if I know only t-code.how can i find out the menupath ? thnks

  • Unable to see tables in Connections View

    Hi I'm new to Oracle SQL Developer (1.5.4). I have successfully created and tested my connections. However, the tables won't appear under the Table Tree and same fot the rest. Can someone please assist me? Cheers

  • Impossible commander des tirages iphoto

    Bonjour, Je possède un Mac Book blanc core 2 duo, OS X 10.7.5 et iphoto'08(7.1.5)(378). Depuis quelques jours, une fenêtre de dialogue m'indique que la commande de tirage n'est plus prise en compte par Iphoto7 et me redirige vers l'achat d'iphoto 9.5