---Advertisement---

Java FS Developer Interview Questions-TCS(6+ Years)

By Siva

Updated On:

---Advertisement---

1. Which collection is best to insert values in inserstion order without any duplicates

2. String s1=”java”;

  String s2=new String(“java”); 

  System.out.println(s1==s2);

  System.out.println(s1.equals(s2));

 What is the output and explain

3. how do you transform List<List<Integer>> to List<Integer> using java 8 ?

4. What is the output System.out.println(10+20+”Java”+10+20);

5. Take a map and sort the it based on values

6. Given a String, find the repeated character in it using Stream functions

7. final List<String> fruits=new ArrayList<>(); is this correct ?

8. Interface vs Functional Interface

9. Why optional 

10. What is Spring Acctuators

11. How to configure Database in Spring project

12. Can we configure more than one DB in Spring project, if yes, How?

13. Put vs POST

14. @RestController vs @Controller

15. will finaly block execute if i give System.exit() in try block

16. How to perform Asysncronus operation in SpringBoot

17. How you handle 404 error in springboot

18. RestTemplate vs FiegnClient

19. What is offset in Kafka

20. can we modify final list

21. use of @cacheable annotation

22. How to implement JWT

23. What is multithreading and how any ways are there to create a thread.

24. Can we override static method

---Advertisement---

Leave a Comment