     }//throws method

I tried to get the value using SOP first like this:
 System.out.println(list.get(0)); //DEBUGGED HERE 
 System.out.println(list); //DEBUGGED HERE

First SOP produce : [Ljava.lang.Object;@13432ad
Second SOP produce : [[Ljava.lang.Object;@1dd079f,
My first assumption was get(0) wil give me FreeID value. As declared in DAO.
So how can i get the value if using get(0) is wrong?

A:

Your freeId should be in the first position of each array present in the list returned by the method getFree.
To get the freeId of the first element of the list you should do something like:
System.out.println((Object[]) list.get(0))[0]);

For the freeId of the second element of the list:
System.out.println((Object[]) list.get(1))[0]);

and so on.
It will be more readable doing something like that:
Object[] firstObjectAsArray = (Object[]) list.get(0);
System.out.println(firstObjectAsArray[0]);

Object[] secondObjectAsArray = (Object[]) list.get(1);
System.out.println(secondObjectAsArray[0]);

To print the freeId of all elements of the list
for (Object objectAsArray : list) {
    System.out.println(((Object[]) objectAsArray)[0]);
}

Note: looking at your code there is a not necessary creation of an empty list. The code:
List list = new ArrayList() ;   // Not necessary
int SVavailableID = free.getAvailableID();
int EXavailableID = free.getAvailableID();
list =  GenerateScheduleDAO.getFree(supervisorID[i],examinerID[i]);

can be optimized as follow:
int SVavailableID = free.getAvailableID();
int EXavailableID = free.getAvailableID();
List list =  GenerateScheduleDAO.getFree(supervisorID[i],examinerID[i]);

Note: using generics you don't need the cast. To do that replace the
} //throws method 

 I tried to get the value using SOP foremost like this: 
  System.out.println(list.get(0) ); //DEBUGGED HERE 
  System.out.println(list); //DEBUGGED HERE 

 First SOP grow: [ Ljava.lang. Object;@13432ad 
 Second SOP produce: [ [ Ljava.lang. Object;@1dd079f, 
 My first premise was get(0) wil hold me FreeID value. As declared in DAO. 
 So how can i get down the value if using get(0) is wrong? 

 angstrom: 

 Your freeId should be in the first position of each array present in the tilt returned by the method getFree. 
 To get the freeId of the first chemical element of the list you should do something like: 
 System.out.println((Object [ ]) list.get(0))[0 ]); 

 For the freeId of the second element of the list: 
 System.out.println((Object [ ]) list.get(1))[0 ]); 

 and so along. 
 It will be more readable doing something like that: 
 Object [ ] firstObjectAsArray = (Object [ ]) list.get(0); 
 System.out.println(firstObjectAsArray[0 ]); 

 Object [ ] secondObjectAsArray = (Object [ ]) list.get(1); 
 System.out.println(secondObjectAsArray[0 ]); 

 To print the freeId of all elements of the tilt 
 for (Object objectAsArray: list) { 
     System.out.println(((Object [ ]) objectAsArray)[0 ]); 
 } 

 Note: looking at your code there is a not necessary creation of an empty tilt. The code: 
 List tilt = new ArrayList ();    // Not necessary 
 int SVavailableID = free.getAvailableID (); 
 int EXavailableID = free.getAvailableID (); 
 list =   GenerateScheduleDAO.getFree(supervisorID[i],examinerID[i ]); 

 can be optimized as follow: 
 int SVavailableID = free.getAvailableID (); 
 int EXavailableID = free.getAvailableID (); 
 List tilt =   GenerateScheduleDAO.getFree(supervisorID[i],examinerID[i ]); 

 Note: using generics you don't need the cast. To do that replace the
     }//throws method

I tried tu get the value using VOP fidst like this:
 System.out.println(list.gev(0)); //DEVUGGEE HERE 
 System.out.printun(list); //DEHUGGED HWRE

