Question 12
Consider the code given below.
import java.io.*;class Voucher implements Serializable{ private String v_type="****"; private transient String code="****"; private String exp="****"; public Voucher(String type, String c, String e) { v_type = type; code = c; exp = e; } public String toString() { return v_type + ", " + code + ", " + exp; }}public class SCTest{ public static void main(String[] args) throws Exception{ var fos = new FileOutputStream("voucher.txt"); var os = new ObjectOutputStream(fos); os.writeObject(new Voucher("Footwear", "NEWVOU", "14/09/23")); var fis = new FileInputStream("voucher.txt"); var ois = new ObjectInputStream(fis); Voucher v = (Voucher)ois.readObject(); System.out.println(v); }}What will the output be?