Google interview question

Q. Implement 2D array using classes