Hexaware Technologies interview question

Array in java and screenshot syntax for cucumber BDD