I applied through a recruiter. I interviewed at FabHotels (Gurgaon, Haryana) in Jan 2026
Interview
I was invited for the interview at the premises and was informed that there will be three rounds of interview. First round was core java and basic proograming round and second I am not sure. The third round was supposed to be CT round if the first two are qualified.
Interview questions [18]
Question 1
Can abstract class/interface be instantiated? Can we write default methods inside abstract class/interface?
There are two arrays named Pushed and Popped. You have tell if the Popped sequence can be a valid sequence for provided Pushed sequence in a stack
e.g. Pushed=[2,4,1,3,5] and Popped=[4,3,5,1,2] is valid but Popped=[3,1,5,2,4] is not. We can pop at any stage after adding certain elements to stack.
Can static methods be overridden, if yes, which method will be called when an object of child class accesses this method?
Child c1 = new Child();
c1.staticMethod();
Parent c2= new Child();
c2.staticMethod();
There are three method definitions in class MyClass:
public void callMe(String s)
{}
public void callMe(Integer i)
{}
public void callMe(Double d)
{}
What is the output of the following?
MyClass m= new MyClass();
m.callMe(null);
Overall, the interview went well. Three rounds: DSA, Java, and a managerial discussion. Questions ranged from easy to medium. I felt confident throughout and will await next steps and feedback.