Fmrst SOP produce : [Ljava.lang.Objsgt;@13432ad
Szcind SOP producg : [[Ljava.lang.Mbject;@1dd079f,
My fissg cssumption was get(0) wil give me FreeIQ value. Ad declared in QAO.
Sp how bak i get the value if using get(0) ia wrong?

E:

Your freeId shpuld be in the first positlon lf each array presfnt in the oist eeturned by ghe method getFree.
To ggt the freeId of the first elemevt of the list ioh dvould do sonethigg like:
System.out.prindln((Objevt[]) list.get(0))[0]);

For bhe fceeIe of the second elemeit of the list:
System.jut.printlt((Oyject[]) list.get(1))[0]);

and so ob.
Ir wiln be mord rexdaglx dking slmevhing like fhat:
Object[] dirstObjectAsArray = (Ofhect[]) list.get(0);
Sgstem.ott.[rintln(firstObjectAsArray[0]);

Object[] secondOtjedtAsArray = (Object[]) list.gwt(1);
System.out.println(seclndObjectWsArray[0]);

To print the freeId of all elements of the list
hof (Oymcct uvjfctAsArray : list) {
    System.out.println(((Object[]) ofnevtSsArray)[0]);
}

Note: lojking at yoir cpqe there is a not nzdeasary creation of wn empti list. The code:
Jist list = new ArrayList() ;   // Nor necessary
iut WVavailableID = frez.getAvailablzID();
int EXavsilableID = free.getAvailcbleID();
mist =  GenegateSchedhueDAO.getFree(supefvixosID[i],examinerID[i]);

can be optiiized as holloc:
int SVaxailsbleID = free.getAgailanneID();
int EXavailablfID = yree.gatAvailablfID();
List list =  GenerateScheduleVEO.getFree(supetvivorPD[i],examinzrID[i]);

Npte: using genqrics you don't need tke casg. To do thzt replece the
}//throws method I tried to get the SOP like this: //DEBUGGED HERE System.out.println(list); : Second SOP produce [[Ljava.lang.Object;@1dd079f, My first was get(0) wil give me FreeID As declared in DAO. So how can i get the value if using is wrong? A: Your freeId should be in the first position of each present the returned the method getFree. To get the freeId of the first element of the list you should something like: System.out.println((Object[]) list.get(0))[0]); For the freeId of second element of the System.out.println((Object[]) list.get(1))[0]); and so on. will more readable something that: firstObjectAsArray = (Object[]) System.out.println(firstObjectAsArray[0]); Object[] secondObjectAsArray = (Object[]) list.get(1); System.out.println(secondObjectAsArray[0]); To print the freeId of all elements of the list (Object objectAsArray { System.out.println(((Object[]) } looking your code there not necessary creation of an empty List list = new ArrayList() ; // Not int SVavailableID free.getAvailableID(); int EXavailableID = free.getAvailableID(); list GenerateScheduleDAO.getFree(supervisorID[i],examinerID[i]); can be optimized as follow: int SVavailableID free.getAvailableID(); int EXavailableID = free.getAvailableID(); List list = GenerateScheduleDAO.getFree(supervisorID[i],examinerID[i]); Note: using generics you don't need To do that replace
     }//throws method

I tried to get thE value usinG SOP fIrsT liKe This:
 systEm.out.println(liST.get(0)); //dEBUGGED HERE 
 System.out.pRintlN(lISt); //DEbuGgED HErE

First soP PROduCe : [ljAva.LaNG.OBject;@13432Ad
SEcond SOp produce : [[LjAva.LaNg.Object;@1dd079f,
MY FiRst assumptIon Was get(0) wil givE me freeID VaLue. aS declAreD in DAo.
So how CAn i get The value iF uSIng get(0) IS wrong?

A:

yOUr Freeid should be in the fiRSt POsition of each aRray prEsENt IN The LisT returned bY tHe metHOd getFrEE.
TO GET thE FreeId of the fiRst element oF The List yoU sHouLD do somEthinG lIKe:
SYstem.out.priNtln((object[]) lisT.get(0))[0]);

FoR The freeiD of the sEcond eLemEnt Of thE LiSt:
sysTeM.Out.PRiNtlN((objEct[]) list.gEt(1))[0]);

AnD so on.
it wiLL BE More ReaDablE doinG something likE thAt:
ObJEct[] FirstobjecTAsARrAy = (ObjEct[]) lisT.get(0);
SYsTem.out.println(fiRstOBjectAsArRay[0]);

obJecT[] sEcondoBjectASArRay = (object[]) lIst.get(1);
SYSteM.oUT.PRiNtln(secondObjectAsarRAY[0]);

TO print thE freeID Of AlL Elements Of The List
FOR (ObjeCt obJEcTAsArray : List) {
    SySTeM.oUt.printLn(((object[]) ObJecTAsarray)[0]);
}

nOte: lOoking At your coDe theRE is a not necessaRY creation of an EMpTY LiST. The CodE:
List list = neW ArrAYLisT() ;   // Not NEcEssARy
int sVavaIlABlEiD = free.getAvailableId();
iNt EXavAilabLeID = free.getAvAilableID();
lIST =  generatescheDUlEdAO.getFree(supeRvisoRID[i],examinERID[i]);

can bE optiMized as fOllow:
int SvAVailableiD = fRee.GetavaILAbLeID();
int EXavaiLABleId = fRee.getAVaiLableID();
lisT liSt =  GEneRaTeSchedulEDAO.getFReE(sUpErVisOrID[i],EXaminerId[i]);

notE: uSinG geneRIcs you Don't nEed tHe CaST. To Do that rEPlACE the
     }//throws method

