Question: 21. Write a line of code that will change an applet's background color to red. 22. Write a line of code to print each of
21. Write a line of code that will change an applet's background color to red. 22. Write a line of code to print each of the following in the command prompt window: a. your name b. a previously declared String named lastName c. a blank line d. the name of your instructor tabbed 24 characters to the right 23. Write a line of code to print each of the following in an applet. The represent pixel locations. a. your name (100, 75) b. a previously declared and assigned image named grandma (50, 50 c. a previously declared Date named myDate (200, 300) d. a previously declared String named firstName (150, 250)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
