/* CIS 790 L.A.T.T.C PROF. AUCIELLO (astr1que.html) QUESTIONS: PRINT OUT THIS PAGE. WRITE IN ANSWERS WITH PEN. PUT PAGE(S) IN PROJECT NOTEBOOK. THIS IS ONE ASSIGNMENT. PRINT OUT 'PROGRAM LISTING' ALSO. Hack away at this applet. Enter different strings. Try to crash it by entering negative indexes. Play with it, run thru its options as you discover all of its features. Test it thoroughly. Don't leave it until you understand each of its string features. 1. at least 1 library is unncessary, which one is it? 2. does the name following 'public class' have to be the same as the external file name with a .java extension? 3. what do "TextField" and "Button" mean? 4. what is 'int'? what is 'double'? what is 'String'? 5. what is the program cycle for 'start()' method? when does it execute? 6. define 'Label, add, new, setText'. 7. how do you change the message on a button? 8. identify the opening and closing brackets "{ }" that bracket a procedure (method). 9. write down a statement that defines a font. write down a statement that sets (activates) a font. write down a statement that sets colors. 10. explain the 'try ... catch' concept. 11. write down examples of how strings and integers are converted from text. 12. explain how the concatenation operator (+) is used in the g.drawString statement. 13. explain how the boolean action method listens for and recognizes when thekey is pressed or the button is clicked. give example of how to find: 14: the length of a string. 15. index a certain character in a string. 16. return any substring. 17. locate a character in a string. 18. how to convert case. 19. how to convert by 'casting' (look it up) 20. what is a 'hash code'? 2ND ASSIGNMENT: MODIFY PROGRAM BY ADDING THE FOLLOWING STATEMENTS: a. COMPARE TWO STRINGS (TRY TO RELATE TO UNICODE COLLATING ORDER) b. COMPARE TWO STRINGS IGNORING CASE. c. REPLACE PART A STRING. d. TRIM A STRING. e. CONVERT char, int, double TYPES TO STRINGS f. CONCATENTATING STRINGS. */