[Solved]Create Application Accept Data Array Five Certofdeposit Objects Display Data Certofdeposit Q37182388
Create an application to accept data for an array of fiveCertOfDeposit objects, and then display the data.
CertofDeposit.java
import java.time.*;
public class CertOfDeposit {
private String certNum;
private String lastName;
private double balance;
private LocalDate issueDate;
private LocalDate maturityDate;
public CertOfDeposit(String num, String name, double bal, LocalDateissue) {
}
public void setCertNum(String n) {
}
public void setName(String name) {
}
public void setBalance(double bal) {
}
public void issueDate(LocalDate date) {
}
public String getCertNum() {
}
public String getName() {
}
public double getBalance() {
}
public LocalDate getIssueDate() {
}
public LocalDate getMaturityDate() {
}
}
CertOfDepositArray.java
import java.util.*;
import java.time.*;
public class CertOfDepositArray {
public static void main(String[] args) {
// Write your code here
}
public static void display(CertOfDeposit cd, int num) {
System.out.pritnln(, “Certificate ” + num +
“nName: ” + cd.getCertNum() + ” ” +
cd.getName() + ” Balance: $” + cd.getBalance() +
“nIssued: ” + cd.getIssueDate() +
“nMatures: ” + cd.getMaturityDate()););
}
}
Expert Answer
Answer to Create an application to accept data for an array of five CertOfDeposit objects, and then display the data. CertofDeposi… . . .
OR

