Prospecta interview question

Core Java Basics and SQL