java programming interview questions for automation testing with answers 2024