Easiest Yes/No Question Ever

I usually don't post in here, but I came up with one of those "for the life me I just can't remember if this should work or not" questions that struck me as being too newbie-esque to ask elsewhere.
So, given the following, in real code, but with pseudo variables and methods purely for decoration:
for (Object object : objects)
    if (object.isSomething() == true)
        object.setSomething(false);
        break;
}Yes or No: That "break;" will break out of the for loop, correct?

Cogniac wrote:
Holy shit. Easiest question possible and you guys fucked it up.Who was it that asked it, again? You couldn't answer it, and couldn't even get your head out your arse enough to think of a way of finding out, and yet it's the guys you asked for help who fucked it up. Interesting
Perhaps I shouldn't have posted in here at all since this forum is usually for newbies. I just thought that since I was already on the forums, asking in here would be quicker than just looking it up. Apparently, I was horribly, horribly wrong.Well, yeh, you were wrong. Is it really easier to log onto this forum, post the question and sit and wait for a reply, than it is to simply compile and run the code? Or looking it up?
So the answer, as I knew, but just couldn't remember offhand because I hardly ever do it, is "yes," as per: [http://java.sun.com/docs/books/tutorial/java/nutsandbolts/branch.html]
See? That was easier, wasn't it? Dumbass
I am never coming into this sub-forum again.Oh no. Now what will we do when we need an entitled, over-opinionated simpleton? Oh yeh, there's a seemingly endless line of you lot waiting their turn to come here looking for flamewars. And it's only Monday

