Quantcast

Got Homework?

Connect with other students for help. It's a free community.

  • across
    MIT Grad Student
    Online now
  • laura*
    Helped 1,000 students
    Online now
  • Hero
    College Math Guru
    Online now

Here's the question you clicked on:

55 members online
  • 0 replying
  • 0 viewing

dhemmy

how do i write a method that takes an integer and an integer array and returns a Boolean indicating whether the integer can be found in the array or not in java

  • 8 months ago
  • 8 months ago

  • This Question is Closed
  1. e.mccormick
    Best Response
    You've already chosen the best response.
    Medals 0

    Look into Arrays.asList(...).contains(...) Also, for Java you might want to ask in the top level Computer Science, not the MIT 6.00 one... cause 6.00 uses Python. Hehe.

    • 8 months ago
  2. e.mccormick
    Best Response
    You've already chosen the best response.
    Medals 0

    @dumbsearch2 JAVA! question. He can give you a better answer than mine.

    • 8 months ago
  3. dhemmy
    Best Response
    You've already chosen the best response.
    Medals 0

    thanks

    • 8 months ago
  4. dhemmy
    Best Response
    You've already chosen the best response.
    Medals 0

    thanks

    • 8 months ago
  5. e.mccormick
    Best Response
    You've already chosen the best response.
    Medals 0

    np. I just looked up what searches an array in Java. Don't actually use it... hehe... so it is basically a book answer. But DS2 knows his Java very well. There are a few others here that code in Java. Any of them that see it should be able to help.

    • 8 months ago
  6. dhemmy
    Best Response
    You've already chosen the best response.
    Medals 0

    thanks so much

    • 8 months ago
  7. dhemmy
    Best Response
    You've already chosen the best response.
    Medals 0

    thanks so much

    • 8 months ago
  8. dhemmy
    Best Response
    You've already chosen the best response.
    Medals 0

    i tried to send him a message but it keeps saying this user only accepts messages frm people they have fanned, can u help me

    • 8 months ago
  9. dhemmy
    Best Response
    You've already chosen the best response.
    Medals 0

    i tried to send him a message but it keeps saying this user only accepts messages frm people they have fanned, can u help me

    • 8 months ago
  10. dumbsearch2
    Best Response
    You've already chosen the best response.
    Medals 0

    Oh, sorry, I'm back :)

    • 8 months ago
  11. e.mccormick
    Best Response
    You've already chosen the best response.
    Medals 0

    Yah... he was off when you posted.... probably doing something not as useful as answering Java questions. LOL

    • 8 months ago
  12. dumbsearch2
    Best Response
    You've already chosen the best response.
    Medals 0

    wut.

    • 8 months ago
  13. dumbsearch2
    Best Response
    You've already chosen the best response.
    Medals 0

    Oops... Emccormick is such a trickster... wow Java... Look, I only told you that I was great at JavaScript ahhha

    • 8 months ago
  14. dumbsearch2
    Best Response
    You've already chosen the best response.
    Medals 0

    They're so damn different!

    • 8 months ago
  15. e.mccormick
    Best Response
    You've already chosen the best response.
    Medals 0

    Hermph. You are probably better at Java than me since they are distant cousins. The closest I get to Java is C++!

    • 8 months ago
    • Attachments:

See more questions >>>

Your question is ready. Sign up for free to start getting answers.

spraguer (Moderator)
5 → View Detailed Profile

is replying to Can someone tell me what button the professor is hitting...

23

  • Teamwork 19 Teammate
  • Problem Solving 19 Hero
  • You have blocked this person.
  • ✔ You're a fan Checking fan status...

Thanks for being so helpful in mathematics. If you are getting quality help, make sure you spread the word about OpenStudy.

This is the testimonial you wrote.
You haven't written a testimonial for Owlfred.