All I'm tryin to do is set this up to show the array in the command prompt screen.
everything looks good to me,
C:\Users\Work Time\Desktop>javac SearchSource.java
but I keep getting this:
SearchSource.java:7: error: <identifier> expected
System.out.print();
^
1 error
Heres the program:
public class SearchSource
{
public static void main (String[] args) {
int[] SearchSource = newArray[6];
SearchSource = new float[] {-3, 10, 5, 24, 45.3, 10.5};
}
System.out.print();
{
System.out.println("{" + SearchSource + "}\t");
}
}
Any ideas?!? Help!