Cognizant interview question

Hibernate OnetoOne, OneToMany mapping