Test Automation Developer Interview Questions

3,426 test automation developer interview questions shared by candidates

1) Introduction 2) (Orange, apple, lemon, mango, Orange), Which collection do you use if I want to add the objects in insertion order? What if I want to add in alphabetical order, which collection will you use? 3(Orange, apple, lemon, mango) which collection do you use to store these, and why? how can we store in alphabetically order 4) (Fruit: Orange), (Vegetable : Onion) : Which collection will you use to store it, can we store it in order wise? if yes, why ? if not, why? 5)(Fruit: Orange, Mango,pear), (Vegetable: Onion, potato, cabbage): Which collection will you use to store it? can you write it with syntax ..How can we store it in alphabetical order? 6) What would be output String name = "Royal Challengers Bengaluru"; name.toLowerCase(); System.out.println(name); name.toUpperCase(); System.out.println(name); Explain the code as well 7) Give the logic and print it Input: "I Love Dogs"; Output Example: IL, Io, Iv, Ie, ID, Io, Ig, Is LI, Lo, Lv, Le, LD, Lo , Lg, Ls oI, oL, ov, oe, oD, og, os
avatar

Test Automation Engineer

Interviewed at Mphasis

3.4
Aug 30, 2024

1) Introduction 2) (Orange, apple, lemon, mango, Orange), Which collection do you use if I want to add the objects in insertion order? What if I want to add in alphabetical order, which collection will you use? 3(Orange, apple, lemon, mango) which collection do you use to store these, and why? how can we store in alphabetically order 4) (Fruit: Orange), (Vegetable : Onion) : Which collection will you use to store it, can we store it in order wise? if yes, why ? if not, why? 5)(Fruit: Orange, Mango,pear), (Vegetable: Onion, potato, cabbage): Which collection will you use to store it? can you write it with syntax ..How can we store it in alphabetical order? 6) What would be output String name = "Royal Challengers Bengaluru"; name.toLowerCase(); System.out.println(name); name.toUpperCase(); System.out.println(name); Explain the code as well 7) Give the logic and print it Input: "I Love Dogs"; Output Example: IL, Io, Iv, Ie, ID, Io, Ig, Is LI, Lo, Lv, Le, LD, Lo , Lg, Ls oI, oL, ov, oe, oD, og, os

Viewing 2211 - 2220 interview questions

Glassdoor has 3,426 interview questions and reports from Test automation developer interviews. Prepare for your interview. Get hired. Love your job.