Java Spring Brushup
Java Spring Brushup
No
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
Topic
Java 8 features
What are best practices in Java coding
Generics, wild card characters.
Autoboxing and Unboxing.
What is aggregation, composition, explain with realtime project level examples.
What is CI/CD process, tools and how to use and configure Jenkins
Design principles like separation of concerns (Modular programming), immutability, encapsulation, optionalibility.
Arraylist and linkedlist why searching in arraylist is faster then linked list.
Sorting algorithm - Bubble Sort, Heap Sort, Quick Sort etc
What is TDD and how to use in the project
HashMap versus Hashtable versus HashSet ad how to iterate all of them. Write code.
Hashmap versus LinkedHashmap. What is the Internal structure and working.
Which datastructure is used by ConcurrentHashMap/HashMap internally to hold the key value pairs ? Internal functionality
technique.
Synchronized hash map vs concurrent hashmap
Lazy loading and eager loading
Write code for a functional interface and implement it using lambda expression
Garbage collector types / Classloader Types
What is OutOfMemory error and how to resolve it. JVM Tuning. What is permgen memory and meta space memory in JDK 8
Singleton, Factory Pattern, façade patterns with examples. What is best way to write singleton to be used in multithreading e
Can we serialize a Singleton class and what is drawback. What can we do to avoid that drawback ?
Write code to override equals and hascode method for HashMap. how contract gets break where we don’t override the hash
Write code to implement comparable and comparator interfaces with examples.
Learn how parallel streams works internally and how they are different from sequential. What are the mothods of both strea
What is Java Memory Model ? Internal structure of heap (young and old generation). Also what is stack, class area/method a
How do you maintain code quality ? What all measures we can use. What is sonarqube
Difference between Java Singleton Object and Spring Singleton Object.
What are Solid Principles. Expalain with expamples.
Write some examples to explain overloading and overriding in OOPS.
How to use serializable and externizable interfaces. Write the code.
Print array of string using Lambda function
Write a functional interface and lambda function
Iterate a collection using streams API parallel and sequential both.
How many types of memories are there in the JVM and what is meta space memory.
What are coding best practices in Java.
What are the approaches to get thread safety in Java ?
What is fail fast and fail safe collection and how concurrenthashmap works internally.
How HashSet and works internally.
What is Hash collision and how to resolve it.
Print all the numbers greater than 5 from a int array using stream.
How to override equals and Hashcode methods for age and name attributes in a class
Class Hello { int age , String Name }
Best strategy to calculate hashcode
Why java is secured
StringBuffer and Stringbuilder Difference and which one should be used and when ?
Why clone in object class and protected and we are implement cloneable which is a marker.
Best sorting algorithm
How many ways are there to get a new object in Java.
@component and @service difference
What is JPA repository/Hibeernate
Junit, Mockito
How to write query to find the record based on any column value in JPA Repository/Hibernate.
Authentication and Authorization in Microservices using JWT/OAuth/Spring Security.
S.No.
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
Questions
explain architecture of previous project.
What is circular dependency and how to resolve it
What is spring bean lifecycle and lifecycle methods.
what are the annotation used in spring boot.
difference between @enableautoconfigurtion and @configuration annotations.
difference between restcontroller and controller annotations.
what is Kafka server how it works.
how you test spring boot application by using junit test.
how you make api service in spring boot.
What is Bean annotations. Why it is used.
advantage of spring boot over spring mvc.
difference between restfullservice Vs soap.
How to get the list of beans/classes loaded into the spring container
difference between map and flatmap in java 8.
What is lambda expression advantage of lamdaexpression.
what is functional interface different type of functional interface and name of abstract method in these interface .
what is dependency injection and inversion of control.
Difference between component and service annotations.
Micro service architecture
JWT token based authentication
Authentication vs authorization
Qualifier vs Autowired annotation
Some more questions
1: Introduce yourself and latest project and skills.
2: What is daily basis responsibilities.
3: Tools used in current project.
5: Print frequency of all character in String.
6: How to do one to many mapping in hibernate and how many tables will be created.
7: Difference between Comparator and comparabe.
8: Sorting object on the basis of one attribute of Employee class.
9: Difference between high level design and low level designing.
10: Testing framework and how to perform unit testing.
11: Status codes of rest webservices
12: Singleton design pattern and issue with singleton design pattern.
13: Design principles.
14: Difference between hashmap and treemap and internal working.
15: How to use sql queries with hibernate
16: What is the use of spring AOP
18: Any experience on Spring Boot.
19: Any experience on angularjs and html
20: How to create immutable class.
21; Sorting hash map on the basis of value
22: Print first non repeated character from String using Streams API and without Streams API.
S.No Questions
1 Types of joins in SQL with example.
2 What are indexes, cursors and triggers and basic syntax how to write all these.
3 Difference between procedure and function and basic syntax how to write these both.
4 How to fetch nth highest salary of a employee from employee table.
5 Find count of employees where salary is greater than 10k.
1. Need to improve on Spring Boot Cloud and Netflix component.
2. Caching technology.
3. Spring Boot security.
4. Data modelling.
5. PL/SQL and Oracle SQL .
6. OData with Olingo .
7. CICD(Jenkins)
8. GIT
9. JIRA
10. Production deployment process and delivery.
11. Bug tracking and analysis.