So, when I went for the interview at Infosys for the SE role, I started off by giving a normal introduction about myself. After the introduction, they asked me about the four pillars of OOPs—encapsulation, abstraction, polymorphism, and inheritance. Then they asked me to write some code for an abstract class and show how to implement it. I did that, and they also asked if we can have non-abstract methods inside an abstract class, which I explained.
They then asked about the difference between abstraction and interfaces, and asked me about keywords like static, private, and final. After that, they moved on to SQL questions, asking if I knew SQL and to explain all types of joins with examples. I did that too. They also asked the difference between delete, drop, and truncate commands.
Overall, the interview experience was quite good and pretty easy. For a 3.5 LPA role, the interview felt fair and straightforward. In the end, they asked if I had any questions, so I asked about the training period and what the experience in the company would be like. Overall, it was a positive experience.