anonymous
  • anonymous
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
MIT 6.00 Intro Computer Science (OCW)
chestercat
  • chestercat
I got my questions answered at brainly.com in under 10 minutes. Go to brainly.com now for free help!
At vero eos et accusamus et iusto odio dignissimos ducimus qui blanditiis praesentium voluptatum deleniti atque corrupti quos dolores et quas molestias excepturi sint occaecati cupiditate non provident, similique sunt in culpa qui officia deserunt mollitia animi, id est laborum et dolorum fuga. Et harum quidem rerum facilis est et expedita distinctio. Nam libero tempore, cum soluta nobis est eligendi optio cumque nihil impedit quo minus id quod maxime placeat facere possimus, omnis voluptas assumenda est, omnis dolor repellendus. Itaque earum rerum hic tenetur a sapiente delectus, ut aut reiciendis voluptatibus maiores alias consequatur aut perferendis doloribus asperiores repellat.

Get this expert

answer on brainly

SEE EXPERT ANSWER

Get your free account and access expert answers to this
and thousands of other questions

e.mccormick
  • e.mccormick
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.
e.mccormick
  • e.mccormick
@dumbsearch2 JAVA! question. He can give you a better answer than mine.
anonymous
  • anonymous
thanks

Looking for something else?

Not the answer you are looking for? Search for more explanations.

More answers

anonymous
  • anonymous
thanks
e.mccormick
  • e.mccormick
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.
anonymous
  • anonymous
thanks so much
anonymous
  • anonymous
thanks so much
anonymous
  • anonymous
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
anonymous
  • anonymous
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
dumbsearch2
  • dumbsearch2
Oh, sorry, I'm back :)
e.mccormick
  • e.mccormick
Yah... he was off when you posted.... probably doing something not as useful as answering Java questions. LOL
dumbsearch2
  • dumbsearch2
wut.
dumbsearch2
  • dumbsearch2
Oops... Emccormick is such a trickster... wow Java... Look, I only told you that I was great at JavaScript ahhha
dumbsearch2
  • dumbsearch2
They're so damn different!
e.mccormick
  • e.mccormick
Hermph. You are probably better at Java than me since they are distant cousins. The closest I get to Java is C++!

Looking for something else?

Not the answer you are looking for? Search for more explanations.