Similar Messages

  • Acrobat XI Pro is changing a series of yes / no questions into lists where you can only select one per column.  How do I get the software to look at each line independently as a yes / no question?

    Most of my document is fine.  However a few pages have a series of yes/no questions and the software is interpreting those questions as a list to check one from many.  I need it to look at each line independently.  How can I edit this form to fix this problem?

    I do not understand what you are trying to describe.  Can you post a screenshot: https://forums.adobe.com/thread/1070933
    Also, you posted in the forum for Acrobat.com online services; you'd have a much better chance to get a helpful reply if you ask in the Acrobat forum.

  • Drag Drop (probably easiest question ever)

    I'm new to flash and don't have anyone to ask for help so here I am...
    I am just trying to create a draggable object.  Easy right?  Sure looks like it should be simple.  But nope, never for me.  So I do this:
    on (press) {
         startDrag (this);
    on (release, releaseOutside) {
         stopDrag ();
    then I do Test Movie and when I click and drag, the ENTIRE CANVAS drags.  The object I set the action for AND every other object on the canvas moves.
    I'm creating this for a classroom and would really appreciate any help/advice I can get!  Thanks!

    Well, I tried that and I am getting errors.   I know it must be that I've done something wrong so here are the errors I'm getting.
    1120: Access of undefined property Exposition2. Exposition2.onPress=function(){
    1120: Access of undefined property Exposition2. Exposition2.onRelease=Exposition2.onReleaseOutside=function(){
    1120: Access of undefined property Exposition2. Exposition2.onRelease=Exposition2.onReleaseOutside=function(){
    Help!

  • Easiest question ever

    i cannot figure out how to make the text align next to the
    top of the image... click below to see what im getting...
    http://www.edcfinancial.com/profile.html
    EDIT: nvm, i got it...

    Use CSS to float the image left. Also, you may have to set
    the image's
    display property to block.
    Walt
    "wbhendrix" <[email protected]> wrote in message
    news:f8o88i$cme$[email protected]..
    >i cannot figure out how to make the text align next to
    the top of the
    >image... click below to see what im getting...
    >
    >
    http://www.edcfinancial.com/profile.html

  • MOD answers please - simple yes / no questions on pops and crackl

    Dear MOD's
    Could someone PLEASE answer these questions with a simple yes / no answer.
    It seems a lot of people are giving up hope on the snap, crackle and pop problem.
    ) Does Creative acknowledge the problem exists?
    2) Have Creative replicated this problem in-house?
    3) Is Creative looking into a fix?
    Considering my X-Fi Fatality is the best of the best of the best, I would expect some info on the situation.
    If its hardware and no software fix will patch it, then at least tell us.
    Leaving so many customers in the dark is just down right rude.
    In anticipation of your quick response
    Bozzy

    It's funny, the mods don't seem to exist when you ask them a question, but if you start swearing up and down these forums, they're on you like a fat kid chasing smarties!!
    Or if there's a new product being launched, they're all over the forums saying, "check out the demo, buy Creative products now!!" Screw that!!! Little do consumers know that when they buy a Creative product, they don't get the support they need. The Audigy beta driver has been in the beta stage for 3 months!!!!!!!!!! 3 freakin' months!! You better hope and pray that when you buy a Creative products, it works out of the box!!!
    Message Edited by Dr_Know on 2-6-2005 06:09 PM

  • Dialog with Yes/No-questions of various length

    Hi all,
    a dialog shall be created,where the user has to answer to questions with „Yes“ or “No“. Corresponding to some conditions there are a various number of questions. The question may consist of 1 , 2 or more lines. It might look like this:
    No   Questions                               Yes  No
    01.  Questions and answers, suggestions,      O   O
          hints, example coding etc..regarding
          typical ABAP programming topics are
          welcomed here. Do you understand
          what I mean ?
    02.  Are you 30 years old ?                   O   O
    03.  Is there anybody going to listen
          to my story all about a girl who
          came to stay ?                           O   O
    Has anybody an idea how to realize this ?
    regards
    Wolfrad

    Hi wolfrad,
    POPUP_TO_DECIDE_LIST
    1. i don't know with radio buttons (yes/no)
    2. but we can display with CHECK BOX
    3. just copy paste in new program.
       (it will display dialog box
        with 5 questions, and checkbox against it)
    4.
    REPORT abc.
    DATA: BEGIN OF spoplist OCCURS 15.
            INCLUDE STRUCTURE spopli.
    DATA: END   OF spoplist.
    DATA: antwort TYPE c.
    spoplist-varoption = 'Are you 30 years old'.
    APPEND spoplist.
    spoplist-varoption = 'This is Question 2'.
    APPEND spoplist.
    spoplist-varoption = 'Is there anybody going to listen to my story '.
    APPEND spoplist.
    spoplist-varoption = 'This is Question 4'.
    APPEND spoplist.
    spoplist-varoption = 'This is Question 5'.
    APPEND spoplist.
    CALL FUNCTION 'POPUP_TO_DECIDE_LIST'
      EXPORTING
        titel            = 'Questions'
        textline1        = ''
        textline2        = ''
        textline3        = ''
        mark_max         = 3
        mark_flag        = 'X'
      IMPORTING
        answer           = antwort
      TABLES
        t_spopli         = spoplist
      EXCEPTIONS
        too_much_answers = 1
        too_much_marks   = 2.
    IF sy-subrc = 2.
      WRITE: 'Too many answers chosen.'.
    ENDIF.
    IF antwort = 'A'.
      WRITE: 'Popup canceled.'.
    ELSE.
      WRITE: 'Options chosen:'.
      LOOP AT spoplist WHERE selflag = 'X'.
        WRITE / spoplist-varoption.
      ENDLOOP.
    ENDIF.
    regards,
    amit m.

  • SOS!! Simple yes/no question about JPA...

    Hello,
    I have the following environment and requirements:
    -Tomcat 5.5 (no ejb container)
    -Latest version of Hibernate
    -JSF 1.1
    -A requirement to use JPA
    -I must use the query cache and the second-level cache
    My question is as follows:
    What is the best solution?
    Solution 1.
    ONE EntityManagerFactory stored in the ServletContext for use by all of my web app users generating MULTIPLE INSTANCES of EntityManagers. (would this allow me to use the query cache?)
    Solution 2.
    ONE EntityManagerFactory and ONE EntityManager stored in the ServletContext for use by all of my web app users.
    Thanks in advance,
    Julien.

    Regarding caching, what exactly are you referring to
    by "query cache"? Are you saying you
    plan to execute the same query multiple times but
    you'd like the underlying persistence manager
    to avoid trips to the actual database? Whether the
    query is executed by an actual database
    access or is fulfilled through some JVM-local cache
    is not controlled by the spec. Most implementations
    do allow for such caching but the behavior is
    persistence-provider specific.Yes. I am actually using hibernate behind the scenes as my persistence framework.
    I'd suggest looking at the presentation from last
    year's JavaOne called "Persistence In the
    Web Tier"
    http://developers.sun.com/learning/javaoneonline/2006/
    webtier/TS-1887.pdfI am going to have a look at that.
    Thanks again.
    Julien.

  • 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’.

  • Stupidest question ever, yet very important to me

    ok I want to uninstall my sdk1.3.1_04, and this is a stupid question because there's no uninstaller, should I delete the whole folder? I'm going to download the newest one, and use the online tutor to help me out, the "learn java2 in 21 days book" is very annoying if you ask me, I don't like how they write in such a complicated language, is he writting in english, or in binary??? for god's sake he shouldn't expect us to understand such complicated english use, my grandmother who is a very good in english had a hard time understanding this, so the tutor which I checked out is pretty good, and I think has better order than the book. so anyway should I delete the whole folder? cuz I'm really mad at this stuff. thx in advance

    you guys are so helpful no matter what the topic is, unlike newbie haters. thankyou very much. I must say that I dislike it when to get help, people have to put themselves down by begging to answer a question, or emphacizing how stupid they must be.
    The thing is, that we all were there at some point, not knowing how to move the mouse, or wondering about the purpose of the Enter key.
    And saying to somebody something like "Go, search the web" might not be the answer. Some people don't know how to search the web. That's true. Only with experience you know what keywords you need to put, and into what search engine. I am surprized there is not comprehensive FAQ on all the details of how to search/get info somewhere. At least, I am not aware of it.
    But either way, some Java gurus out there should drop their attitude.
    Dennis

  • Quite possibly the stupidest iTunes question ever!

    I almost never listened to iTunes until recently; I used it to manage content that I only listened to on my iPod. Now I find myself listening to iTunes a lot, seated in front of my computer.
    Here's my question: Why do some playlists play straight through, while others don't? I have a few playlists that require me to click on each individual song to hear it - it won't just play through.
    What do I need to do to make my iTunes playlists play all the way through?!?
    Acer TravelMate 4070 1.73 Ghz 504 RAM Windows XP Pro SP2; iTunes v6.0.4.2

    hiya!
    (sorry Zevoneer ... you answer wasn't displaying for me when i made my previous post)
    I'll just have to get into the habit of unchecking them when I'm done, or I'll end up filling his iPod mini up with "crap" he'd never want to listen to. ;-)
    hmmmm. using "Only update checked songs" can get a little unmanageable when you're trying to keep a lot of songs of an ipod.
    why not try "Automatically update selected playlists only" instead?
    create a new playlist ("mini syncing"?) containing the songs that you think he can stomach on the ipod.
    then go into your "ipod" preferences tab (while the ipod is plugged in and showing up in the sourcelist), select "Automatically update selected playlists only", select "mini syncing" in the window under that, uncheck "update checked songs only", and click okay.
    then you'd manage what goes on the ipod by moving songs in and out of the "mini syncing" playlist in itunes, and then syncing the mini.
    (and you can recheck all the songs in your itunes library without having that affect what goes on the ipod.)
    love, b

  • Dumbest Question Ever

    Ok,
    I have Garageband 1.1.0 on my computer...I want to have the latest version, but when I tried to install the latest (3.0.4), the old comp-tor said:
    GarageBand_304 cannot be installed on this computer.
    An eligible GarageBand application was not found in /Applications.
    So I figured, mine's probably too old and that one's too new...I'll just get an older version of GB that's newer than mine...so I downloaded 2.0.2 and got the same exact message...
    Where do I find the version that I can download so I can start climbing up the ladder towards a new version of the program?
    RELATED QUESTION
    My friend also has Garageband (the newest version I do believe), and he tried to send me a file which contains a song that we're working on...but when I copied it to my computer, and tried to open it, it said "damaged file", followed by "Not a Defender File"...the latter comment I found somewhat curious, since I have not heard of "Garageband: Defender"...Anyway, I can't open the file...hence I began hunting for updates, thinking that might be the key to why I can't get at the file. One other detail...I thought maybe the type of CD he copied to might be affecting things...its a Memorex...are they like, not good or something?
    Anyway, if anyone can shed some light on any of this, I'd be most obliged.
    John Q.
    IMac Mac OS X (10.3.9)

    Sorry,
    I am really picky about this, because my company writes and sells software. There is nothing worse to us than a pirate. We use a dongle to protect ourselves, but let me tell you, the open admission of a crime is being committed simply by mentioning methods to get software for free.
    I know that won't be a popular thought, but if nothing else, there are kids here and if they see adults making these suggestions, they feel it is okay. Stealing is stealing, whether gum at the store or software off the net.
    Bob
    PS: You can do the following, search out OEM versions of the software via google, it will be cheaper. Or, you can find someone who doesn't need their copy. I got my XP Pro install disk that way... The software is only loaded once, keeping the license in tact. In fact, in my case, the wrapper was still on the disk!

  • Probably the most stupid question ever....

    Hey,
    Is there any possible way to upgrade the processor speed? Or do i have to buy a new computer with a faster processor to get the job done?
    Thanks in advance
    (i don't know anything about computer hardware what so ever)

    Read this article before you buy a new MacBook. May help you save some money.
    Why is My MacBook Running Slow?

  • 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?

  • TS3354 This cannot be played in HD on this computer. hi, this is the FIRST time i have had this question ever, high def always works , i downloaded one only a week ago, and updated my itunes today. but it still will not allow it.movies own work fine still

    i tried to download a movie from itunes store just few minutes ago, it told me "This cannot be played in HD on this computer.
    rather insane as I have recently purchased HD films with no issues or concerns at all.  I have also updated to the most recent itunes software, yet it still gives me this same error message.  and also all movies that i oiwn in HD do work without any problems. I read as much i could but its still giving me this message when i attempt to download.  it only gives me the option to get the standard definition version of the film. which is not what I want.  Any help on this please? thanks!.

    After I reformatted my Window 7 machine I'm getting this error too. I deauthorized all my devices and started fresh with my newly reformatted PC thinking that would solve the issue but no go...
    Any insight?

  • Stupidest question ever - how do you do an "and" search in Dreamweaver MX

    OK I know this must be easy I want to search a large site (circa 3,500 files) for "google" and "key=" in the source code to try and track instances of an out of date Google maps API key.
    How the heck can you do this? I have tried using various regular expressions - [^] (ie characters not in this list and leave the list empty). This seemed the best candidate but I have tried everything and one hour later I feel like gnawing my own leg off.
    Can anyone help pls? BTW I seem to have accidentally gone back a version or two when I installed this on my little Eee and I am now using MX circa 2004! I must find my later CDs.
    TIA
    Steve

    I don't know what comes between them. I am trying to find any page that uses the google maps API - I am not even 100% certain this will find them all. I am looking for any page with the word google and the string key= anywhere in the source code - it could have anything in between. This is why I want a simple AND search.
    Off to try the string.
    Seems to work fine (minus the extra ").
    Thanks very much for that
    And, to my horror have already found two different keys in use!
    More maybe later. If not many thanks.
    Steve

Maybe you are looking for