i'm trying to access and print the days of the week with a while loop::
String daysOfWeek []= {"Monday","Tuesday","Wednesday","Thursday","Friday","Saturday","Sunday"};
while( 1 to daysOfWeek.lentgh)
{
System.out.println(daysOfWeek);
}
can anyone help me on how should be the condition of the while loop??
tnx...

New Topic/Question
Reply




MultiQuote






|