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
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.
@dumbsearch2 JAVA! question. He can give you a better answer than mine.
thanks
thanks
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.
thanks so much
thanks so much
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
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
Oh, sorry, I'm back :)
Yah... he was off when you posted.... probably doing something not as useful as answering Java questions. LOL
wut.
Oops... Emccormick is such a trickster... wow Java... Look, I only told you that I was great at JavaScript ahhha
They're so damn different!
Hermph. You are probably better at Java than me since they are distant cousins. The closest I get to Java is C++!
Join our real-time social learning platform and learn together with your friends!