Examlex

Solved

For the Following Code, How Many Times Would the While

question 28

Multiple Choice

For the following code, how many times would the while loop execute?
StringTokenizer st =
New StringTokenizer("Java programming is fun!") ;
While (st.hasMoreTokens() )
System.out.println(st.nextToken() ) ;


Definitions:

Related Questions