Wells Fargo Java Interview Questions

As part of job search I have attended interview in couple of companies Wells Fargo is one among them. Here I am placing the list of interview questions which I have faced in a conference round of interview. I hope this will definitely help someone who is attending on below mentioned skill set.



Spring Boot

Spring Cloud

Pivotal Cloud Foundry(PCF)


  1. Could you please explain about your techstack and previous project?
  2. Let’s start with Core Java:

  3. What is the output of below program?
  4. class A{
       private void method1(){
          System.out.println("Inside A method");
    class B extends A{
       public void method1(){
          System.out.println("Inside B method");
    public class Test{
       public static void main(String[] args){
           A a = new B();
  5. Is above program violating the rules of Overriding or not?
  6. When do you go for Interface and abstract class?
  7. From Java 8 on wards, we are able to implement methods in interface. Then what is the need of Abstract Class?
  8. What all java 8 concepts you aware?
  9. What is functional interface and how it is different from normal interface?
  10. Have you worked on multithreading?
  11. How can you communicate from one thread to another?
  12. How thread pool works?
  13. What all the classes and interfaces you worked in Collection framework?
  14. How HashMap works internally?
  15. In Java 7, there are few changes came in HashMap. Do you know what are those?
  16. If I have two keys(Key1=1, Key2=10) with same hashcode, What will happen when we try to put int HashMap?
  17. How TreeSet can store elements in order?
  18. I have custom objects of Student. What should I do to store them in ascending order in TreeMap? TreeMap will take care internally or do I need to write logic for sorting?
  19. When we use Comparable and Comparator?
  20. Coming to WebServices, Spring, Spring Boot, Spring Cloud and Microservices:

  21. Have you worked on REST(REpresentational State Transfer) WS?
  22. How can you convert the JSON data into Java Object?
  23. How can you consume the endpoint from UI?
  24. What are different modules you worked in Spring framework?
  25. Can you explain me the steps how MVC works in Spring and Spring Boot?
  26. What are the advantages of using @RestController over @Controller?
  27. In normal Spring MVC, which you prefer to use either @RestController or @Controller? Why?
  28. What are the advantages of using Spring Boot?
  29. Do you know, how configuration will take care automatically in Spring Boot? Or Do you know, how autoconfiguration works in Spring Boot?
  30. When we declare web module in pom.xml, it download all the related dependencies(JAR’s). How it will identify, which jar is for which module?
  31. How can we run Spring Boot application?
  32. Which is the default server uses in Spring Boot? Does it require any configurations to add?
  33. If server is down, instead of showing default error message, we need to show Custom message. How will you do?
  34. Have you worked on feignClient?
  35. What are different tools you worked on Spring Cloud?
  36. Have you used inline DB?
  37. Do we need to provide any configuration details to use inline DB?
  38. Have you worked on WebLogic?
  39. Coming into PCF:

  40. What is Diego? what it will do?
  41. Can you explain about 12 factor apps?
  42. While pushing application into pivotal, which way you followed? direct or with manifest?
  43. We have different environments with different configurations like Development, Staging and Prod. How will you build and push application into different environments?
  44. I have a monolithic application, how can you push that into pivotal?
  45. My application data source configuration properties are placed in WebLogic server. How will you take care of those while pushing application into pivotal?
  46. Have you used any of User provided services?
Thanks for visiting. If anyone else has extra questions which you people faced, please write in comment.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s