Sobes.tech

What is the difference between using synchronizedMap and ConcurrentHashMap to ensure thread safety in collections?

Junior — Middle
297

How can a pessimistic locking mechanism be implemented to ensure data integrity in a multithreaded environment?

Middle — Middle+
273

Explain the concept of full locking in database management and its features.

Junior — Middle
245

Can you name the main terminal operations used in Stream API?

Junior — Middle
241

Have you worked with the CompletableFuture class for asynchronous programming in Java?

Junior — Middle
232

Can you list the main methods provided by the Stream API in Java?

Junior — Middle
227

Can you explain what the load factor metric means in the HashMap data structure?

Junior — Middle
225

How do connection types differ in SQL and what are their features?

Junior — Middle
221

What is the time complexity of inserting an element into a HashMap in the worst-case scenario?

Junior — Middle
221

Can you explain what a call stack is and how it is used in programming?

Junior — Middle
214

Can you explain the main differences between the Adapter, Facade, and Proxy patterns and in which situations it is better to use them?

Junior — Middle
212

Can you name and describe with an example the most common thread-safe collections in Java?

Junior — Middle
212
/4