Oracle interview question

Java basics. Design pattern. Sql