Manhattan Associates interview question

Basic Java Oops concept Selenium Behavioural