Most Asked Java, Spring Boot, M's Interview question for 5+ years experienced in 2023 | Code Decode
In this video of code decode for 5+ years experienced most asked java spring boot microservice hibernate interview questions for 5 years in 2023
Udemy Course link : www.udemy.com/...
Can we use HashMap in a multi-threaded environment?
You can use the HashMap for query services (in CQRS Microservices Design pattern ) but the probability of working fine depends on the way we use it. For instance, consider the HashMap of configuration properties, if the HashMap initialization / modification was done by using just one thread, and the remaining threads do the task of reading from the map, then HashMap would work perfectly well.
The problem arises when there is concurrent update on Hash Map. Hence, during such scenarios, we can use the HashTable or ConcurrentHashMap
Is there any difference in defining or creating a String by using String literal and by using the new() operator?
Creating string using the new operator ensures that the String is created in the heap and into the string pool both.
Whereas, creating string using literal ensures that the string is created in the string pool.
String pool exists as part of the heap.
This ensures that the multiple Strings created using literal having same values are pointed to one object and prevents duplicate objects with the same value from being created
What do you know about Factory Design Pattern in Java?
Factory design pattern is the most commonly used pattern in Java.
They belong to Creational Patterns because it provides means of creating an object of different instances.
What are the Spring Boot Starters?
Spring Boot Starters are a set of pre-configured dependencies that can be easily included in your project to quickly get started with common features or technologies.
Spring boot starter is a maven template that contains a collection of all the relevant transitive dependencies that are needed to start a particular functionality.
Like we need to import spring-boot-starter-web dependency for creating a web application.
What is Spring Boot Actuator?
Spring Boot Actuator is a set of features that provide monitoring and management capabilities for your Spring Boot application.
Actuator endpoints expose information about your application, such as health status, metrics, and environment variables, that can be used to monitor and manage your application.
The profile names can also be passed in via a JVM system parameter. These profiles will be activated during application startup:
-Dspring.profiles.active=dev
Whats AOP
Aspect Oriented Programming (AOP) is a programming paradigm aiming to segregate cross-cutting functionalities, such as logging, from business logic in an application
Aspect - Aspect is a class in which we define Pointcuts and Advices.
Advice - It’s the behavior that addresses system-wide concerns (logging, security checks, etc…). This behavior is represented by a method to be executed at a JoinPoint. This behavior can be executed Before, After, or Around the JoinPoint according to the Advice type as we will see later.
Pointcut - A Pointcut is an expression that defines at what JoinPoints a given Advice should be applied.
JoinPoint - Simply put, a JoinPoint is a point in the execution flow of a method where an Aspect (new behavior) can be plugged in.
How can you access a value defined in the application? What is properties file in Spring Boot?
Use the @Value annotation to access the properties which is defined in the application - properties file.
Swagger 2 is an open-source service provided in Spring Boot which makes it easier for the machines to find out the structure of APIs like RESTful Web services.
Most Asked Core Java Interview Questions and Answers: • Core Java frequently a...
Advance Java Interview Questions and Answers: • Advance Java Interview...
Java 8 Interview Questions and Answers: • Java 8 Interview Quest...
Hibernate Interview Questions and Answers:
• Hibernate Interview Qu...
Spring Boot Interview Questions and Answers:
• Advance Java Interview...
Angular Playlist: • Angular Course Introdu...
SQL Playlist: • SQL Interview Question...
GIT: • GIT
Subscriber and Follow Code Decode
Subscriber Code Decode: www.youtube.co...
LinkedIn: / codedecodeyoutube
Instagram: / codedecode25
#java #interviewquestions #codedecode
Пікірлер: 144
Just wondering how did u collect this all questions ,a month back I had an interview and all the questions they asked are from this video 😅but unfortunately I couldn’t watch this video that time ..btw great work 😍please make more videos for experienced java developers where they ask specific example from the projects 😅
@CodeDecode
11 ай бұрын
Spent enough time in IT now as interviewer . We know how it works😝. But thanks for your feed back that these are still a fresh question set. It will help others👍
@somyakumari3238
2 ай бұрын
How many years experience and which company?
WebClinet Supports Async communication as well
Thank you So much mam. Today I have selected in one company. I got a clear idea what to prepare for the interviews by following your videos. Eventhough i have three years of career break i got selected. Your videos helped me a lot. Your explaination is very good mam. If i feel any topic is difficult and definately it will becomes easy after listen to your video on that perticular topic. Thank you so much......
@CodeDecode
Жыл бұрын
Thank you! We are glad that we could help. Congratulations on your new job, and all the best for your future endeavors!
@uvanana.
11 ай бұрын
What and all concepts and questions they are asking
@uvanana.
11 ай бұрын
Hii @kottesravanthi6399
@AutoExciteHub
7 ай бұрын
Pacakage?
@kritikharkwal2441
Ай бұрын
Ylpllll
new String operator create object in heap and in string pool. It isn't false? Doesn't it only create object in heap?
@CodeDecode
3 ай бұрын
Blogs are divided on this concepts. Some days in both, some says only in heap.
very nice content. More Questions for Java, spring boot, REST, SQL 5+ exp would be very much appriciated.
@CodeDecode
Жыл бұрын
Sure Ruchita 👍👍
Desperately I need this, thanks for posting, also can you please make video on, how we will maintain session from one microservice to another microservice while calling through rest template? Very much needed answer mam? Similarly how we are maintaining transaction from one microservice to another microservice?
@CodeDecode
Жыл бұрын
We already have both answered. kzread.info/dash/bejne/eJmT07KGaJTOeps.html
Please make video on 7+ years exp for Java Developer (micro service)
@CodeDecode
Жыл бұрын
Sure👍👍
I was thinking of this the whole day and see I got the notification 😂 Thank you 🙏
@CodeDecode
Жыл бұрын
🙂😊👍👍
Love the content. Please do more videos on interview questions..
@CodeDecode
Ай бұрын
Thanks sure 👍
Could you please explain how security is handled in Microservices. It's most asked questions. Need in detail video on it. It would be great help team.
@CodeDecode
Жыл бұрын
Spring Security Interview Questions and Answers with Live Demo: kzread.info/head/PLyHJZXNdCXseGWynh6MlMrC_CmV0dR8mF
Great explanation. Please make video on some coding questions also. Thank you.
@CodeDecode
Жыл бұрын
Sure 👍👍
Your videos helps me do better in each interview ❤ i have improved alot!!!! thank you so much 🙏😊
@CodeDecode
Жыл бұрын
Many congratulations in clearing interviews 🎉🎉 keep learning keep shining 🌟🌟😀
Plz make a tutorial on how to implement spring security end to end (line by line code) with Oauth2 and bcrypt
@CodeDecode
Жыл бұрын
Sure
Thank you for sharing this video, Can you please share interview questions video for 7+ years of experience
@CodeDecode
Жыл бұрын
Sure 👍👍
Thank you so much mam 🙏☺️😊... Currently I am going through lots of interviews & this same questions companies are asking... Each & every questions I have received in different different companies interview... Can i get yours LinkedIn Profile link ?
@CodeDecode
Жыл бұрын
Agreed even after so many years we have such questions repetitively
Awesome...... speechless explained & containt also very perfect
@CodeDecode
Жыл бұрын
Thanks Ravi 🙂👍
Thanks for the great explanation 😊
@CodeDecode
8 ай бұрын
you're welcome
thanks for the video . Please make video on 7+ exp and 9+exp as well
@CodeDecode
Жыл бұрын
Thanks 🙂🙂
Thanks for ur support... Expecting more interview questions.. Can you pls upload a detailed explanation of basic hashing, hashing algorithm and new changes recently introduced in hashing if any
@CodeDecode
11 ай бұрын
kzread.info/dash/bejne/aZ9kuLuBpbisZso.html
@CodeDecode
11 ай бұрын
Is this what you need?
Perfect . Loved entire series.
@CodeDecode
4 ай бұрын
Thanks
Yes We want For 7+ and 9+ and may be Part 2 for 5+ Years Looking Forward For Videos
@CodeDecode
Жыл бұрын
Sure Pranjal 👍👍
Hi Team, please kindly provide Scenario based Interview questions for 7+ years of experience. I will be waiting for your video. I am actualy a fan of your voice, the way the explanation is provided is awesome. But still I need how the Interviewer will be asking coding based questions also in the interview. Please help me and many people like me..
@CodeDecode
10 ай бұрын
Sure We will create one soon 👍
Thanks 🙏🎉
@CodeDecode
Жыл бұрын
❤️❤️
Excellent content!
@CodeDecode
Жыл бұрын
Thanks
AFAIK, when you create String object using new, you need to explicitly call intern to add it to pool
@okaberintarou5020
11 ай бұрын
This is the correct answer.
Appreciated your effort Mam 👍❤
@CodeDecode
Жыл бұрын
Thanks 😊👍
Create more videos on Spring boot ,Hibernate and JPA
@CodeDecode
Жыл бұрын
Sure you will see more videos on this topics soon
Awesome nice set of questions answered discussion Very well explained 🙏🙏
@CodeDecode
Жыл бұрын
Thanks Pravas 😊👍
Thank you so much mam. I got offer letter because of you.
@CodeDecode
Жыл бұрын
Many many congratulations Prakhar 💐💐🎉🎉 wish you many more success in your life Man. Keep learning keep shining 🌟🌟🌟🌟
Can make a video for interview questions for 16+ years in Java. I am looking for architecture level interview questions.
@CodeDecode
Жыл бұрын
Sure 👍👍
Keep it up
@CodeDecode
3 ай бұрын
Thanks
Nice content, thanks for detail explanation
@CodeDecode
6 ай бұрын
You’re welcome
Hello Mam, I have one questions m Curcyuit breaker has three states Open , Half open and CLosed So any one microservice which is down so it will get up or get repaired automatically after using circuit breaker ? Please answer , Thank you , You are making content more than best 🙏
Thank you so much for your videos, But your going very fast , And my request is to glow slowly
@CodeDecode
11 ай бұрын
Sure sure will try to reduce the pace 👍👍
Thanks madam
@CodeDecode
Жыл бұрын
You’re welcome
Appreciated your effort team.. In most of the compnies interviewer asking scenario based questions on Hashmaps . For ex : if bucket is empty nd if we try to insert key for that bucket will it execute equals method or not. What happens if we insert same key Nd mny more.. Could you please come up with such scenario based questions
@CodeDecode
Жыл бұрын
Sure 😊👍
Thank you for great video and explanation. Can you please share link for 7+ experience?
Awesome
@CodeDecode
Жыл бұрын
Thanks
Awesome content.
@CodeDecode
4 ай бұрын
Thanks
Yes mam coding questions video cheyadii
@CodeDecode
Жыл бұрын
Sure 👍👍
Ma'am please make videos series on Devops Engineer interview questions and answers
thanks a lot mam☺☺☺
@CodeDecode
Жыл бұрын
You're welcome
How to learn data structure and algorithm..please make video on it as well.
Hi, I have a query. I have 10000+ entries in an excel sheet. How do I read those and once processed mark as processed for each record.
@CodeDecode
11 ай бұрын
We prefer batch processing for such scenarios
@modern_mirror
11 ай бұрын
@@CodeDecode can you make a video on that too? Please
I want give the on this platform once i study full
beautiful.
@CodeDecode
Жыл бұрын
Thanks Sandeep 🙂👍
Please make interview questions for architect level
@CodeDecode
Жыл бұрын
Sure we will create it soon
Please add 10+ years experience video
@CodeDecode
7 ай бұрын
Sure we will create it soon
We can also use Synchronized version of hashmap
@CodeDecode
Жыл бұрын
That's slow and low on performance side bcz of single thread execution
Please do 7+ and include some more on system designs
@CodeDecode
Жыл бұрын
Sure👍👍
could you please share spring boot interview questions vedio for 7+ years expericence
@CodeDecode
9 ай бұрын
sure we will create it soon
Looking for scenario based questions tooo. ❤
Hi Team, can you please prepare video for 9years experience also.
@CodeDecode
7 ай бұрын
😊 sure
Pls add 10+ exp interview questions
@CodeDecode
5 ай бұрын
Sure we will create it soon
Please do coding questions asked in 2023
@CodeDecode
Жыл бұрын
Sure Swathi 👍
Will they be asked from 1+ year of exp. Also?
@CodeDecode
11 ай бұрын
If you are unlucky enough to get strict interviewer then might be
1. 00:41 2. 02:37 3. 04:17 4. 05:59 5. 07:02 6. 09:12 7. 10:03 8. 12:06
@CodeDecode
9 ай бұрын
👍
"tum bhaut mast kaam karta hai maksood bhai"
@CodeDecode
11 ай бұрын
😝😝👍👍
Please create some videos 9+ year experience.
@CodeDecode
Жыл бұрын
Sure mayank 👍😊
Please more videos on 12+
@CodeDecode
Жыл бұрын
Sure we will create it soon
Please do coding questions asking in interview
@CodeDecode
Жыл бұрын
Sure we will create it soon
need some AWS interview questions mam...
@CodeDecode
Жыл бұрын
Sure we will create it soon
Please create 7+ years questions also
@CodeDecode
9 ай бұрын
Sure we will create it soon
how i will get all interview question answer pdf
can you please create a video for 10+ years of experience
@CodeDecode
Жыл бұрын
Sure 👍👍
Tq
Hii please do vedios on react js
Please make videos for 8+ exp
@CodeDecode
Жыл бұрын
Sure 👍
😍
@CodeDecode
11 ай бұрын
😊😊
You are task is done have fun😂
@CodeDecode
11 ай бұрын
😜😊
🙏👍👍
@CodeDecode
Жыл бұрын
🙂🙂
i want to talk with this mam, can i get her linkedin?
@CodeDecode
Жыл бұрын
www.linkedin.com/in/codedecodeyoutube
@rokib_ru_cse
Жыл бұрын
@@CodeDecode i already sent u connection request in linkedin but yet u didn't accept.... but i want this mam linkedin id.
Need for 7 years
@CodeDecode
Жыл бұрын
Sure we will create it soon