Page 2 of 2 FirstFirst 12
Results 21 to 39 of 39
  1. #21
    al_Marshy_1981 is offline Senior Member
    Join Date
    Feb 2010
    Location
    Waterford, Ireland
    Posts
    748
    Rep Power
    5

    Default

    What has " " wrapped around it that should not?
    Java Code:
    " Scanner kb= new Scanner (System.in);
    System.out.println("Enter a valid integer: ");
    int num = kb.nextInt(); "
    Last edited by al_Marshy_1981; 10-28-2010 at 02:04 AM. Reason: adding more info

  2. #22
    Mythreadings is offline Member
    Join Date
    Oct 2010
    Posts
    17
    Rep Power
    0

    Default

    Ignore those. >.>;

    import java.util.Scanner;
    Scanner kb= new Scanner (System.in);
    System.out.println("Enter a valid integer: ");

  3. #23
    al_Marshy_1981 is offline Senior Member
    Join Date
    Feb 2010
    Location
    Waterford, Ireland
    Posts
    748
    Rep Power
    5

    Default

    Mythreadings..just post what you have now
    Last edited by al_Marshy_1981; 10-28-2010 at 02:13 AM. Reason: mind your business

  4. #24
    joshdgreen's Avatar
    joshdgreen is offline Senior Member
    Join Date
    Oct 2010
    Location
    Colorado Springs, CO
    Posts
    212
    Rep Power
    4

    Default

    Move your import statement to the top of your code, not inside your methods or classes.
    Sincerely, Joshua Green
    Please REP if I help :)

  5. #25
    joshdgreen's Avatar
    joshdgreen is offline Senior Member
    Join Date
    Oct 2010
    Location
    Colorado Springs, CO
    Posts
    212
    Rep Power
    4

    Default

    Also, does your teacher WANT a convert method. Otherwise your code would be much more efficient using: Integer to Binary Java, Convert Integer to Binary in Java, Examples code
    Sincerely, Joshua Green
    Please REP if I help :)

  6. #26
    Mythreadings is offline Member
    Join Date
    Oct 2010
    Posts
    17
    Rep Power
    0

    Default

    Quote Originally Posted by al_Marshy_1981 View Post
    Mythreadings..just post what you have now
    What I have right now is in my original post.

  7. #27
    al_Marshy_1981 is offline Senior Member
    Join Date
    Feb 2010
    Location
    Waterford, Ireland
    Posts
    748
    Rep Power
    5

    Default

    Then do exactly what you were told in post #24 by joshdgreen

  8. #28
    Mythreadings is offline Member
    Join Date
    Oct 2010
    Posts
    17
    Rep Power
    0

    Default

    Quote Originally Posted by joshdgreen View Post
    Move your import statement to the top of your code, not inside your methods or classes.
    I'm tired of errors. I need you to be specific. Now. Where exactly do you want me to put it?
    Last edited by Mythreadings; 10-28-2010 at 02:35 AM.

  9. #29
    al_Marshy_1981 is offline Senior Member
    Join Date
    Feb 2010
    Location
    Waterford, Ireland
    Posts
    748
    Rep Power
    5

    Default

    Quote Originally Posted by Mythreadings View Post
    I'm tired of errors. I need you to be specific. Now. Where exactly do you want be to put it?
    And.....I am out well done!

  10. #30
    joshdgreen's Avatar
    joshdgreen is offline Senior Member
    Join Date
    Oct 2010
    Location
    Colorado Springs, CO
    Posts
    212
    Rep Power
    4

    Default

    Quote Originally Posted by Mythreadings View Post
    I'm tired of errors. I need you to be specific. Now. Where exactly do you want me to put it?

    Are you retarded? Or just extremely lazy?
    Sincerely, Joshua Green
    Please REP if I help :)

  11. #31
    Mythreadings is offline Member
    Join Date
    Oct 2010
    Posts
    17
    Rep Power
    0

    Thumbs down No emoticon could express my anger and hatred towards you.

    How DARE you. What am I? I am a student, learning java for the first time, writing her first codes and ENJOYING what I do. What are you? A professional or a TROLL? I give you a direct and specific question and you insult me? Who is the retarded one here? I found the answer without your help. It's true that I misunderstood you, but as you've obviously forgotten what it is to be human, allow me to give you a little insight as to how to communicate to one, for future reference.
    As I'm only just learning, I was under the impression that if anything at all was placed outside the main method (Or inside no method at all), it either was not read by the compiler, or given as a completely automatic error. Do you want me to say "I'm sorry?" For what? Fine, I will- I'm not lazy and I'm not retarded. Oh, my goodness, I am so sorry for being WRONG.
    Well, you were wrong, too. Next time you will know what to do in this situation, just as long as you'll remember to put your foot in your mouth. You were NOT the person to help me this time- that was my teacher, I truly hope for your sake that for the next person with a question, you will be. Or if nothing else, you'll be kicked of of this forum.

  12. #32
    Mythreadings is offline Member
    Join Date
    Oct 2010
    Posts
    17
    Rep Power
    0

    Thumbs down What am I? I can tell what you are.

    Quote Originally Posted by joshdgreen View Post
    Are you retarded? Or just extremely lazy?
    I am a highschooler, no need to ask what you are, I already know just by reading this message- a ten year-old.

  13. #33
    Fubarable's Avatar
    Fubarable is offline Moderator
    Join Date
    Jun 2008
    Posts
    19,316
    Blog Entries
    1
    Rep Power
    25

    Default

    For what it's worth, I don't think anyone criticized you for being "wrong". Shoot, no one was born knowing Java. No, what irked folks was your just asking, no demanding, for someone fix your code "now", rather than asking for clarification on what you were misunderstanding:

    I need you to be specific. Now. Where exactly do you want me to put it?
    Please understand that this will irk people in the future as well.

  14. #34
    pbrockway2 is offline Moderator
    Join Date
    Feb 2009
    Location
    New Zealand
    Posts
    4,565
    Rep Power
    12

    Default

    Did someone say "TROLL"?

    just answer quickly, I need to email this in for homework by tonight...

    Good start, and not at all your fault you got no bites. Well done for keeping at it.

    Middle section of the post kept up a good pace. Code in the original post continually changed, general cluelessness and unwillingness to do as suggested. More pointedness was needed...

    I need you to be specific. Now. Where exactly do you want me to put it?

    ... and supplied! (The invitation to a less than polite response was maybe a little too blunt. But then you were becoming more pointed.)

    What are you? A professional or... you've obviously forgotten what it is to be human... I found the answer without your help...

    Oh dear! Such a promising start, only to end like this. At least you didn't bring basements into it but the ending could have packed more punch. We need bite here, originality, wit - and not this farago of over used cliches.

    3/10. Ending needs work. Somewhere else.

  15. #35
    Mythreadings is offline Member
    Join Date
    Oct 2010
    Posts
    17
    Rep Power
    0

    Thumbs up Oh...

    Quote Originally Posted by Fubarable View Post
    For what it's worth, I don't think anyone criticized you for being "wrong". Shoot, no one was born knowing Java. No, what irked folks was your just asking, no demanding, for someone fix your code "now", rather than asking for clarification on what you were misunderstanding:



    Please understand that this will irk people in the future as well.
    That makes sense. Thank you for explaining. I was just angry at having been trying for so long, and I knew others must be starting to feel the same way, so I wanted to cut the explanation short.
    I didn't mean, "I need you to be specific, Now. Where exactly do you want me to put it?"
    I meant, "I need you to be specific. Now, where exactly do you want me to put it?"
    The bluntness was my fault, but at this point I was starting to feel really stupid, like I couldn't do anything right, even with instruction. So Josh's answer, "Are you retarded?" really stung.
    I apologize to JoshdGreen as well. This post wasn't meant as an excuse or...anything, just an apology, a thank you, and a show of recognition for the misunderstanding.

  16. #36
    Mythreadings is offline Member
    Join Date
    Oct 2010
    Posts
    17
    Rep Power
    0

    Red face

    Quote Originally Posted by Fubarable View Post

    3/10. Ending needs work. Somewhere else.
    Haha! Nice assessment! Can't bring myself you argue with you! Heheheh... :D

  17. #37
    javajr is offline Member
    Join Date
    Aug 2010
    Posts
    5
    Rep Power
    0

    Default

    simply you cut the 5 th line and paste it on the 1 st line
    and if it shows any error like class converter is public .you remove public before class keyword and compile and you can run it..

  18. #38
    pbrockway2 is offline Moderator
    Join Date
    Feb 2009
    Location
    New Zealand
    Posts
    4,565
    Rep Power
    12

    Default

    Quote Originally Posted by Mythreadings View Post
    Haha! Nice assessment! Can't bring myself you argue with you! Heheheh... :D

    Well, the behaviour was trollish.

    But I'm unreasonably optimistic (or I wouldn't be here), so I prefer to hope that your future posts will confirm that you were "just angry at having been trying for so long".

  19. #39
    Mythreadings is offline Member
    Join Date
    Oct 2010
    Posts
    17
    Rep Power
    0

    Unhappy *sigh*...

    Quote Originally Posted by pbrockway2 View Post
    Well, the behavior was trollish.

    But I'm unreasonably optimistic (or I wouldn't be here), so I prefer to hope that your future posts will confirm that you were "just angry at having been trying for so long".
    I don't understand. Why are you going on about this to me when first- I did not start anything, and second- I've already apologized?
    Thirdly- The paragraph you assessed was not due to anger. I would never blow up at a person trying to help me because it was taking too long to explain. The paragraph we are now talking about was due to my being purely insulted.
    Fourthly- "trollish"? I say again- have I not already apologized AND explained my reasoning? I've even tried to laugh it off, I really don't know what more you're looking for.
    Fifthly- "unreasonably optimistic"? I don't think I'm the one you should be talking to.

Page 2 of 2 FirstFirst 12

Similar Threads

  1. What Could be Wrong with This code????
    By Manfizy in forum New To Java
    Replies: 9
    Last Post: 08-22-2010, 11:28 AM
  2. Please tell me what i am doing wrong in this code
    By Basit781 in forum CLDC and MIDP
    Replies: 11
    Last Post: 05-20-2010, 05:08 PM
  3. What's going wrong with this code?
    By Suurisa in forum New To Java
    Replies: 5
    Last Post: 10-19-2009, 11:59 PM
  4. pls tell wat wrong with my code???
    By low224 in forum New To Java
    Replies: 13
    Last Post: 01-11-2009, 07:40 AM
  5. What is wrong with this code
    By rosh72851 in forum New To Java
    Replies: 13
    Last Post: 10-31-2008, 01:50 AM

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
  •