<prompt> Kutoa mfano wa code iliyoandikwa katika Java kwamba magazeti nje tarehe ya sasa na wakati.  <response>: Here is an example of a Java code that prints out the current date and time:javaimport java.time.LocalDateTime;import java.time.format.DateTimeFormatter;public class CurrentDateTime public static void mainString args LocalDateTime now LocalDateTime.now; DateTimeFormatter formatter DateTimeFormatter.ofPatternyyy-MM-dd HH:mm:ss; String formattedNow now.formatformatter; System.out.printlnCurrent Date and Time: formattedNow; 