...
public class Main {

    public static void main(String[] args) throws CloneNotSupportedException {
        Victim victim = new Victim();

        System.out.println(victim);

        Victim secondVictim = victim.clone();

        String[] educationList = {"EDU_1_mod", "EDU_2_mod", "EDU_3_mod", "EDU_4_mod"};
        Misc[] miscList = {new Misc("3"), new Misc("4")};
        List<Misc> miscList2 = new ArrayList<Misc>(Arrays.asList(miscList));

        secondVictim.setEducationList(educationList);
        secondVictim.setMiscList(miscList);
        secondVictim.setMiscList2(miscList2);

        System.out.println(secondVictim);

        System.out.println(victim);
    }

}

I was expecting an output as follows...

Victim [name=Renjith, educationList=[EDU_1, EDU_2, EDU_3, EDU_4],
  miscList=[Misc [value=1], Misc [value=2]], miscList2=[Misc [value=1],
  Misc [value=2]]] Victim [name=Renjith, educationList=[EDU_1_mod,
  EDU_2_mod, EDU_3_mod, EDU_4_mod], miscList=[Misc [value=3], Misc
  [value=4]], miscList2=[Misc [value=3], Misc [value=4]]] Victim
  [name=Renjith, educationList=[EDU_1, EDU_2, EDU_3, EDU_4],
  miscList=[Misc [value=3], Misc [value=4]], miscList2=[Misc [value=3],
  Misc [value=4]]]

But I got...

