[Serializable] class temp { int id; int age; public temp(int id,int age) { this.id = id; this.age = age; } } temp ob = new