subject

Hello, my first time being here and I'm returning back from college and I'm now studying Java in college but I was stuck doing this last part of the assignment that I was given, I have until Monday midnight to turn this in, if anyone out there can assist me please, please do. Here's the question: Create a class named Person that holds the following fields: two String objects for the person’s first and last name and a LocalDate object for the person’s birthdate. Create a class named Couple that contains two Person objects. Create a class named Wedding for a wedding planner that includes the date of the wedding, the names of the Couple being married, and a String for the location. Provide constructors for each class that accept parameters for each field, and provide get methods for each field. Then write a program that creates two Wedding objects and in turn passes each to a method that displays all the details. Save the files as Person. java, Couple. java, Wedding. java, and TestWedding. java.

Here's the code that I have wrote at the moment:
import java. time. LocalDate; //Test driver class public class TestWedding { Wedding wedding1= null; Wedding wedding2= null; public void testWeddingObject = LocalDate. of(2019, 11, 9);(){ wedding1 = new Wedding(dateObject, "SantaFe", "New Mexico"); wedding2 = new Wedding(dateObject, "SantaFe", "New Mexico"); displayDetails(wedding1, wedding2) } public void displayDetails(Wedding wedding1, Wedding wedding2){ System. out. println("\n" + David); System. out. println("and" + Sue); System. out. println("are inviting you to their"); System. out. println(" The Big Wedding "); System. out. println(wedding1.getWeddingDate() + " " wedding2.getWeddingDate()); System. out. println(wedding1.getLocation() + " " wedding2.getLocation()); } class Person{ String David; String Sue; LocalDate September161994; } } }

Please and thank you

ansver
Answers: 1

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 18:40
Mariah was working on a multimedia presentation that included both video and audio files. the file was huge, and she wanted to send it to her coworker in another office. she needed to reduce the size of the file so that it could be transmitted faster. the utility she used to do this was
Answers: 2
question
Computers and Technology, 23.06.2019 00:30
Knowing that the central portion of link bd has a uniform cross sectional area of 800 mm2 , determine the magnitude of the load p for which the normal stress in link bd is 50 mpa. (hint: link bd is a two-force member.) ans: p = 62.7 kn
Answers: 2
question
Computers and Technology, 23.06.2019 03:30
How can you repin an image on your pinterest pin board a. click on the "repin" button b. click on the "add pin" button c. click on the "upload a pin" button d. click on the "save pin" button.
Answers: 2
question
Computers and Technology, 23.06.2019 04:31
Q14 what is most important for you to choose before you build a network? a. private network b. nos c. network media d. network protocol e. directory service
Answers: 1
You know the right answer?
Hello, my first time being here and I'm returning back from college and I'm now studying Java in col...
Questions