SAP Ariba interview question

Develop an arrayList with java