Sobes.tech

Will the method annotated with @PostConstruct be called on a Spring Bean configured with prototype Scope?

Junior — Middle
194

Is a linked list in a HashMap's Bucket always linked?

Junior — Middle
193

What is the purpose of the flatMap method in the Stream API for data processing?

Junior — Middle
189

How have you implemented caching of data received from third-party APIs or services?

Junior — Middle
186

What characteristic should a key have to be used in a HashMap?

Junior — Middle
185

How is the performance of insert, search, and delete operations in HashMap evaluated?

Junior — Middle
185

What types of indexes have you used or recommend for optimizing database queries?

Junior — Middle
183

What approaches did you use to eliminate the N+1 query problem in Hibernate and how did you implement it?

Junior — Middle
181

In what cases can the method with the @PreDestroy annotation in Spring not be called for a Bean?

Junior — Middle
179

What types of implemented Map interfaces are you familiar with and have used in projects?

Junior — Middle
179

Will the method annotated with @PreDestroy be called for a Prototype scope bean in Spring upon its termination?

Junior — Middle
179

How is the application context created and initialized in Spring Framework?

Junior — Middle
176

How is the HashMap data structure implemented and how does it ensure quick access to elements?

Junior — Middle
173

Can you explain the principle of the Repeatable Read isolation level in PostgreSQL transactions?

Junior — Middle
170

How does using atomic operations help avoid race conditions in a multithreaded environment?

Junior — Middle
169

How do you plan and track task deadlines?

Junior — Middle
162

What is the difference between Singleton and Prototype scopes in the Spring Framework?

Junior — Middle
162

When and why should the combination of the keywords synchronized and volatile be used in Java to ensure thread safety?

Junior — Middle
162

Explain the main differences between race condition and data race.

Junior — Middle
149

What methods have you used to improve the efficiency of database interactions in your projects?

Junior — Middle
148
/3