Freshworks interview question

Some of the questions from selenium and Java programming/oops