Java Reference
In-Depth Information
There may be whitespace between the < and the a , and their must be whitespace
after the a . The class should implement interface Enumeration . The constructor
of the class should have String s as a parameter. Note that this enumeration is
most easily written using the class of exercise E9 that enumerates all HTML tags.
E11. Write a class that enumerates the “words” in a String s . For this exercise,
we define a word to be a sequence of non-whitespace characters. For example,
the String "Love all,\nserve all." consists of the words "Love" , "all," ,
"serve" , and "all." . The class should implement interface Enumeration . The
constructor of the class should have string s as a parameter.
 
Search WWH ::




Custom Search