Examlex

Solved

Given the Following Code, How Many Times Will the While

question 35

Multiple Choice

Given the following code, how many times will the while loop be executed? StringTokenizer st = new StringTokenizer("Java programming is fun!") ;
While (st.hasMoreTokens() )
System.out.println(st.nextToken() ) ;


Definitions:

Related Questions