How can an argument be passed by reference so that changes inside the function reflect on the original variable?
Java
Have you used the try-with-resources construct in Java for automatic resource management?
If an exception occurs both in try and when closing the resource (try-with-resources), what will catch?
Can you explain what the term 'immutable object' means and what its key features are?
How to handle exceptions in reactive code?
Explain the concept of parallel streams in Stream API and their features.
Is there any feedback or additional questions after the interview is completed?
How is value passing in Java implemented when calling methods — by reference or by value?
In what situations does using the @Transactional annotation in Spring not provide the expected transactional behavior?
Is it possible to modify the size of the stack area allocated for data storage in programming?
Explain the working principle of the pipeline method in Stream and its features.
Is it possible to catch exceptions that are not explicitly declared in the code?
What methods and tools do you usually use to interact with a database in Spring applications?
Pros and cons of JPA vs JDBC?
What is a memory leak?
What is the difference between intermediate and terminal methods in programming?
How to simplify processing if we want to handle multiple exceptions in the same way (Multi-catch)?
Explain the concept of immutable classes in programming and how they are used.
Explain what unchecked exceptions are in programming