Mobisoft Infotech interview question

Normal java programs and 1 SQL join related question