String [] Array Error
<p>When I used a String [] array, like this: </p>

<pre><code> import java.lang.String.*; 

 import java.text.DecimalFormat; 

 import java.text.NumberFormat;

public class JavaJoe

{

public static void main(String args[]) 

{

String [] day = {"Monday", "Tuesday", "Wednesday", "Thursday", "Saturday", "Sunday"};
</code></pre>

<p>the output of this:</p>

<pre><code>if(day[0] == ("Monday"))

{

double cost = 30;

double totalCost = 30 * 1.15; //cost including tax

money = money - totalCost;

System.out.println("It is " + day + " and Joe has to spend " + decimal.format(totalCost) + " on a new pair of shoes. He has " + decimal.format(money) + " left.");

} //if
</code></pre>

<p>gave me this: </p>

<blockquote>
  <p>It is [Ljava.lang.string;@1ea2dfe and Joe has to spend $34.50. He have $165.50 left.</p>
</blockquote>

<p>Can you tell me why? Why doesn't it tell me that it's Monday? Thanks in advance!</p>
