BNP Paribas interview question

What is a repository and how can you access it in Java code?