Java core and details about current project
Software Engineer Senior Java Developer Interview Questions
1,895 software engineer senior java developer interview questions shared by candidates
1. Tell me about yourself
General questions about personal and technical
Interview experience with #vmware for MTS - Developer - Java, Springboot(applied using referral on LinkedIn) Round 1 : class Job { int cpuUsage; int duration; int startTime; } public boolean isJobsValid(Job[] jobs, int cpuCapacity) { //should return false if at any point of time total cpuUsage (sum of cpu usages of multiple jobs happening at same time) is greater than cpuCapacity. } Search in a rotated and sorted array Round 2: Java - hashmap workings -> treemap stack -> get max, push pop
Ask about red-black tree. Similar questions to B+Tree
1. Questions on java collections and algorithms complexity 2. Based on certain requirements propose design strategy of the problem. They wanted to see if i could find design pattern that I could propose for the given task(the pattern in question was decorator pattern)
2 to 3 rounds 1. Java based questions Basics on OOPs, multithreading, exceptions and design patterns 2. Problem solving and system design based on role Difficulty level is not too much, but preparation is required
They asked questions on Java cocepts like : OOPS, Multithreading, Collections. They will show you code snippet, you have to tell the output and with that you will have to discuss the above topic in depth with interviewer. They will usually ask edge cases. Ex: What if we implement 2 interfaces having same name and same signature for a default method. How to solve this problem. Ex2: Why we can create constructor in abstract class but we cannot initialize it. Why java introduced this? Ex:3 What if we override equals method and hashcode method. What if we are returning same value from hashcode method and always returning false from equals method. Ex: 4 If in a class having two different methods with two synchronized blocks and two threads are accessing different methods, What will happen? who will wait?
Some general java basic questions.
Coding questions: 1. Create a password from a string based on Prime indices. 2. Sum of digits of a number & throw a custom exception if it's a even number. 3. Sort employee objects based on employee ID. Other questions on basic java
Viewing 661 - 670 interview questions