Question: Demonstrate using code examples how you would make use of an Iterator to count the number of elements in a Collection of strings that contain

Demonstrate using code examples how you would make use of an Iterator
to count the number of elements in a Collection of strings that contain at
least one capital letter, lowercase letter, and number.
12 MARKS
Demonstrate using code examples how you would use a List to represent the
students registered to a module. You should sort the List in such a way that
the order of students is based on the lexicographic order of their surname
followed by their first name.
Illustrate the code for adding students called Steve Higgins and Mary Higgins
to the List before sorting it.
What would the program output be if you print the List to the console?
Note: you can rep

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Finance Questions!