Question: Create a new Project in your IDE with the name FinalExamPracticeCreate a new Class called FinalExamPracticeDriverAdd method main to the programAdd a multi - line
Create a new Project in your IDE with the name FinalExamPracticeCreate a new Class called FinalExamPracticeDriverAdd method main to the programAdd a multiline comment with @author and your full name at the top of the programAdd two constants in main to store your first and last name and hard code your name.Add a variable that will store the total number of characters in both constants.Add logic to determine store the length of both constantsCreate a loop in main that prints each character in your name on a new lineCreate a new Class called TeacherAdd private variables for firstname, lastname, emailAdd getters and setters for all fieldsadd a toString method that overridesThe toString method will print "Name: firstlastname Email: emailCreate a new Class called BusinessTeacher that extends TeacherAdd an overloaded constructor that prints Business Teacher at FAUcreate a method prints specific occupation "Teaches Project Management and Business Analytics"a constructor calls this methodCreate a new Class called ComputerScienceTeacher that extends TeacherAdd an overloaded constructor that prints Computer Science Teacher at FAUcreate a method prints specific occupation "Teaches Programming and Network Communication"a constructor calls this methodFor both classes call super class to set email. Email should be FirstName.LastName@fau.eduAdd appropriate code logic as needed for this question.Create an ArrayList or array to save Teacher ObjectsFrom the Driver FinalExamPracticeDriver class create one instance for Teacherpassing "John" "Smith" for namecreate an instance for BusinessTeacherpassing "Sue" "Kean"create an instance for ComputerScienceTeacherpassing "Jeremy" "Melone"create one instance for Teacherpassing your name from method main for namefinally, make sure to add objects to the arrayarraylistCreate a method in Driver class that will print Teacher Objects to a file.The name of the file is Teachers.txt it can be in the root directoryThe format is FirstName:LastName:EmailPrint current date at the end of the file.Use this logic and printwriterLocalDate localDate LocalDate.now;
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
