Long description
The lines read as follows. Line 1. forward slash forward slash Fig period J period 7 colon Sort period java. Line 2. forward slash forward slash Collections method sort with a custom Comparator object period. Line 3. import java period u t i l period List semicolon. Line 4. import java period u t i l period Array List semicolon. Line 5. import java period u t i l period Collections semicolon. Line 6. Blank. Line 7. public class Sort3. Line 8. left brace. Line 9, indented once. public static void main left parenthesis String left bracket right bracket a r g s right parenthesis. Line 10, indented once. left brace. Line 11, indented twice. List less than sign Time2 greater than sign list equals new Array List less than sign Time2 ...
Get Android How to Program, 3/e now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.