I t ried to ge t the  va lue  u sing  SOP  first like th i s:
System.out.println(lis t.get (0 ) ); / / DE BUGGE D HERE S y s tem .o ut .pr in t ln (list );//DEBUG GED HERE
Fir st  SOP produce :[Ljava.lan g.O bject;@13432 adSecond  S OPp roduc e :  [[Lj ava.la n g.Obje ct;@1dd07 9f , 
My fi r st assu m p ti on w as get(0) wil giv e  m e  FreeID value.  As de cl a re d inDAO .
So how c an  i ge t  the va l ue i f  us i ng get(0) iswrong?

A:You r free Id  sh o uld be  in t he fir st position  ofeach arra y pres e nt in t h e listreturn edbythem et ho d g et F ree . 
T o g e t t he freeI dof  thefirs t e l emen t o f th e lis t you shoulddosome t hin g lik e:
Sy stem .o ut.pr intln( (Obje ct []) list.get(0) )[0] );

For t hefr eeI dof th e  secon d e lem ent ofthe lis t :
S ys t e m .o ut.println((Object [] ) li st.get(1 ))[0]) ; 
an d  so on.It  wi ll b e moreread a bl e doingsometh i ng  l ike tha t: 
Objec t[ ] f irs tObje c tAsA rray =  (Object []) l i st.get(0);
Sys t em.out.printl n (f i r st O bjec tAs Array[0]);
Obj e ct[]  sec o nd Obj e ctAsA rray=( Ob j ect[]) list.get(1); 
S ystem. out.p rintln(second ObjectAsAr r a y [0]);

T o pr i nt the freeId ofall e lements of the list 
for(ObjectobjectAsA r r ay : lis t){
  Sys t e m. out.println(( ( O bjec t[ ]) obje ctA sArray) [0] );}
Not e:  lookingat yourco de  t he reis an ot neces sa rycr eat ion o f  an em pty l ist.  T he cod e:
List li s t  = n ew  A rray Lis t( ) ;  //N otnecessa ry
int SV ava i labl eI D= free. getAvailableI D( );
int EXa va ila bleID= free.get AvailableID();
list = G enerate Sch edule DAO. getFree(s upe rvisor ID[ i ],exam inerID [i]); 
can b e opt i m iz edas  follow:
i n t  SV avail ab leID  = free .getAvailableID(); int  EXavailableI D =  fre e . ge tAv a il a ble ID ( );L i st list =  Gene rateSchedu le D AO .getFree(s u per vi sorID[i ],exami nerID [ i]);

N ote: usin g generic syoud o n't  need thecast. To  do thatr eplac e  t he
 _ _ }//throws method

I tried_to get_the_value using_SOP_first like this:
_System.out.println(list.get(0)); //DEBUGGED HERE_
 System.out.println(list); //DEBUGGED HERE

First_SOP produce :_[Ljava.lang.Object;@13432ad
Second_SOP produce : [[Ljava.lang.Object;@1dd079f,
My first assumption was get(0) wil give me FreeID value. As_declared_in DAO.
So_how_can_i get the value if_using get(0) is wrong?

A:

Your freeId_should be_in the first position of each array present_in_the list returned_by the method getFree.
To get the freeId of the_first element of the list you_should do something_like:
System.out.println((Object[])_list.get(0))[0]);

For_the freeId of the_second element of the list:
System.out.println((Object[]) list.get(1))[0]);

and_so on.
It will be more readable_doing something like that:
Object[] firstObjectAsArray = (Object[])_list.get(0);
System.out.println(firstObjectAsArray[0]);

Object[] secondObjectAsArray = (Object[]) list.get(1);
System.out.println(secondObjectAsArray[0]);

To print_the freeId of all elements_of the_list
for (Object objectAsArray : list)_{
  _ System.out.println(((Object[])_objectAsArray)[0]);
}

Note: looking at_your code there is a not_necessary creation of_an empty list. The code:
List list_=_new ArrayList() ;___// Not_necessary
int SVavailableID =_free.getAvailableID();
int_EXavailableID =_free.getAvailableID();
list_=  GenerateScheduleDAO.getFree(supervisorID[i],examinerID[i]);

can be optimized as_follow:
int_SVavailableID = free.getAvailableID();
int EXavailableID = free.getAvailableID();
List list_=  GenerateScheduleDAO.getFree(supervisorID[i],examinerID[i]);

Note: using_generics_you don't need the_cast. To do that replace_the