What are intermediate and terminal operators in Stream? Provide examples.
Java
What is the main difference between using the map and flatMap methods in the Stream API when processing data streams?
What criterion do you use to decide on interface splitting? How to handle a class with 20 public methods?
What is Liquibase and how to organize database versioning, especially under security restrictions (like in Sberbank)?
Is it possible to work with data streams in Stream API without performing a terminal operation?
What is reflection in Java and what is it used for?
How to eliminate data inconsistency issues in the database when running tests that use remote database connections?
How do Virtual Threads work?
Do you have experience using the Netty framework for network application development?
Tell about the Outbox pattern for guaranteed message delivery.
What should be in the specification for it to be ready for work? What is your definition of ready?
What distinguishes PostgreSQL from other databases?
What do we have on hand within the interceptor method? What parameters are available?
What is happens-before? Why is i++ unsafe without synchronization?
Briefly tell about your work experience.
How is optimistic locking implemented and what are its features?
Database schema: how many tables are needed to store messages with tags (one-to-many or many-to-many)?
How does LLM work? What does it operate on?
To which objects can you refer inside a lambda?
[name] asked: Do you have any questions?