Application Process: I applied on mastercard through mastercard Career portal.
MasterCard Hiring Process Overview: https://careers.mastercard.com/us/en/mastercards-hiring-process
First Round: Hiring Manager :Technical Screening
- 30 mins interview was taken where basic java questions like reverse string, write XPath etc was asked.
- Interviewer was very good. He explained me details of the product I would working on and my main roles and responsibilities
Second Round : Technical Interview :1 hour
- Most question were tricky java questions. Nothing much was asked about selenium, Playwright, Restassured, design patterns etc.
PartA: Java Concepts Questions
- What are different ways to create object in java
- Can we create object of abstract class? Answer - No
Follow up question: Does abstract class have default constructor?? Answer - Yes
Follow up question: if object cannot be created from abstract class then why we have constructor in abstract class?. - Can we have final constructor in java?
- Can we have static constructor in java?
PartB: Coding
-
What will be output of the below code
String s= 21+"abc"+ 49 +14;
System.out.println(s) ; -
What will be output of the below code
String s= 21+ 49+"abc"+ 14;
System.out.println(s) ; -
Fizz buzz problem
-
Suppose there are 2 arrays having integers. Create array number 3 which have all elements from array 1 and array 2. there is 1 condition that you can use for loop only once while solving problem
Input : arr1 : {1,2,3,4, 5} & arr2 : {6,7,8,9,10}
Output : arr3 : {1,2,3,4, 5, 6,7,8,9,10} -
Swap immediate elements in array
Input : array : {18,45, 7,10,5}
Output : array :{45,18,10,7,5}
In Second round of interview I was able to answer all coding questions correctly but in few java concepts I didnt answered correctly. At the end of interview , the interviewer asked me how early I can join, He Explained my my main roles and resposibilities in this role. I felt I will pass through this round By i never got callback from HR
Final Verdict: Not selected
Compensation:: I think compenation range in mastercard for Sr sdet role with 7+ yrs exp is around 25 LPA(including 10% variable).


