Question: what is wrong with this code here, need help fixing lines 78, and 79 10 import java.time. LocalDateTime; 2 import java.time.format.DateTime Formatter; 3 public class
what is wrong with this code here, need help fixing lines 78, and 79


10 import java.time. LocalDateTime; 2 import java.time.format.DateTime Formatter; 3 public class KA03Email { AFGTBROENERG~~~ 4 5 6 7 8 9 10 110 public KA03Email() { id = idGen; 12 13 14 15 16 18 19 170 public KA03Email(KA03Contact from, KA03Contact to, String subject) { 20 21 22 23 24 25 260 27 28 29 30 31 32 33 34 static int idGen = 100; private int id; private KA03Contact from; private KA03Contact to; String subject; LocalDateTime timestamp; 350 36 37 38 390 40 41 42 430 44 45 46 470 48 49 } } //increment this value after insertion idGen++; id = idGen; idGen++; this.from = from; this.to = to; this.subject = subject; this.timestamp = LocalDateTime.now(); public KA03Email(KA03Contact from, KA03Contact to, String subject, LocalDateTime time) { this. id = idGen; } idGen++; this.from = from; this.to = to; this.subject = subject; this.timestamp = time; } public KA03Contact getFrom() { return from; } public void setFrom(KA03Contact from) { this.from = from; } public KA03Contact getTo() { return to; } public void setTo(KA03Contact to) { this.to = to; 8
Step by Step Solution
There are 3 Steps involved in it
In the provided code snippet there are syntax errors ... View full answer
Get step-by-step solutions from verified subject matter experts
