BMC Software interview question

mostly databases and java multi threading