Infosys interview question

What is the difference between an array and an Object?