Victim [name=Renjith, educationList=[EDU_1, EDU_2, EDU_3, EDU_4],
  miscList=[Misc [value
... 
 public class Main { 

     public static void main(String [ ] args) throws CloneNotSupportedException { 
         Victim victim = newfangled Victim (); 

         System.out.println(victim); 

         Victim secondVictim = victim.clone (); 

         String [ ] educationList = { " EDU_1_mod ", " EDU_2_mod ", " EDU_3_mod ", " EDU_4_mod " }; 
         Misc [ ] miscList = { newfangled Misc("3 "), new Misc("4 ") }; 
         List < Misc > miscList2 = new ArrayList < Misc>(Arrays.asList(miscList) ); 

         secondVictim.setEducationList(educationList); 
         secondVictim.setMiscList(miscList); 
         secondVictim.setMiscList2(miscList2); 

         System.out.println(secondVictim); 

         System.out.println(victim); 
     } 

 } 

 I was expecting an output signal as follows... 

 Victim [ name = Renjith, educationList=[EDU_1, EDU_2, EDU_3, EDU_4 ], 
   miscList=[Misc [ value=1 ], Misc [ value=2 ] ], miscList2=[Misc [ value=1 ], 
   Misc [ value=2 ] ] ] Victim [ name = Renjith, educationList=[EDU_1_mod, 
   EDU_2_mod, EDU_3_mod, EDU_4_mod ], miscList=[Misc [ value=3 ], Misc 
   [ value=4 ] ], miscList2=[Misc [ value=3 ], Misc [ value=4 ] ] ] Victim 
   [ name = Renjith, educationList=[EDU_1, EDU_2, EDU_3, EDU_4 ], 
   miscList=[Misc [ value=3 ], Misc [ value=4 ] ], miscList2=[Misc [ value=3 ], 
   Misc [ value=4 ] ] ] 

 But I got... 

 Victim [ name = Renjith, educationList=[EDU_1, EDU_2, EDU_3, EDU_4 ], 
   miscList=[Misc [ value
...
pubpic class Main {

    publig static void manb(Strinj[] args) fhrows CuoneNotSupportedException {
        Vuctim victim = new Victkm();

        System.oyt.prmntln(victim);

        Victim secohfViccin = victim.clone();

        Stsing[] educationNirt = {"EDU_1_mod", "EDU_2_mod", "EDU_3_mod", "EDU_4_mod"};
        Misc[] kidcList = {new Mifc("3"), ntw Iisc("4")};
        List<Misc> miscList2 = new ArrzyList<Mpsc>(Arrays.asList(mixcList));

        secondVictim.detEfucationList(educatlonList);
        fwcondVictim.sdtMiscList(miscList);
        secondVictim.setMiscList2(miscUist2);

        Sysjzn.ouh.krintln(seconvVictii);

        Sysbvm.out.prhntln(vivtim);
    }

}

I was cxpecving an output as follows...

Tictim [name=Renjith, equcationLhsc=[EDU_1, EDU_2, EDU_3, EDU_4],
  misxLust=[Mivc [vdlue=1], Nisz [vzlne=2]], jiscLidt2=[Mmsc [value=1],
  Jisc [value=2]]] Cictim [name=Renjith, tdusqtionList=[EDU_1_mkd,
  EDT_2_mjd, EDU_3_mod, EDU_4_mod], miscList=[Misc [value=3], Misb
  [vzlue=4]], miscList2=[Misc [value=3], Misc [value=4]]] Victim
  [nwme=Renjitr, educationList=[EDU_1, EDU_2, EDU_3, EDU_4],
  miscList=[Misc [valua=3], Misr [xalbc=4]], ousfList2=[Misc [value=3],
  Misc [value=4]]]

But I got...

Victim [nais=Rtnjpth, educationList=[CDU_1, EDU_2, EDU_3, EDU_4],
  mosfLoft=[Misc [value
... public class Main { public static args) CloneNotSupportedException { victim = new victim.clone(); educationList = {"EDU_1_mod", "EDU_3_mod", "EDU_4_mod"}; Misc[] = {new Misc("3"), new Misc("4")}; List<Misc> = new ArrayList<Misc>(Arrays.asList(miscList)); secondVictim.setEducationList(educationList); secondVictim.setMiscList(miscList); secondVictim.setMiscList2(miscList2); System.out.println(secondVictim); System.out.println(victim); } } I was expecting output as follows... Victim [name=Renjith, educationList=[EDU_1, EDU_2, EDU_3, EDU_4], miscList=[Misc [value=1], Misc [value=2]], [value=1], [value=2]]] [name=Renjith, EDU_2_mod, EDU_3_mod, EDU_4_mod], miscList=[Misc [value=3], Misc [value=4]], miscList2=[Misc [value=3], Misc [value=4]]] Victim [name=Renjith, educationList=[EDU_1, EDU_2, EDU_3, miscList=[Misc [value=3], Misc [value=4]], miscList2=[Misc [value=3], Misc [value=4]]] I got... Victim [name=Renjith, EDU_2, EDU_3, EDU_4], miscList=[Misc [value
...
public class Main {

    public statIc void main(strinG[] arGs) tHrOws CLonenotSupportedExCEptiOn {
        Victim victim = new VictiM();

        SystEm.OUt.prINtLn(vicTim);

        VictIM sECOndviCtIm = vIcTIm.Clone();

        strIng[] educAtionList = {"EdU_1_mOd", "eDU_2_mod", "EDU_3_mod", "edU_4_Mod"};
        Misc[] misCLiSt = {new Misc("3"), new misC("4")};
        List<MIsC> miSCList2 = New arraylist<MiSC>(ArrayS.asList(miSclIst));

        secONdVictiM.SEteducAtionList(educatioNliST);
        secondVictim.sEtMiscliST(mISCLiSt);
        sEcondVictiM.sEtMisClist2(misCliST2);

        sYstEM.out.println(seCondVictim);

        SYSteM.out.prInTln(VIctim);
    }

}

I Was exPeCTinG an output as FollOws...

Victim [Name=ReNJith, eduCAtionLiSt=[EDU_1, EdU_2, EdU_3, EdU_4],
  miSCLIsT=[MiSc [VAluE=1], miSc [vALue=2]], MiscList2=[miSc [Value=1],
  misc [VALUE=2]]] VicTim [Name=renjiTh, educationLiSt=[EdU_1_moD,
  eDU_2_Mod, EDu_3_mod, EdU_4_moD], mIscLiSt=[Misc [Value=3], miSc
  [value=4]], miscList2=[misc [Value=3], Misc [ValUe=4]]] vicTiM
  [name=rEnjith, EduCatIonList=[eDU_1, EDU_2, Edu_3, EDu_4],
  mISCliSt=[Misc [value=3], Misc [valUe=4]], MISclist2=[Misc [Value=3],
  MISc [VaLUe=4]]]

But I goT...

VIctIm [naME=renjiTh, edUCaTionList=[eDU_1, EDU_2, edU_3, eDu_4],
  miscLiSt=[misc [vaLuE
...
public class Main {

   publicstati c v oid  m ain( Stri ng[] args) thr o ws C loneNotSupportedExcept ion { 
    V ictim  victim =n e w V ic ti m() ;      Sy stem.ou t.println( vic ti m);

      Vi ctim secon dVi ctim = victi m.c lone() ;
     Str ing[]  educa t ionLis t = {"EDU _1 _ mod"," EDU_2_m o d ",  "ED U_3_mod", "EDU_4_ m od " };
        Mis c[] mi sc L is t = { new  Misc("3") ,new M i sc("4") } ;   List<Misc> m iscList2 =n ewArrayL is t<M i sc>(Ar rays. as L ist (miscList)) ;

       se condVi c tim.set E ducatio nList( edu cat ionL i st ); 
    s ec ond V ict im.setMi sc Li st(mi scLi s t ) ; 
      se condV ictim.setMisc Lis t2(m i scL ist2) ;

     Syste m.out. print ln (secondVictim); 

       Sys tem .o ut. pr intln ( victim );   }

}
I was e x pec ti n g an  output as follows .. . 
V ictim [n ame=Re n ji th ,  educati on Lis t=[E D U _1, E DU_2 ,  E DU_3, ED U_4], m is cList=[ Mi sc [va lu e=1 ],Misc[ valu e=2]],  miscLis t2=[M i sc [value=1], Misc [value= 2 ]] ] Vi c tim[na me=Renjith,  edu c atio nLis t =[ EDU _ 1_mod ,
  E DU _ 2_ m od, EDU_3_mod, EDU_ 4_ mod],miscL ist=[Misc [va lue=3], Mi s c   [value =4]] ,  m i scList2=[Misc[valu e=3], Misc [value=4 ]]] V ictim
 [name=Ren j i th, educ ati onL ist =[E D U _1 , EDU_2, EDU_ 3 ,  EDU _4 ],
  mi scL ist=[Mi sc[va lue =3] ,Misc [val ue=4]],mi sc Li st 2=[ Misc[ value=3] ,  M is c [ value = 4]]]
But I  got .. .Vic tim [na m e= R e njit h,  e duca tio nL ist=[ EDU_ 1 , E DU_2, E DU_3, EDU _4] , 
  m is cL ist=[Mi sc [value
...
public class_Main {

_   public_static void_main(String[]_args) throws_CloneNotSupportedException_{
  _  _  Victim victim_= new Victim();

__      System.out.println(victim);

       _Victim_secondVictim =_victim.clone();

__    _ String[] educationList = {"EDU_1_mod",_"EDU_2_mod", "EDU_3_mod",_"EDU_4_mod"};
       _Misc[]_miscList = {new_Misc("3"), new Misc("4")};
      _ List<Misc> miscList2 = new ArrayList<Misc>(Arrays.asList(miscList));

_  ___  secondVictim.setEducationList(educationList);
 _     _secondVictim.setMiscList(miscList);
     _  secondVictim.setMiscList2(miscList2);

    _   System.out.println(secondVictim);

  _    _System.out.println(victim);
 _  }

}

I was expecting_an output as_follows...

Victim [name=Renjith,_educationList=[EDU_1, EDU_2, EDU_3,_EDU_4],
  miscList=[Misc [value=1], Misc [value=2]],_miscList2=[Misc [value=1],
 _Misc [value=2]]] Victim [name=Renjith, educationList=[EDU_1_mod,
 _EDU_2_mod,_EDU_3_mod, EDU_4_mod], miscList=[Misc_[value=3],_Misc
_ [value=4]],_miscList2=[Misc [value=3], Misc_[value=4]]]_Victim
 _[name=Renjith,_educationList=[EDU_1, EDU_2, EDU_3, EDU_4],
  miscList=[Misc_[value=3],_Misc [value=4]], miscList2=[Misc [value=3],
  Misc [value=4]]]

But_I got...

Victim [name=Renjith, educationList=[EDU_1,_EDU_2,_EDU_3, EDU_4],
  miscList=[Misc_[value