Accelya Group interview question

function vs procedure. What are collections and its type