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.
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
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
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.
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!
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
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.
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
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.👍
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
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.
Answer to dependency injection question was like : "dependency injection only happens/used in spring applications", and its main advantage was not at all mentioned.
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 👍👍🙏🙏🙏🙏
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
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.
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 👍👍
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.
For what experience range, these questions are asked?? Fresher level??
0-6 years. First round / telephonic / skype / Teams
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
@@CodeDecode but I don’t think wipro , IBM , Accenture , Infosys are conduction telephonic rounds.
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
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.
👍👍
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!
Yes that's very true Nitish. Thanks for recognizing our efforts and putting that up in such a nice words 🙂👍👍. Thanks a lot 👍👍
Lucky we get it in 15 min
@@ashisdalai5369 AA
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
Thanks Usama 🙃👍👍👍
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.
It’s like you know all my doubts and you are clearing one by one😂. Awesome… Thank you 😀
Thanks 🙂🙂
😄😁.
One request please make a video on..
Java Memory Management in depth.
th-cam.com/video/EeRFOVMf7rE/w-d-xo.html
There are 2 parts, it covers memory management in java
th-cam.com/video/bu12JCTeWOo/w-d-xo.html
Can we have multiple mock up interviews like this please? Your contents are really one of the best out there 🙏
Sure. We will continue this series. Don't worry 😊
These kind of videos are very helpful to brush up concepts before interviews.
Thanks Vishnu
just hats off to you @Code Decode team. Really helpful. Love from gujarat
13:57 That's very nice question was epic🤣
😜😜
It was amazing. Request you to make detail video on Garbage Collection.
Found very helpful ,Please Write Explanation in description ,like your previous videos..!
Sure 👍👍
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.
Sure Veena. But we usually go out of space in description, hence couldn't cover all.
@@CodeDecode okay no issues👍
All videos are amazing
Great informative
Thanks a lot 🙂👍
happy to watch it again and again
Thanks sekhar
You are doing a great job 👏
Thanks
You are Amazing... Thank you so much mam 😊
Thanks Akshay 🙂👍
you are going good🤩
Just need to add some basic questions which was tricky and even basics .. that would help in interview
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
So true Akaash. Will surely do that👍
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.👍
Thanks Shobhit 👍we will create soon 👍
This video is gold!!!
Thanks for the nice words kaushiki
Very helpful, please keep the good work thanks
you're welcome anil
Good stuff and excellent explanation
Thanks Vamsee 👍👍
Mam your explaination is just like 3 idiot movie ❤️. Thank you so much for making our journey so easy. God bless you❤️
Thanks for the motivation Ayush 👍
nice explanation madam. thank you
Thanks Suresh 👍
This is very helpful. Thank you. Please do for experience level interview also.
Sure Vasundhara. We will cover them too soon.
Hey
Awesomeness 👌 👏
Thanks Abirami 🙂👍
great videos , it could be more helpful if you show snippets code while giving response
Sure👍🙂
Great..nicely explained...
Can you please make similar video on Multihreading concepts...specially Concurrent API
Sure. We have 2 videos on multi threading. Will create more on concurrency
Yes saw those 2 videos...they are also too good😎...but some concepts are to be covered....please cover those as well🙏
Sure. We will cover them soon 👍👍
Love your videos, please upload more ❤️❤️❤️❤️❤️❤️❤️
Sure 👍👍
can you make interview questions on core computer subjects?
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
Sure Karthikeyan we will make it soon....
Always giving out best content ✨
Thank you very much for this!!
Thanks Ashish 🙂👍
Nyc explanation mam thank u soo much mam waiting for more videos mam🙏🙏
Sure Vemula 👍👍
Hello vemula
@@vemulasoumyasri830 you are working ah?
@@vemulasoumyasri830 mari?? Inkenti?
@@jithendrareddym9149 y???
TQ
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.
That's a very nice suggestion Murali. Will surely do that 👍🙏
Your videos all good, try to talk a bit slowly .,otherwise your videos are awesome
Sure ❤️❤️👍👍 we will reduce the pace👍
great video 🙌
Thanks Saahil
One question mam - How Garbage collector knows it is a unused object?
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.
Answer to dependency injection question was like : "dependency injection only happens/used in spring applications", and its main advantage was not at all mentioned.
Dependency injection happens in angular too. It's constructor injection in angular.
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 👍👍🙏🙏🙏🙏
can u make a video about microservices interview questions
we will make it soon
Hey Guys,Could you just make a vedio of annotations in spring and rest?
Hi saumyakant we have created 2 videos on annotations please check that out
Tq
Make interview questions on rest api
Sure Shruti. Next we will create on them too. We will include restful web services too
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
Thanks for explaining it again Gokul 👍👍🙂🙂
can you just make vedio about spring batch?
Sure Soumyakant 🙂👍
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.
At fresher level they will ask this type of questions like spring, hibernate ?
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 👍👍
For which profile these questions are for??
Java full stack developer. Currently this first video has only JAVA questions.
Employee object is stored in arraylist .How to sort entities store in object like name ,I'd .
Collections. Sort(l, customComparatorObj)
Mam can u help me where to learn adv java plsss 🙏
this is for freshers ??
For any one trying for java profile
what is the difference between named query and native query
Can I know your experience
We are a team of IT people having experience varies from 2-8 yrs
Oh that's great thanks to you and your team🙏
👍👍🙏🙏
@@madhu56236 entha experience??
you are laughing when you are giving the garbage collection answer
Too many ads, makes this beautiful video annoying.
Not in our hands much Amit. It's TH-cam who fits ads in between.
@@CodeDecode can understand. Kudos for your work 🎊. I have my interview today on java and referring only your channel.
All the very best Amit. We wish You rock in your interviews Man. Keep learning keep Shining 👏👏👏👏🤞🤞
Good one 👏🏻 also please post some scenario based Q & A which most often asked in interviews 🙏🏻 also please let me know your instagram id
Thanks Sri .......
Instagram : instagram.com/codedecode25/
@@CodeDecode thank you so much incase of any doubts in subjects it okie to contact thru instagram ?
Sure Sri. You can any time reach us. We are always here for you👍
@@CodeDecode thank you team 🙏🏻
🙏🙏👍👍