Program 4c COP-2250 - Java Programming Professor : Michael Robinson e-mail : mrobi002@cs.fiu.edu Web Page : www.cs.fiu.edu/~mrobi002/teaching Program 4c: Due on Tuesday November 15th, 2011 at the beginning of class. - Turn in the signed source code on paper, and email me the source code. - Make sure the program is properly documented and aligned uniformally, looking professionally, I will take points off if it is not. - Include the following header in every program: /********************************************************************* Author : Your Name Course : COP 2250 T-TH Professor : Michael Robinson Program # : Program Purpose/Description {A brief description of the program } Due Date : MM/DD/YYYY Certification: I hereby certify that this work is my own and none of it is the work of any other person. ..........{ your signature }.......... *********************************************************************/ Purpose of this program: - Implement wrappers, arrayList, classes and constructors for loops, Math **** NOTE **** - Each task must be done inside its own function/method. - Use main ONLY to create variables and call the functions/methods. 1 -Worth 1 point (wrappers) - create an int with a value of your choice - create an Integer with a value of your choice - create a String with a numeric value of your choice - convert the String to int - add all previous numbers, the int the Integer and the Converted value in the String 2 - Worth 2 points (arrayList) - Create an arrayList, add values in the first five locations - Using iterators print all values in the arrayList - Delete locations 2 and 4 from the arrayList - Using a for loop print all values left in the arrayList 3 - Worth 5 points (classes and constructors) Create a class with a constructor and name it : first letter of your last name + first letter of your first name + the word Names. ex: rmNames this class should have: - private variables - one constructor that will accept your first name, and your last name. - mutator (set) methods that will be used to - receive other variables and set your private variables as requested by the main program. - accessor (get) methods that will be used to - return values requested by the main program. Create a main program called : your last name + Fist name initial + pgm4. At the main(String arg[]) method in main program: - call the constructor that will accept your first and last name - call methods in the "class with constructor" program, that will set values to its private variables containing: - your major - amount of credits taken this semester - total amount of credits obtained so far - what grade do you expect in this class At main, calling accessor (get) methods in the "class with constructor" print: - Your first name, last name, major, amount of credits taken this semester, total amount of credits obtained so far, what grade do you expect in this class 4 - Worth 1 point (for loops) From main call the following methods: - WITHOUT passing any parameters, call a method that will print BACKWARDS the even number from 50 to 0. Hint: use the step part of a for loop OR the modulus of the numbers 5 - Worth 1 point (Math) - PASSING a number of your choice, call a method that will print the ( ceiling of the square root of such number ) * 5.