Is there a wright answer?

Hi all
Im very new to java.. Trying to run a programme in blue j editor and im getting the error "inentifer expected". any one know what that error means?
Ill post the part of the programme with the error
error line is in bold
public static void searchFlight(String s)
boolean search = false;
for(int index = 0; index < airlineArrayIn.length; index++)
if (currerent.getDest().equals(s)) return search = true; // Test front of list
else
System.out.println(airlineArrayIn.[index].getDest());
while( current.next != null) // scan through the list
current = current.next;
if(current.name.equals(s)) return current;
return null; // We have traversed the list without success
} // end of testing the rest (tail) of the list
} // end of searchList.

Take out the "." between the array and its index reference:
System.out.println(airlineArrayIn.[index].getDest());
should be
System.out.println(airlineArrayIn[index].getDest());

Similar Messages

  • Pixma MX 882 in if there is an answer machine on the line I can only receive faxes manually

    I have a Pixma MX 882. I was told a while back by Canon Support that if there is an answer machine on the same line as the Canon that I can only receive faxes manually. Has Canon solved the problem.?
    HP can do it, Brothers can do it, old Fax only machines can do it

    Hi mort,
    This is true...but let me clarify the setup for you.  The answering machine must be connected directly to the printer.   Your phone cord will come from the wall outlet, into your PIXMA MX882 (L port on your printer) and then out (from the phone port) to the answering machine.  With your printer connected between the wall outlet and the answering machine, the printer can "listen in" for a fax on the line when the answering machine picks up.  Be sure the printer is set to Tel Priority mode and the answering machine is set to pick up in about 3 rings.
    If this didn't work, or if you have any other questions, please feel free to Contact Us!
    Did this answer your question? Please click the Accept as Solution button so that others may find the answer as well.

  • How do you increase font size in Bridge using windows 7 and a 4k monitor?  It appears as though this issue has come up previously but there is no answer.

    How do you increase font size in Bridge using windows 7 and a 4k monitor?  It appears as though this issue has come up previously but there is no answer.

    Unfortunately this will require some new programming by Adobe and there's no way to know when that will happen. In the meantime, the only option I think you have available to you is to change your resolution so that your monitor is using fewer pixels per inch.
    Kinda blows the whole value of the newer monitor but I suppose you can switch back and forth from low res when you are working in Bridge to high res when you are working in PS.
    Sorry, but for the time being, that's about it.
    Best,
    Gary

  • I just got my ipad 2 and when i go to trun it on it has a picture with itunes prompting me to sync up. When i do this it does not sync up with my itunes. I can not turn my ipad2 on. Any one out there got any answers. Appreciate the help

    i just got my ipad 2 and when i go to trun it on it has a picture with itunes prompting me to sync up. When i do this it does not sync up with my itunes. I can not turn my ipad2 on. Any one out there got any answers. Appreciate the help

    The first thing that has to be done with a new iPad is to activate it via iTunes. What version of iTunes, and what spec computer, have you got ? The iPad's minimum requirements are (from http://www.apple.com/ipad/specs/)  :
    Mac :
    Mac computer with USB 2.0 port
    Mac OS X v10.5.8 or later
    iTunes 10.2 or later recommended
    (free download from www.itunes.com/download)
    iTunes Store account
    Internet access
    PC :
    PC with USB 2.0 port
    Windows 7; Windows Vista; or Windows XP Home or Professional with Service Pack 3 or later
    iTunes 10.2 or later recommended
    (free download from www.itunes.com/download)
    iTunes Store account
    Internet access
    Edit : there is troubleshootin here :
         pc - http://support.apple.com/kb/TS1538
         mac - http://support.apple.com/kb/TS1591
    Message was edited by: King_Penguin

  • HT1911 i cannot find my account password, i tried to receiving e-mail but there is no answer from itunes store.

    i cannot find my account password, i tried to receiving e-mail but there is no answer from itunes store.
    my account's e-mail has a word '+' for using multiple account to accessing another country's store.
    for example. 1. [email protected] 2. [email protected] 3. [email protected]
    like this.
    so, i forgot it. but there is no way to find my password.
    and i couldn't find any answer for this situation.
    i think there is a problem that my account has + word. so maybe apple's automatic answering system does not work with that.
    please help me. thank you.

    When you get into General just scroll all the way to the bottom. It's the last entry. For more help with this see:
    What to do before selling or giving away your iPhone, iPad, or iPod touch

  • Please fix my apple account. I cant update and download from app store. I wrote you before but there is no answer.  For example one message box i got says: Your Apple ID has been disabled.  But the itunes guy says, he cant help me. Who can?

    please fix my apple account. I cant update and download from app store. I wrote you before but there is no answer.
    For example one message box i got says: Your Apple ID has been disabled.
    But the itunes guy says, he cant help me. Who can? I can use my apple acounts, why?

    Try here first >  Apple ID: "This Apple ID has been disabled for security reasons" alert appears
    If you can't resolve the issue on your own, call Apple or schedule a call >   Apple - Support - Solutions
    Keep in mind, this is a user to user forum. You are not communicating directly with Apple here. No one here can fix your Apple iD.

  • Is there any final answer to why emails will not send when away from home IP?  Have san diego road runner.  emails send fine from home, but do not send when using another IP.

    Is there a final answer to why emails do not send from iphones when away from home IP?

    This is a common anti-spam technique for ISPs to prevent mail from being sent from anywhere other than your service location. Ask Road Runner if there are any specific settings you can use to circumvent this.

  • Are There Any Official Answers From Apple/Logic Team To All Our Questions?

    Are There Any Official Answers From Apple/Logic Team To All Our Questions Here?????
    Why is Logic's interface still heavy Graphically? My G5 Dual 2.5 with 5.5 Gig ram is not enough? see how Cubase handels graphics on the same machine or even ProTools??? by the way I am a Logic user for more than 15 years, so I guess Apple knows exactly that their clients are faithfull to their products so why Logic is still outdated in many aspects, if Apple does not have the intension to make Logic the industry STANDARD they can tell us clearly

    Thoughts???
    Sure; that if this was once an awesome app that i would either go back to that version or, having been seduced by new features etc., i find that i can't live without them then I would (and have ) dl Reaper (mac, free), try the Sonar7 demo bootcamped (a truly awesome app), find an le version of Cubase (there's no demo and the full version ain't cheap) and try 'em all out on a second machine over a long, slow weekend. They all have strengths and weaknesses. They all have problems for some users. if you can get around on one of them you can quickly gain passable competence on any of them and at the very least you'll learn new things you can do with Logic and, more than likely, learn that Logic is still your favorite. 8 is a major overhaul, it's bound to take a few patches to get it right. Do we want it to be perfect out of the box? Of course. Is that ever gonna' happen? Noooo ... but if it doesn't work, go back to 7, hassle Apple about and wait till the fix it.
    Good luck!

  • I found several charges on my bank account from Apple on App that is completely free. After calling the number showing on my bank statement there an automated answering that tells you to go to apple website!!! There is nobody to talk to!! Complete rip OFF

    I found several charges on my bank account from Apple on App that is completely free. After calling the number showing on my bank statement there an automated answering that tells you to go to apple website!!! There is nobody to talk to!! Complete rip OFF
    And now because I want to communicate with apple support I have to go through the hectic website and community support, this is ridiculous.
    I have 5 iPhones in my account and this makes me reconsider upgrading to iPhones again.
    Why Apple put a phone number in the bank transaction, if there is nobody to talk to!!!!!!
    I hope someone from Apple support can answer my question.

    Go to getsupport.apple.com.  Or, call 1-800-MYAPPLE.
    Just because an app is free to download doesn't mean that there aren't in-app purchases available.
    Go to iTunes on your computer, log into the iTunes Store with your Apple ID & password, and check your purchase history.  Be advised that all iTunes & App Store purchases are final.

  • I'm sure hoping someone out there has an answer...

    I have put 4 video clips onto iphone...itunes holds more than 4 clips but it is 'filled up' with 4 and won't move onto loading number 5 video clip into iphone...????

    Is there a question here? You have just made a statement; I don't think anyone knows what you want to know.
    The iPhone comes in 2 flavors - 4GB and 8GB. If you have loaded nothing but videos and your iphone is full (whichever model you have) then you have loaded some very large videos. iTunes breaks down how much storage your device has on it, how much is used, and it also breaks down the used space on the device by what type of file is using it up. Check it out under the "Summary" tab in iTunes when your iPhone is connected.

  • Sending chinese HTML with javamail - is there no definitive answer ?

    I'm using the following code to send a HTML and text e-mail
    (text for people with HTML-challenged email clients). I sent
    2 emails to 2 email addresses which reside on the same server
    - eg. [email protected] and [email protected] - and read the
    emails with the same e-mail client (Eudora) on the same PC.
    The HTML and Chinese displays perfectly when it's sent to one
    of the email addresses ([email protected]) but the HTML and
    Chinese are always corrupt when I send them to the other.
    This is a repeatable error and it has me completely stumped.
         // Example Initial values (drawn from a database) :
         String smtpHost = "mail.mydomain.com";
         String sender = "[email protected]";
         String subject = "Give me strength.... ";
         InternetAddress sender = new InternetAddress("[email protected]");
         InternetAddress receiver = new InternetAddress("[email protected]");
         String txtMsg = "a long text message blah...";
         String htmlMsg = "<h1>Wooo</h1><img src='http://mydomain.com/blink.gif'>";
         String language = "zh-tw" // can also be "en-us" or "zh-cn"
         // CREATE MAIL MESSAGE & HEADERS
         Properties props = System.getProperties();
         props.put("mail.smtp.host", smtpHost);
         Session session = Session.getDefaultInstance(props, null);
         Message msg = new MimeMessage(session);
         msg.setFrom(sender);
         msg.addRecipient(Message.RecipientType.TO, receiver);
         msg.setSubject(subject);
         msg.setSentDate(new Date());
         msg.setHeader("Mime-Version" , "1.0" );
         msg.setHeader("Content-Transfer-Encoding", "quoted-printable");
         // MESSAGE BODY - TEXT & HTML
         MimeMultipart mimeAllContent = new MimeMultipart("alternative");
         MimeBodyPart mimeText = new MimeBodyPart();
         MimeBodyPart mimeHtml = new MimeBodyPart();
         mimeText.setText(textMsg);
         mimeText.setHeader("Mime-Version" , "1.0" );
         mimeText.setHeader("Content-Type" , "text/plain");
         mimeText.addHeader("Content-Type", "charset=UTF-8");
         if (!language.equals("")) {
              mimeText.setHeader("Content-Language", language);
         mimeText.setHeader("Content-Transfer-Encoding", "quoted-printable");
         mimeHtml.setContent(htmlMsg, "text/html");
         mimeHtml.setHeader("Mime-Version" , "1.0" );
         mimeHtml.setHeader("Content-Type" , "text/html");
         mimeHtml.addHeader("Content-Type", "charset=UTF-8");
         if (!language.equals("")) {
              mimeHtml.setHeader("Content-Language", language);
         mimeHtml.setHeader("Content-Transfer-Encoding", "quoted-printable");
         mimeAllContent.addBodyPart(mimeText);
         mimeAllContent.addBodyPart(mimeHtml);
         msg.setContent(mimeAllContent);
         msg.setHeader("Content-Type" , mimeAllContent.getContentType());
         // SEND THE MESSAGE
         msg.saveChanges();
         Transport.send(msg);
         return true;
    Let me repeat - Using the code below, a HTML & Text ("Alternative"
    MimeMultiPart) message is sent, and arrives at the recipient's
    mailbox. When it is sent to one user ([email protected]), it never
    renders properly. When it is sent to another ([email protected]), it's
    OK. The destination server, email client, PC are the same in both
    cases and the only variable is the recipient's email address.
    How can this be ?
    I think I've gone overboard by setting the Content-Transfer-Encoding
    for both the HTML and Text MimeParts as well as the actual Message.
    Could somebody please confirm which parts I should set the Content-
    -Language, Content-Transfer-Encoding and Content-Type b/c I'm
    going in circles at the moment.
    Thanks indeed, to anybody who has experience sending doublebyte
    with Javamail and can help me clear this up once and for all.
    I find it incredible that after 3 years, there is still no
    definitive answer to accomplishing this, and it remains an
    elusive black art.
    Regards,
    chas
    ps. The data being sent is in MySQL not that that matters at all.

    Try adding code to validate submitted email addresses before they go into your database.
    String emailAddress = (from where ever)
    if(emailAddress != null) emailAddress = emailAddress.trim();
    if(emailAddress == null) // skip this address
    // I also check for a list of illegal internet email address characters, as I think the email addresses allowed by Javamail are too lenient.

  • DB connect. There is no answer at loading

    All hello
    I'm sorry for my bad English
    We have a connection with source  system MSSQL(DB connect).
    In transaction RSDBC by the button "Display Table Contents " Data in the table show
    But at loading in info-source in the monitor the yellow indicator and 0 records.
    In details "Extraction (messages): Missing messages" and "Missing message: Request received"
    Why in RSDBC I see records of the table, but at loading there is no communication with source system?

    Hi,
    with which user do you connect to your MSSQL?
    I suspect that your are connecting with sa and accessing a table/view like dbo.name. This doesn't work even if you see the data in RSDBC.
    If this is the case please create a BWUser in your MSSQL, create a view with this user and access the BWUser.viewname. That should fix it.
    Please also check the field names; there are some restrictions.
    hope this helps
    Olivier.

  • 4.4.4 upgrade. I can't answer my phone. I went to Dialer, Settings, but there is no Answer option.

    After 4.4.2 upgrade can't answer the phone when it rings. There is a screen with a phone handset in gray, but it doesn't respond to tapping on the screen.

        SMaB
    We definitely want you to answer your phone calls! Let's get this back up and running for you. Which make/model phone is having this trouble? If you power off and back on, does anything change? Are you able to make calls okay?
    RuthW_VZW
    Follow us on twitter @VZWSupport

  • Is there a Authentication answers attribute?

    We wish to be able to determine if a user has set their authentication questions via a SPML / SOAP call.
    Form what I understand the only attributes we can query are the query-able attribute stored within the IDM Repository. I do know we can add extended attributes but if there already is an attribute that IDM uses to determine if a user has already set their questions I would like to key off of that.
    Can anyone tell me if such an attribute exists or share a method to determine this?

    Well what I was thinking of trying to do was
    1) create an extended attribute 'questions_complete'
    2) Create a process that would check the presence of the waveset.questions[*].answer attribute for the user and if present update the 'questions_complete'
    3) I then would include this process within the workflow that sets the authentication questions.
    However, it appears that no such 'set authentication question' workflow exisits and that the setting of authentication questions is handled instead by a JSP:class/method.
    etch: Would you be able to lead me in the direction you took?
    others: Any suggestions?

  • Hi There, When i answered my call, the phone screen wont turn blacken as it should. Please help. Thanks

    Hi There,
    My ipone 4 willnot turn blacken when answering a call. Please help to resolve this problem.
    Many thanks

    Hello mikeyue,
    Thanks for using Apple Support Communities.
    For more information on this, take a look at:
    iPhone: Hardware troubleshooting
    http://support.apple.com/kb/ts2802
    Screen won't lock or go black when answering calls
    Verify mute or speaker have not been activated, just prior to placing your ear over the receiver.
    While on a call hold your hand over the top third of the display, and verify that the screen is locked or goes to sleep.
    Try turning iPhone off and then on again.
    Best of luck,
    Mario

Maybe you are looking for

  • IOS messages strips URL content from linked text sent from Messages Beta

    My guess is that this is an unexpected edge case in the iOS version of Messages, where pre-Messages beta it didn't have to worry about link embedded in text. But when I copy a URL from an application such as Reeder or drag and drop a URL from the Saf

  • Objects below master page menu

    I have a master page with menu and bar black on the top. What I do is that the contents of other pages go under the master page content. And do not get done. As you can do? thanks

  • User Exits on Updating and Integrating

    I was reading an old Forte v3.0 presentation on whats new in Forte v3.0. One of the proposed features was a set of primitives for defining user exits on updates and integrations. I haven't seen any facility for this in Forte v3.0g though. Has this in

  • My indesign CC doe not work anymore

    It didn't work properly. So I dropped the program in the bucket and emptied it. Then I wanted to download Indesign again, Ut that does not work. The download looks okee in the creative cloud window but in the folder programs it looks as if it is just

  • Passing parameters from portlet to portlet on same page

    Hi, can anyone please give me an example with the code. I have read that i should be using some api's but , don't know where to write them. Thanks.