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 21:00
Which of these is most responsible for differences between the twentieth century to the twenty-first century?
Answers: 2
question
Computers and Technology, 23.06.2019 09:10
(328 inc. 448 ind. 480 in25. john has a collection of toy cars. he has 2 red cars, 4 blue cars, 4 black cars, and 6 yellowcars. what is the ratio of red cars to yellow cars? a. 1: 2b. 1: 3c. 1: 626. the net of a right triangular prism is shown below.
Answers: 2
question
Computers and Technology, 23.06.2019 09:30
The place where the extended axis of the earth would touch the celestial sphere is called the celestial
Answers: 1
question
Computers and Technology, 24.06.2019 05:30
Someone plzz me which of these defines a social search? a. asking a search engine a question that is answered by a real person on the other sideb. modifying search results based on popularity of a web pagec.modifying search results based on a ranking of a web page
Answers: 2
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
question
English, 07.11.2019 23:31
Questions on the website: 13722360