public static void main(String[] args) { String entries[] = {"entry1","entry2"}; int count=0; while (entries [count++]!=null){ System.out.println(count); } System.out.println(count); }
String entries[] = {"entry1","entry2"};
int count=0;
while (entries [count++]!=null){
System.out.println(count);
}
Oracle Certified Professional Java Programmer
Access: Public Instant Grading
Jobilize.com uses cookies to ensure that you get the best experience. By continuing to use Jobilize.com web-site, you agree to the Terms of Use.