No video

Java Interview Questions and Answers for Fresher and Experienced [MOST ASKED ] Code Decode

  Рет қаралды 110,909

Code Decode

Code Decode

3 жыл бұрын

In this video of code decode, you will learn Java Interview Questions and Answers for both fresher and Experienced in Java which is important in Java Interview Questions and Answers in Telephonic Interview
Udemy Course of Code Decode on Microservice k8s AWS CICD link:
openinapp.co/u...
Course Description Video :
yt.openinapp.c...
What is the difference between ArrayList and LinkedList ? 00:22
01:26 What is Lazy Initialization in Hibernate ?
02:50 Difference between first level and second level cache in hibernate
04:00 Difference between HashMap and Hashtable?
05:32 Describe, in general, how java's garbage collector works ?
08:15 What is Serialization ? Why do we need it ?
09:09 What is Dependency Injection or IOC ( Inversion of Control ) ?
10:17 What is Weakhashmap ?
12:20 What are functional interfaces ?
13:44 If synchronized map is there why concurrent hash map was introduced
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...
GIT : • GIT
-------------------------------------------------------------------------------------------------------------------------------------
Subscriber and Follow Code Decode
Subscriber Code Decode : www.youtube.co...
Linkedin : / codedecodeyoutube
Instagram : / codedecode25
#javainterviewquestions #codedecode #java

