I'm finishing up my code to my java program and its basically going to read questions from the array, ask user for the answer(a, b, c, or d). Then I'm going to make it calculate number wrong and right. I'm stuck on the part where my if statement only displays my else case "wrong". Here's the code thanks

import javax.swing.JOptionPane;
import java.text.DecimalFormat;

	This program is a guiquiz

public class GuiQuiz
	public static void main(String[] args)

		String[] questions = { "What is science", "How many piers", "What is economics",
			"What year is columbus" };

		JOptionPane.showInputDialog(null, questions[0] + "\nA" + " metal," + "\nB. An art, \nC, Blue. \nD.Rockets");


				JOptionPane.showMessageDialog(null, "WRONG");

PS I am going to make another array with the correct answers so it can be easier calculating but, I want the first answer to be a but no matter what I put even a I get "WRONG"