OnMobile interview question

Java Strings, SQL , prime number