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 turn if anyone out there can assist me please, please do. 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: 3

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 12:10
1. package newton’s method for approximating square roots (case study 3.6) in a function named newton. this function expects the input number as an argument and returns the estimate of its square root. the script should also include a main function that allows the user to compute square roots of inputs until she presses the enter/return key. 2. convert newton’s method for approximating square roots in project 1 to a recursive function named newton. (hint: the estimate of the square root should be passed as a second argument to the function.) 3. elena complains that the recursive newton function in project 2 includes an extra argument for the estimate. the function’s users should not have to provide this value, which is always the same, when they call this function. modify the definition of the function so that it uses a keyword parameter with the appropriate default value for this argument, and call the function without a second argument to demonstrate that it solves this problem. 4. restructure newton’s method (case study 3.6) by decomposing it into three cooperating functions. the newton function can use either the recursive strategy of project 1 or the iterative strategy of case study 3.6. the task of testing for the limit is assigned to a function named limitreached, whereas the task of computing a new approximation is assigned to a function named improveestimate. each function expects the relevant arguments and returns an appropriate value. 5. a list is sorted in ascending order if it is empty or each item except the last one is less than or equal to its successor. define a predicate issorted that expects a list as an argument and returns true if the list is sorted, or returns false otherwise. (hint: for a list of length 2 or greater, loop through the list and compare pairs of items, from left to right, and return false if the first item in a pair is greater.)
Answers: 1
question
Computers and Technology, 24.06.2019 11:30
Convert 11001110(acdd notation) into decimal
Answers: 2
question
Computers and Technology, 24.06.2019 22:30
Telling a computer that is already on to turn again is known as what type of boot?
Answers: 1
question
Computers and Technology, 25.06.2019 08:40
Which of the following statements is incorrect in relation to processes: while, strictly speaking, at any instant of time, the cpu is running only one process, in the course of 1 second, it may work on several of them, giving the illusion of parallelism a process is just an instance of an executing program, including the current values of the program counter, registers, and variables processes can be created when an operating system is booted, created by the user, or a running process can create children processes there is a master process, which when started can last forever, and is not killable
Answers: 3
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
Social Studies, 29.10.2020 22:30
question
Mathematics, 29.10.2020 22:30
question
Physics, 29.10.2020 22:30
question
Mathematics, 29.10.2020 22:30
question
Mathematics, 29.10.2020 22:30
Questions on the website: 13722361