Refresh Your Java - Before Java Interview
We are Agile, believe in less Documentation - Only Quick notes (Java Interview Questions) of Java/J2ee Read more....
Java ArrayList to Array
This example demos is how to Covert an ArrayList to Array.
In Following example we convert a Customer ArrayList to Array
public CustomerVO[] geCustomerVOArray(List customerVOList) {
if (customerVOList != null) {
if (customerVOList != null
&& !customerVOList.isEmpty()) {
CustomerVO[] sl =
(CustomerVO[]) customerVOList.toArray(new CustomerVO[0]);
return sl;
}
}
return null;
}
This Portal is intended to put all Java/J2ee related topics at one single place for quick referance, not only Technical , but also the Project Management Related thing such as Development Process methodoogies build process, unit testing etc.,
This Portal has More than 500 Java Interview Questions (also could be Considered as Quick Notes) very neatly separated topic by topic with simple diagrams which makes you easily understandable. Importantly these are from our Realtime expericance.