HSBC interview question

default functions in java8