VASYERP interview question

1. Explain the difference between StringBuilder and StringBuffer in Java. 2. What is an Actuator in the context of Spring Boot? 3. Define Dependency Injection and explain its types. 4. How and where is Polymorphism implemented in Java? 5. What is Indexing in PostgreSQL, and how does it work? 6. Differentiate between JWT (JSON Web Token) and Spring Security. 7. Describe your roles and responsibilities as a Java Developer. 8. What are the differences between JavaScript, AJAX, and jQuery? 9. What is a Partition in a database, and why is it used? 10. On a scale of 1 to 5, how would you rate PostgreSQL and why? 11. What are the latest versions of Java and Spring Boot? 12. Explain the difference between a Function and a Procedure in PostgreSQL. 13. How does @RequestMapping differ from @GetMapping in Spring? 14. What does the static keyword mean in the public static void main(String[] args) method?