Question: how to select dropdown value in selenium using java?
Answer: Just wrap your WebElement into select Object as shown below. Select dropdown = new Select(driver.findElement(By.id("identifier")));
Now to identify dropdown do. ... 
To select its option say 'Programmer' you'll be able to do. ... 
dropdown.selectByIndex(1);