![subject](/tpl/images/cats/informatica.png)
Computers and Technology, 09.09.2020 04:01 golderhadashaowtatz
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](/tpl/images/cats/User.png)
Answers: 1
Another question on Computers and Technology
![question](/tpl/images/cats/informatica.png)
Computers and Technology, 22.06.2019 10:00
You need a reliable network for about twenty-five computers that will be distributed across a large building. it is important that the network be relatively cheap. which topology should you use?
Answers: 1
![question](/tpl/images/cats/informatica.png)
Computers and Technology, 22.06.2019 15:00
The three logical operators used to write compound conditions are "and," "or," and "not." a: true b: false
Answers: 2
![question](/tpl/images/cats/informatica.png)
Computers and Technology, 22.06.2019 17:30
1. before plugging in a new device to a computer you should unplug all other devices turn off the computer turn on the computer 2. many of the maintenance tools for a computer can be found in the control panel under administrative tools display personalization
Answers: 1
![question](/tpl/images/cats/informatica.png)
Computers and Technology, 22.06.2019 22:00
During physical science class ben and jerry connected three identical lightbulbs in parallel to a battery where happens when ben removes one of the lightbulbs from it’s socket
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](/tpl/images/cats/mkx.png)
Arts, 05.02.2021 08:50
![question](/tpl/images/cats/mat.png)
![question](/tpl/images/cats/mat.png)
Mathematics, 05.02.2021 08:50
![question](/tpl/images/cats/istoriya.png)
History, 05.02.2021 08:50
![question](/tpl/images/cats/mat.png)
Mathematics, 05.02.2021 08:50
![question](/tpl/images/cats/mat.png)
Mathematics, 05.02.2021 08:50
![question](/tpl/images/cats/en.png)
![question](/tpl/images/cats/mat.png)
Mathematics, 05.02.2021 08:50
![question](/tpl/images/cats/mat.png)
Mathematics, 05.02.2021 08:50
![question](/tpl/images/cats/istoriya.png)
![question](/tpl/images/cats/obshestvoznanie.png)
![question](/tpl/images/cats/en.png)
English, 05.02.2021 08:50
![question](/tpl/images/cats/mat.png)
![question](/tpl/images/cats/ekonomika.png)
Business, 05.02.2021 08:50
![question](/tpl/images/cats/mat.png)
![question](/tpl/images/cats/mat.png)
Mathematics, 05.02.2021 08:50
![question](/tpl/images/cats/mat.png)
Mathematics, 05.02.2021 08:50
![question](/tpl/images/cats/pravo.png)
![question](/tpl/images/cats/en.png)