I applied through an employee referral. I interviewed at IFS (Colombo, Western) in Sept 2023
Interview
I participated in a 30-minutes online technical interview referred by an IFS employee. The discussion included my background, final year project, DBMS, and Java coding questions. It was a friendly interview with one interviewer.
Please provide the final output of the given Java code: class A { public static void main(String[] args) { // non-final variable int a = 5; // final variable final int b = 6; a++; b++; } }
Determine the output of the following Java code: class B { public static void main(String[] args) { int k = 55; try { System.out.println("In try block"); int t = k/55; } catch (ArithmeticException e) { System.out.println("In catch block"); System.out.println("Dividing by zero but caught"); } finally { System.out.println("Execution, whether an exception occurs or not"); } } }
Assuming the trip table has trip ID as the primary key and user ID in the user table as the primary key, in a one-to-many (1:m) relationship, which key would be the foreign key in the other table?
In a dark room, there are 10 red gloves and 10 blue gloves. The goal is to pick gloves one by one, aiming to have a matching pair in color. How many gloves do you need to pick to achieve this?
I applied online. The process took 5 days. I interviewed at IFS (Colombo, Western) in Mar 2024
Interview
Got a call from HR and scheduled the interview. Three team members were at the interview. Interview took for about 30 mins. Technical interview. Explain about the job (Its not totally developing side).