I figured it out, I didn't put the [] after the String with my argument.
Type: Posts; User: Siylo
I figured it out, I didn't put the [] after the String with my argument.
I'm using eclipse an it is showing me an error saying "The type of the expression must be an array type but it resolved to a string" when I hover over player1_answers[index].
I am trying to make a trivia game program for my Java class at school. I am new to Java and I'm trying to compare the string value of an index in one array (player's answers) against the string value...
I am brand new to java. Can someone tell me why my do/while loop for playing again is not working?
import java.util.Scanner;
public class Lavoie_4_17 {
public static void main(String[]...