200+ Java Fullstack developer questions

  1. Write Fibonacci series programming and explain logic
  2. how auto wiring works in spring
  3. write a program for dependency injection
  4. how security is implemented in your project.
  5. difference between filter and map in java streams.
  6. Explain about your current project.
  7. How to read the file and display total count of each word.
  8. How angular Makes calls to spring boot
  9. What is spring profile
  10. There is a list with emp objects with duplicate name, age attributes. How to retrieve uniques names.
  11. What Technologies used in last project.
  12. Abstract class and encapsulation.
  13. What is HashMap? how it works.
  14. what is inter thread communication
  15. what ArrayList ? extends object and ArrayList? super object means
  16. what is splice and slice
  17. difference between == and ===
  18. Write a Java 8 program to get the sum of all numbers present in a list?
  19. what FlatMap?
  20. write a prog ..how to sort emp obj in java8
  21. Given the list of employees, find the employee with name “R”.
  22. Angular Routing process
  23. Difference Between constructor vs ngOnInit in Angular
  24. how to find which datatype is created in JavaScript
  25. what is id in CSS
  26. how to create a singleton object
  27. what is static method, static block and static class
  28. what will happen if we add final to a method
  29. what is @path and path param, path variable
  30. what is multi catch block
  31. what is subquery and when we use it
  32. how to use service in angular
  33. difference between @Input and @Output in angular
  34. what is event emitter
  35. what is @beanpropertyrowmapper
  36. Handle cross horizon resource sharing-angular, how can u candle hash code, equal
  37. sql query, highest salary- department wise
  38. Routing in Angular
  39. import and export in ngModule
  40. what is ngModule
  41. directives and use of them in angular
  42. routes in angular
  43. what is children attribute in routes in angular
  44. Hibernate OneToMany and ManyToOneMapping example
  45. How to return a single user if userId passed or list of users if userId not passed in JPA
  46. Micro services communication
  47. Autorization and authentication process in current project
  48. String reverse program
  49. Spring JPA Example
  50. Factory design pattern
  51. Singleton Design pattern and real time usage and implementation
  52. How to prevent singleton object from clone?
  53. Synchronous and asynchronous requests, how to consume angular http request and services
  54. Springcloud config
  55. publishing a service in spring cloud
  56. diff b\w rest and soap
  57. what is the new in the current java version compared with previous versions?
  58. What is the lambda expression?
  59. What is a functional interface and it’s example?
  60. How many ways to create a thread and it’s life cycle?
  61. What are streams in java?
  62. What is the difference between a hashset and concurrenthashset?
  63. Difference between hashmap and concurrenthashmap
  64. What is LinkedHashMap
  65. What is a static method in java?
  66. How the static class locking works?
  67. what is a singleton design pattern and how do you create it?
  68. What are directives in angular?
  69. What are pipes in angular?
  70. How do components communicate with each other and data transfer among them?
  71. What is DDL and DML??
  72. What is the difference between Truncate and Delete?
  73. What is the difference between function and procedure?
  74. What is immutable class
  75. Method to find missing number in a Array list with value from 0-100. (number 7 and are missing)
  76. find the number of integer appear in a array list having duplicates
  77. Explain Quick sort
  78. Serialization
  79. what is executer framework and cachethreadpool
  80. How hashMap works internally
  81. Spring & Microservice
  82. What is microservice and its architecture
  83. How to handle situation if one of microservice fails
  84. What is API gateway
  85. What is client side load balancing
  86. Spring life cycle
  87. What is dependency Injection
  88. Annotation used in circuit breaker implementation
  89. Microservice design patterns
  90. fast iterate and safe iterate
  91. How you read file from angular
  92. difference between get and load in hibernate
  93. Spring JPA CRUD Repository
  94. jdbcTemplate methods
  95. difference between Observer and subscribe in angular
  96. Spring boot and hibernate integration steps
  97. How you read properties file from springboot
  98. sql query for one to many mapping.
  99. Functional interface.
  100. Design patterns used Realtime in your application.
  101. Java Multithreading – wait & notify, Obtaining lock.
  102. Static and Dynamic Overloading.
  103. Spring security its annotations.
  104. Java 1.8 features.
  105. Angular Observable subscribe and unsubscribe.
  106. what happens when we call a void method in a system.out.println()?
  107. What is Resource(Request) and Response in Restful services?
  108. how can I return custom data instead of JSON or XML content for a Rest response?
  109. what are stream(s) in java and few operations on them like comparison
  110. difference between comparable and comparator
  111. why Clonable is not implemented by Collection interface, reason?
  112. Components in angular
  113. What is the life cycle of components in angular
  114. Sharing data between components in Angular
  115. Type Script compilation process
  116. Angular life cycle
  117. what are gate in angular
  118. in how many ways I can sort my employee object with the given set of columns, explain?
  119. How to create schedulers in java
  120. How we implement batch import and export functionality in spring.
  121. How to maintain session in server side.
  122. Lifecycle process of angular
  123. How to reload header and footer menu based on particular left menu routing
  124. Box model in CSS
  125. Pseudo selector in CSS
  126. Difference between display block & display inline-block
  127. Difference between position absolute and position relative
  128. What is the internal implementation of HashMap?
  129. What is the algorithm/datastructure used to get an emlement from HashMap?
  130. How to make HashMap synchronized
  131. Difference between HashMap & concurrent hash map
  132. Authenticate client side in angular
  133. Time difference calculation in angular
  134. How to create Generic class in angular
  135. Difference between Post and PUT
  136. Stored Procedures
  137. Monolithic architecture and Microservice Architecture
  138. java 8 new features
  139. List of collections used
  140. How exceptions are handled
  141. Throw and Throws
  142. Final, Finally, Finalize
  143. Spring IOC
  144. Spring boot advantages
  145. JPA repository
  146. First level second level cache in hibernate
  147. Union vs Union all
  148. Spring security
  149. Spring transactions
  150. Custom directives
  151. Get and post in angular
  152. employee has id, name, salary. Find the list of employees where the employee name starts with “n” using java8?
  153. can you the same in ArrayList and array?
  154. Vulnerability checking process in the front end
  155. Have you worked on Cross Site Scripting?
  156. What are the challenged faced in Cross Site Scripting?
  157. Have you worked in Custom annotation creation in Java?
  158. if yes? Could you explain the implementation of custom annotation?
  159. Where thread class variables will get store in Memory?
  160. What are the different databases you worked?
  161. Did you face any query performance issues? how did you increase the performance of the query?
  162. What is index and query of it?
  163. What is the data structure used to create an index?
  164. How can you handle the errors in Spring Boot?
  165. Can you explain what are the dependencies required to create REST application in Spring Boot? what other classes needs to be created to perform CURD operations and it’s flow?
  166. How you worked on application security?
  167. angular life cycle hooks
  168. Explain insertion sort logic
  169. Write query to get 3rd highest salary of employee
  170. How to get the average value of integers using streams
  171. What are method references
  172. What are for lambda expressions introduced and what is the advantage
  173. explain proxy pattern
  174. how to find duplicate user object user {name, age}
  175. What is observable
  176. What is cluster index
  177. What is the deployment procedure of Micro services
  178. Explain service discovery pattern
  179. What is containerization
  180. how to import module and service in Angular
  181. Difference between monolithic and microservices architecture.
  182. Difference between Spring and Spring boot
  183. Explain about Spring boot starter
  184. Spring security
  185. @Springboot application
  186. Gates in angular
  187. Life cycle of angular hooks
  188. How to pass the data between components.
  189. Structural and behavioral directives
  190. Multi threading concepts
  191. Architecture of the current project where you are working
  192. Architecture of angular application
  193. Difference between soap and Rest
  194. Questions on GIT code checkout process
  195. Questions on Front end security concepts
  196. Code deployment procedure
  197. Load balancing concepts related to services
  198. REST and SOAP justification for usage
  199. Questions based on resume and projects explanation Why ? What ?
  200. How we used if we mention any technology

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.

Java

Microservices

Spring Boot

Spring Cloud

Pivotal Cloud Foundry(PCF)

Questions:

  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();
           a.method1();
       }
    }
    
  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.