Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
100% Quality Score
Upvotes Received
2
Posts with Upvotes
2
Upvoting Members
1
Downvotes Received
0
Posts with Downvotes
0
Downvoting Members
0
0 Endorsements
Ranked #36.9K
Ranked #3K
~392 People Reached
Favorite Forums
Favorite Tags
Member Avatar for Reapt

So I'm teaching myself Java. I'm creating a text based game. I have an if statement that i want to check users input so its like this: if(sc.next() = "help"){ System.out.println("info"); } else if(sc.next() = "item"){ System.out.println("info"); } Etc. But it wont work. What would be the proper way to …

Member Avatar for stultuske
0
226
Member Avatar for Raymond_3

10) A statement that creates invokes findAll() based on the argument 8 and assigns this to a new array 11) A print statement that prints out the array created in the above step. Which i did with the following bit of code in my driver ArrayMethods arrayTwo = new ArrayMethods(); …

Member Avatar for John Code
0
166