Java
What type of multitasking is used in Java, and what determines this choice?
What is Spring Data Specification?
What is an initialization block in Java?
What is a mock in testing?
What are the entity states in Hibernate?
What are Mock, Stab, and Spy in the context of software testing?
Tell me about JdbcTemplate and its use in Java applications.
Name the main implementations of the Set interface in Java.
What is a selector?
What are scope beans used for in Spring?
What are the purposes of the Future and CompletableFuture classes in Java?
What is the complexity of searching for an element by key in a HashMap?
Tell about race conditions and how to avoid them in multithreaded applications.
What is the difference between TreeSet and HashSet?
What is the purpose of the @Bean annotation in the Spring Framework?
How to access overridden methods of a parent class in Java?
What is the difference between @Service, @Repository, and @Controller annotations in Spring?
What is the complexity of adding an element to an ArrayList?
What is the difference between optimistic and pessimistic locking in Hibernate?
What is the problem with string concatenation in Java?