Sobes.tech

How were your test coverage and vulnerability checks organized in the CI pipeline?

192

What is an annotation in Java? How would you explain it to another developer?

192

public class ClassA { int a; @Override public boolean equals(Object obj) { //implementation if (this == obj) return true; if (!(obj instanceof ClassA)) return false; ClassA other = (ClassA) obj; return this.a == other.a; } } public class ClassB extends ClassA { int b; @Override public boolean equals(Object obj) { //implementation if (this == obj) return true; if (!(obj instanceof ClassB)) return false; if (!super.equals(obj)) return false; ClassB other = (ClassB) obj; return this.b == other.b; } } ClassB b1 = new ClassB(10, 20); ClassB b2 = new ClassB(10, 20); assertTrue(b1.equals(b2));

Senior
192

What does the method parallelStream do?

Senior
192

Is it possible to use a try-catch construct without specifying a catch block, and in which cases is this permissible?

Junior — Middle
192

How to accept a POST request with JSON on the Spring side? When does JSON convert to DTO?

Senior
192

Which command helps optimize queries in PostgreSQL?

Senior
192

How does valueOf differ from fromString?

Senior
192

What methods of thread synchronization do you know in Java?

Senior
192

How would you build the process of onboarding a junior into a large monolith?

192

What methods can be used to prevent the use of pessimistic locking in Java applications?

Junior — Middle
192

What do you know about the Saga pattern? When to apply orchestration and when choreography?

Senior
192

Tell about your experience using try, catch, and finally constructs in programming practice.

Junior — Middle
192

What are the disadvantages of the current approach of sorting the entire list each time getTop is called?

Senior
192

What is the complexity of the insert (put) algorithm in TreeMap?

Middle+
192

Why can't we just use a single max variable instead of a second stack?

192

Is it possible to optimize the stack for memory so that there is no x2 consumption?

192
/746