Пікірлер: 154
@CodeDecode
@CodeDecode 3 жыл бұрын
Hey Guys, These are the Questions which we face mostly in the first round of Giant MNC's like Infosys, Accenture,Amdocs , Deloitte, IBM etc If you have faced any other questions please comment down below we will cover that in next part.
@akashkeshari8927
@akashkeshari8927 3 жыл бұрын
For what experience range, these questions are asked?? Fresher level??
@CodeDecode
@CodeDecode 3 жыл бұрын
0-6 years. First round / telephonic / skype / Teams
@srijith431
@srijith431 3 жыл бұрын
I have experienced few more questions like 1) what is CI/CD ? 2) internal working of hashmap 3) what is bean creation exception ? 4) and some questions like how to commit in git. 5) and about junit
@srijith431
@srijith431 3 жыл бұрын
@@CodeDecode but I don’t think wipro , IBM , Accenture , Infosys are conduction telephonic rounds.
@CodeDecode
@CodeDecode 3 жыл бұрын
By telephonic we meant teams, skype, google meet, etc. And in covid situations, yes they are. Are you able to go to office to give interview? Because our team couldn't
@javier.alvarez764
@javier.alvarez764 2 жыл бұрын
1. LinkedList vs ArrayList? - arraylist better for storing, linkedlist better for manipulating data (insert, update, delete). 2. Lazy initialization - only fetch data when needed. 3. Difference between first level and second level cache in hibernate *1st level - by default enabled - associated by Session - when session gets close your cache gets lost - only accessible by the session that maintains it. *2nd level needs to programmatically enabled - associated by SessionFactory - accessible to whole program 4. HashMap vs HashTable HashTable - synchronized - thread safe - does not allow null key or null value. HashMap - not synchronized - not thread safe - only allows 1 null key - can be synchronized using Collections.synchronizedMap(hashMap); 5. What is Java Garbage Collection? - 6. What is Serialization? - converts object into byte stream to transmit data. 7. What is Dependency Injection or Inversion of Control? - instantiation is handled by the framework. 8. What is WeakHashMap? - 9. What are functional interface? - only has one abstract method, but can have multiple default and static method. - use as reference to lambda expression. 10. Why is there concurrent hash map if synchronized map already exist? - performance issue in synchronized map. - SynchronizedMap acquires lock on the entire Map instance , while ConcurrentHashMap divides the Map instance into multiple segments and locking is done on those. - ConcurrentHashMap is therefore faster because of these.
@CodeDecode
@CodeDecode 2 жыл бұрын
👍👍
@nvjrane
@nvjrane 2 жыл бұрын
This seems like a short 15 min video, but the study behind it must be so deep to have your concepts clear and present it concisely to us. I have never learned so much in the last few months that I learned in this short video. Keep it up!
@CodeDecode
@CodeDecode 2 жыл бұрын
Yes that's very true Nitish. Thanks for recognizing our efforts and putting that up in such a nice words 🙂👍👍. Thanks a lot 👍👍
@ashisdalai5369
@ashisdalai5369 2 жыл бұрын
Lucky we get it in 15 min
@virendra872
@virendra872 Жыл бұрын
​@@ashisdalai5369 AA
@usamaansari7903
@usamaansari7903 3 жыл бұрын
i always prepare more with defination but while giving interview I could not able to ans what I had learned word to word just like u..u r giving word to word ans...this much of confidence and concentration I want as a fresher
@CodeDecode
@CodeDecode 3 жыл бұрын
Thanks Usama 🙃👍👍👍
@addminblaze
@addminblaze 3 жыл бұрын
I dont think anyone wants you to give word to word answer, rather knowing concept and working principles will help. You can use analogies to explain concept, PS: dont over do it. You can explain it in your words and thats all needed to crack the interview.
@handleOfASK
@handleOfASK 3 жыл бұрын
It’s like you know all my doubts and you are clearing one by one😂. Awesome… Thank you 😀
@CodeDecode
@CodeDecode 3 жыл бұрын
Thanks 🙂🙂
@handleOfASK
@handleOfASK 3 жыл бұрын
😄😁. One request please make a video on.. Java Memory Management in depth.
@CodeDecode
@CodeDecode 3 жыл бұрын
kzbin.info/www/bejne/e5a1d4KMgstqqKc
@CodeDecode
@CodeDecode 3 жыл бұрын
There are 2 parts, it covers memory management in java
@CodeDecode
@CodeDecode 3 жыл бұрын
kzbin.info/www/bejne/mKaUY315icqKhdE
@pranjalrathod8556
@pranjalrathod8556 3 жыл бұрын
Can we have multiple mock up interviews like this please? Your contents are really one of the best out there 🙏
@CodeDecode
@CodeDecode 3 жыл бұрын
Sure. We will continue this series. Don't worry 😊
@mrunalinimistry6621
@mrunalinimistry6621 2 жыл бұрын
just hats off to you @Code Decode team. Really helpful. Love from gujarat
@Truth_12349
@Truth_12349 Жыл бұрын
These kind of videos are very helpful to brush up concepts before interviews.
@CodeDecode
@CodeDecode Жыл бұрын
Thanks Vishnu
@SanatanBelievers
@SanatanBelievers Жыл бұрын
13:57 That's very nice question was epic🤣
@CodeDecode
@CodeDecode 11 ай бұрын
😜😜
@veena618
@veena618 3 жыл бұрын
Request you to please keep written explaination in description as you were doing in earlier videos it will help us to have quick round of glance.
@CodeDecode
@CodeDecode 3 жыл бұрын
Sure Veena. But we usually go out of space in description, hence couldn't cover all.
@veena618
@veena618 3 жыл бұрын
@@CodeDecode okay no issues👍
@akaashkumar4926
@akaashkumar4926 3 жыл бұрын
Hi Mam, Great work! Can you please make separate playlist on Spring Boot Microservices? Now a days Spring Boot means they are expecting microservices as well to be known! Please do consider this request
@CodeDecode
@CodeDecode 3 жыл бұрын
So true Akaash. Will surely do that👍
@srashmitha8953
@srashmitha8953 3 жыл бұрын
Found very helpful ,Please Write Explanation in description ,like your previous videos..!
@CodeDecode
@CodeDecode 3 жыл бұрын
Sure 👍👍
@AshishSharma-mf4sg
@AshishSharma-mf4sg 2 жыл бұрын
you are going good🤩 Just need to add some basic questions which was tricky and even basics .. that would help in interview
@vinodkarathiyaofficial
@vinodkarathiyaofficial Жыл бұрын
It was amazing. Request you to make detail video on Garbage Collection.
@coderdostayush2032
@coderdostayush2032 3 жыл бұрын
Mam your explaination is just like 3 idiot movie ❤️. Thank you so much for making our journey so easy. God bless you❤️
@CodeDecode
@CodeDecode 3 жыл бұрын
Thanks for the motivation Ayush 👍
@kazaasekhar
@kazaasekhar 3 жыл бұрын
happy to watch it again and again
@CodeDecode
@CodeDecode 3 жыл бұрын
Thanks sekhar
@shobhitagarwal8151
@shobhitagarwal8151 3 жыл бұрын
Hey, I really liked all the questions you choose. All of them are very good questions. Explanation of garbage collector working is too knowledgeable. Hoping another great video for round 2. More power to you guys.👍
@CodeDecode
@CodeDecode 3 жыл бұрын
Thanks Shobhit 👍we will create soon 👍
@dynamicdeveloper6658
@dynamicdeveloper6658 2 жыл бұрын
All videos are amazing Great informative
@CodeDecode
@CodeDecode 2 жыл бұрын
Thanks a lot 🙂👍
@vamseedhar2482
@vamseedhar2482 3 жыл бұрын
Good stuff and excellent explanation
@CodeDecode
@CodeDecode 3 жыл бұрын
Thanks Vamsee 👍👍
@vasundharasannidhi5210
@vasundharasannidhi5210 3 жыл бұрын
This is very helpful. Thank you. Please do for experience level interview also.
@CodeDecode
@CodeDecode 3 жыл бұрын
Sure Vasundhara. We will cover them too soon.
@jithendrareddym9149
@jithendrareddym9149 2 жыл бұрын
Hey
@anuhyabolla7891
@anuhyabolla7891 3 жыл бұрын
can you make interview questions on core computer subjects?
@GaneshSingh1
@GaneshSingh1 3 жыл бұрын
Do you have any pdf Or ppt stored in gdrive? If you have please share the link So that we can directly download the answers, it will so fast for the revision.
@anilmaurya55
@anilmaurya55 2 жыл бұрын
Very helpful, please keep the good work thanks
@CodeDecode
@CodeDecode 2 жыл бұрын
you're welcome anil
@scrppr8270
@scrppr8270 3 жыл бұрын
Great..nicely explained... Can you please make similar video on Multihreading concepts...specially Concurrent API
@CodeDecode
@CodeDecode 3 жыл бұрын
Sure. We have 2 videos on multi threading. Will create more on concurrency
@scrppr8270
@scrppr8270 3 жыл бұрын
Yes saw those 2 videos...they are also too good😎...but some concepts are to be covered....please cover those as well🙏
@CodeDecode
@CodeDecode 3 жыл бұрын
Sure. We will cover them soon 👍👍
@akshayengineer2018
@akshayengineer2018 2 жыл бұрын
You are Amazing... Thank you so much mam 😊
@CodeDecode
@CodeDecode 2 жыл бұрын
Thanks Akshay 🙂👍
@mohamedely3987
@mohamedely3987 Жыл бұрын
You are doing a great job 👏
@CodeDecode
@CodeDecode Жыл бұрын
Thanks
@vry2652
@vry2652 2 жыл бұрын
great videos , it could be more helpful if you show snippets code while giving response
@CodeDecode
@CodeDecode 2 жыл бұрын
Sure👍🙂
@muralikommuru5992
@muralikommuru5992 3 жыл бұрын
Its really great and really covers a lot of concepts, I mean it’s kind of go to if you have less time for preparation, your videos. I would surely look forward for more videos and also will like to suggest you if you can make videos on advanced stream operations for example group by with having, partitioning by, etc as they have overloaded methods with different numbers of parameters and really there is less content related to this outside, which explains each method variant need with examples. It will be nice to watch those videos if you can try them as well.
@CodeDecode
@CodeDecode 3 жыл бұрын
That's a very nice suggestion Murali. Will surely do that 👍🙏
@GAGamingLegends
@GAGamingLegends 3 жыл бұрын
Love your videos, please upload more ❤️❤️❤️❤️❤️❤️❤️
@CodeDecode
@CodeDecode 3 жыл бұрын
Sure 👍👍
@boobalakrishnan6610
@boobalakrishnan6610 3 жыл бұрын
Answers are very clear and unterstable good job :)
@CodeDecode
@CodeDecode 3 жыл бұрын
Thanks Boobala 👍🙏
@sureshgarine
@sureshgarine 3 жыл бұрын
nice explanation madam. thank you
@CodeDecode
@CodeDecode 3 жыл бұрын
Thanks Suresh 👍
@karthikeyanrm3446
@karthikeyanrm3446 3 жыл бұрын
It would be good if you can make more videos on Spring core concepts & interview questions - DI, IOC, Autowiring etc. Also any other important concepts in Spring
@CodeDecode
@CodeDecode 3 жыл бұрын
Sure Karthikeyan we will make it soon....
@kaushikigoel759
@kaushikigoel759 2 жыл бұрын
This video is gold!!!
@CodeDecode
@CodeDecode 2 жыл бұрын
Thanks for the nice words kaushiki
@Manu-et6zk
@Manu-et6zk 3 жыл бұрын
Answer to dependency injection question was like : "dependency injection only happens/used in spring applications", and its main advantage was not at all mentioned.
@CodeDecode
@CodeDecode 3 жыл бұрын
Dependency injection happens in angular too. It's constructor injection in angular.
@CodeDecode
@CodeDecode 3 жыл бұрын
We will cover all of them Manu, in 15 minutes we tried our best to deliver the most. We know that your time is precious. 🙏but we can't cover every thing in 15 minutes. Thanks for your patience and for your suggestions 👍👍🙏🙏🙏🙏
@ashishpal5446
@ashishpal5446 3 жыл бұрын
Always giving out best content ✨ Thank you very much for this!!
@CodeDecode
@CodeDecode 3 жыл бұрын
Thanks Ashish 🙂👍
@abiultimate
@abiultimate 2 жыл бұрын
Awesomeness 👌 👏
@CodeDecode
@CodeDecode 2 жыл бұрын
Thanks Abirami 🙂👍
@arijitmohapatra147
@arijitmohapatra147 3 жыл бұрын
Mam can u help me where to learn adv java plsss 🙏
@anjalijaiswal1750
@anjalijaiswal1750 2 жыл бұрын
One question mam - How Garbage collector knows it is a unused object?
@CodeDecode
@CodeDecode 2 жыл бұрын
If no references are found that means object is unused. Object o1 = new Object ; O1 is a reference. If I do o1 = null then no reference exists.
@start1learn-n171
@start1learn-n171 2 жыл бұрын
TQ
@codenexa1666
@codenexa1666 3 жыл бұрын
At fresher level they will ask this type of questions like spring, hibernate ?
@CodeDecode
@CodeDecode 3 жыл бұрын
Yeah these are very basic questions of spring hibernate. They might ask you. Because java is just a language, spring hibernate are frameworks. You might use them in your college major projects 👍👍
@SaahilShaikh
@SaahilShaikh 2 жыл бұрын
great video 🙌
@CodeDecode
@CodeDecode 2 жыл бұрын
Thanks Saahil
@vrushalifasate2052
@vrushalifasate2052 3 жыл бұрын
Employee object is stored in arraylist .How to sort entities store in object like name ,I'd .
@CodeDecode
@CodeDecode 3 жыл бұрын
Collections. Sort(l, customComparatorObj)
@vemulasoumyasri830
@vemulasoumyasri830 3 жыл бұрын
Nyc explanation mam thank u soo much mam waiting for more videos mam🙏🙏
@CodeDecode
@CodeDecode 3 жыл бұрын
Sure Vemula 👍👍
@jithendrareddym9149
@jithendrareddym9149 2 жыл бұрын
Hello vemula
@jithendrareddym9149
@jithendrareddym9149 2 жыл бұрын
@@vemulasoumyasri830 you are working ah?
@jithendrareddym9149
@jithendrareddym9149 2 жыл бұрын
@@vemulasoumyasri830 mari?? Inkenti?
@vemulasoumyasri830
@vemulasoumyasri830 2 жыл бұрын
@@jithendrareddym9149 y???
@nikhilsharma-kd4pi
@nikhilsharma-kd4pi 3 жыл бұрын
For which profile these questions are for??
@CodeDecode
@CodeDecode 3 жыл бұрын
Java full stack developer. Currently this first video has only JAVA questions.
@gokulaher2476
@gokulaher2476 3 жыл бұрын
ConcurrentHashMap in java internally uses a new more sophisticated technic calles as segment , number of active threads doing write/update operations is == number of Segments, each bucket in HashMap is belong to one segment and In ConcurrentHashMap Lock is striped and only that segment is getting lock on which write/update operation is performed So multiple write operations can performed by multiple threads on multiple segments concurrently Because now Lock is on segment level and not on entire HashMap
@CodeDecode
@CodeDecode 3 жыл бұрын
Thanks for explaining it again Gokul 👍👍🙂🙂
@uvanana.
@uvanana. Жыл бұрын
Your videos all good, try to talk a bit slowly .,otherwise your videos are awesome
@CodeDecode
@CodeDecode Жыл бұрын
Sure ❤️❤️👍👍 we will reduce the pace👍
@shrutikorke2368
@shrutikorke2368 3 жыл бұрын
Make interview questions on rest api
@CodeDecode
@CodeDecode 3 жыл бұрын
Sure Shruti. Next we will create on them too. We will include restful web services too
@soumyakantpani9923
@soumyakantpani9923 2 жыл бұрын
Hey Guys,Could you just make a vedio of annotations in spring and rest?
@CodeDecode
@CodeDecode 2 жыл бұрын
Hi saumyakant we have created 2 videos on annotations please check that out
@Ravikumar-nf2mu
@Ravikumar-nf2mu 3 жыл бұрын
can u make a video about microservices interview questions
@CodeDecode
@CodeDecode 3 жыл бұрын
we will make it soon
@start1learn-n171
@start1learn-n171 6 ай бұрын
Tq
@soumyakantpani2997
@soumyakantpani2997 2 жыл бұрын
can you just make vedio about spring batch?
@CodeDecode
@CodeDecode 2 жыл бұрын
Sure Soumyakant 🙂👍
@usamaansari7903
@usamaansari7903 3 жыл бұрын
this is for freshers ??
@CodeDecode
@CodeDecode 3 жыл бұрын
For any one trying for java profile
@Ravikumar-nf2mu
@Ravikumar-nf2mu 3 жыл бұрын
what is the difference between named query and native query
@madhu56236
@madhu56236 3 жыл бұрын
Can I know your experience
@CodeDecode
@CodeDecode 3 жыл бұрын
We are a team of IT people having experience varies from 2-8 yrs
@madhu56236
@madhu56236 3 жыл бұрын
Oh that's great thanks to you and your team🙏
@CodeDecode
@CodeDecode 3 жыл бұрын
👍👍🙏🙏
@jithendrareddym9149
@jithendrareddym9149 2 жыл бұрын
@@madhu56236 entha experience??
@muraliram2582
@muraliram2582 5 ай бұрын
you are laughing when you are giving the garbage collection answer
@amitdubey2793
@amitdubey2793 Жыл бұрын
Too many ads, makes this beautiful video annoying.
@CodeDecode
@CodeDecode Жыл бұрын
Not in our hands much Amit. It's KZbin who fits ads in between.
@amitdubey2793
@amitdubey2793 Жыл бұрын
@@CodeDecode can understand. Kudos for your work 🎊. I have my interview today on java and referring only your channel.
@CodeDecode
@CodeDecode Жыл бұрын
All the very best Amit. We wish You rock in your interviews Man. Keep learning keep Shining 👏👏👏👏🤞🤞
@srijith431
@srijith431 3 жыл бұрын
Good one 👏🏻 also please post some scenario based Q & A which most often asked in interviews 🙏🏻 also please let me know your instagram id
@CodeDecode
@CodeDecode 3 жыл бұрын
Thanks Sri ....... Instagram : instagram.com/codedecode25/
@srijith431
@srijith431 3 жыл бұрын
@@CodeDecode thank you so much incase of any doubts in subjects it okie to contact thru instagram ?
@CodeDecode
@CodeDecode 3 жыл бұрын
Sure Sri. You can any time reach us. We are always here for you👍
@srijith431
@srijith431 3 жыл бұрын
@@CodeDecode thank you team 🙏🏻
@CodeDecode
@CodeDecode 3 жыл бұрын
🙏🙏👍👍
艾莎撒娇得到王子的原谅#艾莎
00:24
在逃的公主
Рет қаралды 41 МЛН
哈莉奎因以为小丑不爱她了#joker #cosplay #Harriet Quinn
00:22
佐助与鸣人
Рет қаралды 10 МЛН
Son ❤️ #shorts by Leisi Show
00:41
Leisi Show
Рет қаралды 10 МЛН
لااا! هذه البرتقالة مزعجة جدًا #قصير
00:15
One More Arabic
Рет қаралды 50 МЛН
艾莎撒娇得到王子的原谅#艾莎
00:24
在逃的公主
Рет қаралды 41 МЛН