Sobes.tech

What is the idea of multithreading?

Intern
336

What is the purpose of using Kafka when interacting with the service?

Junior — Middle
336

What are message brokers?

Middle
336

What is a Parallel Stream?

Middle
336

What is the semantics of 'as-if-serial'?

Senior
336

What do you know about the Exists operator?

Junior
336

What is the purpose of the final modifier in Java and in what situations is its use justified?

Junior — Middle
336

What is the difference between static and dynamic binding in Java?

Middle
336

What is a constructor in Java?

Intern
336

What is the purpose and main functions of collections in Java?

Junior — Middle
336

How to register a JDBC driver?

Junior
336

Is it possible to create subclasses of the built-in String type in a programming language?

Junior — Middle
336

How is the first node in a linked list determined?

Junior — Middle
336

Which configuration will have priority: XML, Java, or annotations?

Middle
336

What is JavaServer Pages (JSP)?

Junior
336

@PutMapping("/create") public Book create(Map<String, Object> map) throws Exception { System.out.println("Check if book exists " + map); Book book = new ObjectMapper().convertValue(map, Book.class); Book b = repo.findByTitle(book.getTitle()); if (b != null) { throw new Exception("Book already exists"); } book.setId(UUID.randomUUID().toString()); repo.save(book); log.debug("Book {} by {} is created with id {}", book.getTitle(), book.getAuthor(), book.getId()); return book; } public BookStoreController(BooksRepository repo, Boolean bool, List<String> keys) { this.repo = repo; if (Boolean.TRUE.equals(bool)) { // check first key if(keys != null && !keys.isEmpty()){ String firstKey = keys.get(0); if (firstKey == "public") { for (String key : keys){ // ... some logic log.debug("Using key {}", key); }; } } } }

336

Is it allowed to have duplicate values within a Set collection?

Junior — Middle
336

Design a database schema for a cinema management system, considering information about halls, sessions, and seating.

Junior — Middle
336
/735