Tip 1 : Project hands-on is must if going for projects based on microservices.
Tip 2 : Take few courses from Udemy they really helped me. And perform handson on your local machine also.
Tip 3 : Prepare basic questions on Collections internal working of map, set and other concepts memory management, exception handling, multithreading from some good sites like geeks for geek.
Tip 1 : Do not put anything extra. What you are writing you should have good knowledge of that.
Tip 2 : Use good format for resume having separate columns like tools you have worked and projects.
The test have a limit of 60 minutes with 40 MCQs no coding question. You can go from one section to another. You can also go back and check your answer. Mostly concepts it covered were basic. Having good fundamental knowledge you can easily clear the test.
java.util.Enumeration is an example of which pattern.
Tip 1 : Simply read the design patterns MCQs will be very basic.
What is the use of builder pattern?
Tip 1 : These are basic MCQs can be solved by gaining general conceptual knowledge.
I applied for the senior java developer role. During interview they will make sure that you are fit candidate for them. So interview duration is high 90 minutes. As you join the interview an online IDE link will be shared where interviewer will ask you to code, and run to show desired output along with the theory knowledge check.
First question will be tell me about yourself and you can expect 5-6 questions on your previous project technology how you implemented things.Then he will start asking basic questions on java and write program for them based on String, making class immutable. Counter questions will be there why we write like this only if we will use this what will happen. So basic good conceptual knowledge is must. Then the level will increase he will ask question from each topic Collections, multithreading, Exception Handling and also let you to write code based on some conditions and counter questions will be there.
If you have knowledge of java-8 features then to check complete understanding he will ask to write program using lambda expression, streams, concurrency in java and producers, consumers, function, garbage collection. Questions on memory management and what all features added in java-8 will be there. For spring boot annotations will be asked what is the use of which annotation. Create a controller using POST/GET mapping based on condition. For Restful services how do you create REST API complete understanding. How one services interact with another. How to secure your APIs so knowledge of JWT based authentication is must. And knowledge of messaging queues Rabbit MQ/ Kafka is must 4-5 questions will be there. For database you should have good understanding of one database oracle/myql. They will ask you to write 2-3 queries like 3rd highest salary. If project is based on spring boot 4-5 question will be from hibernate. They will ask you complete working how microservices architecture work what are the components you use. So you should have good understanding of API gayeways, AOP concepts, messaging queue, CI/CD pipeline.
At the end question will be from agile methodology and design pattern you have used in your project. What re various design pattern you are aware of. When to use composite and factory design pattern.
So having good conceptual knowledge and good coding skills is required because atleast 10-12 program they will let you to code and run infront of them to show desired output. Interview level is bit high from other MNCs.
Make a class as immutable.
Declare the class as final.
Make all fields private so that direct access is not allowed.
Don't provide setter methods for variables.
Make all mutable field final.
Initialize all the fields via a constructor performing deep copy.
Perform cloning of objects in the getter methods.



If ‘N’ = 5, ‘ARR’ = {1, 2, 4, 5, 3}
You can sort the given arrangement in two steps.
In the first step select the student with roll number 4 (ARR[2]) and place him at the end, the arrangement now becomes: {1, 2, 3, 5, 3, 4}. In the second step select the student with roll number 5 (ARR[3]) and place him at the end, resulting in the arrangement: {1, 2, 3, 4, 5} which is in sorted order.
It is not possible to sort the given arrangement in less than two steps, therefore we will print 2.

Here's your problem of the day
Solving this problem will increase your chance to get selected in this company
How do you remove whitespace from the start of a string?