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"); } } }
Intern Software Engineer Interview Questions
9,335 intern software engineer interview questions shared by candidates
How would you implement a pattern like the one below using your familiar programming language? * ** *** **** *****
Given an array with 10 digits, describe the data structure you would use to find the summation of these values.
In a many-to-many (m:m) relationship, such as students and subjects, how many tables are needed to map this relationship in a database?
OOP, SQL, ER Diagrams, Projects I did in university
Can you describe each pillar?
Remove Duplicates from and Array
Parse through strings & find ones that match certain parameters.
Where do you see yourself in 5 years?
Interview was mostly focused on Projects. Detailed cross questions based on the tech stack of the project. Few questions were asked related to Hashmap and Time complexity (definition and use cases).
Viewing 9251 - 9260 interview questions