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
~392 People Reached
Favorite Forums
Favorite Tags
Re:
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 … |
|
Re:
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(); … |