yes, thats correct.
but try this way first (it might not work but try it)
http://stackoverflow.com/questions/20138761/how-to-select-a-dropdown-value-in-selenium-webdriver-using-java
https://loadfocus.com/blog/2016/06/13/how-to-select-a-dropdown-in-selenium-webdriver-using-java/
Both your referred links suggest to use "Select" class. but in this scenario, we cannot use "Select" class
try this way
to click on dropdown menu
and then click on the option you want to select.