Top Tricky Java Interview Questions and Answers | Java Interview Questions and Answers | Code Decode
Top Tricky Java ,Spring, Hibernate Interview questions and answers for both freshers and Experienced by Code Decode
Udemy Course of Code Decode on Microservice k8s AWS CICD link:
openinapp.co/u...
Course Description Video :
yt.openinapp.c...
Eduonix Coupon Code : DECODE50
Eduonix link : bit.ly/35FqiQw
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 #trickyjavainterviewquestions #java
Пікірлер: 101
Recently ,I had a interview for JAVA... And interviewer asked the difference between the security provided by abstraction and Encapsulation......could you pls answer it....
Could you please explain the scenarios in realtime applications where we use these Factory Design pattern and Abstract Design pattern
You are giving really a wonderful content to the people. Thank you So much .A small suggestion from my side is a small snipped of code can be shown along with audio. That will give a better picture of the topic.
@CodeDecode
2 жыл бұрын
Thanks Sai. Sure, we have live demos in all videos except these quick interview Revision questions . We prepared them just have a quick look before interview. You don't even have to look at your phone number still u have your quick revision done. Rest all videos have Java code demonstrated 🙂👍
Well done. I like (majority of) the questions. Interviews in India need Q & A type like this. In overseas people ask questions from their project to know the interviewee ideas from a practical point of view.
Thank you for your videos. A little note on this one, your info about bean scopes is outdated, there are 6 bean scopes now and there is no more global session scope.
Good thumbnails are good to entering into ur video...and u explain good with example....i just stick to till end....thx lot for ur thumbnails
@CodeDecode
Жыл бұрын
🙂thanks Chandra 👍👍
Please also show answer on screen . Sometimes getting problem in understanding
@CodeDecode
Жыл бұрын
Sure Monika 👍
@CodeDecode
Жыл бұрын
Anything like : kzread.info/dash/bejne/p4l3mcWkmsqvj9I.html
Please, Create more videos for this, It was very helpful.
@CodeDecode
3 жыл бұрын
Sure Ramzan 👍thanks
Helpful for Interview Preparation. Please continue. Mam, could you please explain little more about hashmap changes on 1.8 I.e. what is that threshold value at which the Linkedlist changes to Balanced Tree.
@CodeDecode
3 жыл бұрын
Sure Adwaita, we will create seperate video on this java 8 enhancement. 👍👍
@adwaitamohanty5049
3 жыл бұрын
@@CodeDecode okay. Thanks for your quick reply.
@CodeDecode
3 жыл бұрын
Any time 👍👍🙂🙂
Hi , I have been following all your videos and it's amazing and very helpful , can you please create a tutorial on micro-service docker with MySQL
@CodeDecode
3 жыл бұрын
kzread.info/head/PLyHJZXNdCXsd2e3NMW9sZbto8RB5foBtp
Hey Thank you soo much for the video!! Can you explain Why optional class instead we can check for null using == ? This was asked in an interview
@CodeDecode
3 жыл бұрын
the Optional class includes methods to explicitly deal with the cases where a value is present or absent. However, the advantage compared to null references is that the Optional class forces you to think about the case when the value is not present.
@nagalakshmikesavan9198
3 жыл бұрын
@@CodeDecode Thank you!!
@CodeDecode
3 жыл бұрын
@@nagalakshmikesavan9198 👍👍🙃
Anyhow we are using the != for checking the null pointer exception, then what is the need of using the optional class in java
@CodeDecode
3 жыл бұрын
the Optional class includes methods to explicitly deal with the cases where a value is present or absent. However, the advantage compared to null references is that the Optional class forces you to think about the case when the value is not present.
@kan123ish
3 жыл бұрын
@@CodeDecode can you please explain in real time or with the example
@CodeDecode
3 жыл бұрын
@@kan123ish sure Keerthana we will create seperate video for that. 👍👍
Another great and useful video. . 😊 Ma'am you said Tuesday you will upload next video on microservices.. Waiting for that.. 😔
@CodeDecode
3 жыл бұрын
Right Jabir. But got stuck with this video. We are so sorry. We are working IT professionals, it's difficult to spare time for 2 videos in weekends. But it's almost ready we will put that video this week for sure. Thanks for bearing with us 👍👍
@jabirshariff7378
3 жыл бұрын
@@CodeDecode Thank you for the update ma'am:)
That was a nice and simple explanation about HashMap enhancement, Spring AOP and Garbage Collection enhancement. Can your team create some interview question on DS & Algo ? Thanks again for providing the informative content!
@CodeDecode
3 жыл бұрын
Sure Ashutosh, ds algo is in pipeline 👍👍🙂🙂
these types of question generally get asked in interviews
@CodeDecode
3 ай бұрын
Yes
Please make more videos like this for advanced questions...
@CodeDecode
3 жыл бұрын
Sure Amita👍👍
Thank you for the video! When do you resume the microservices? Since it was started last week!
@CodeDecode
3 жыл бұрын
This week Nethi👍👍
@nethisaicharan3037
3 жыл бұрын
@@CodeDecode Thank you so much
@CodeDecode
3 жыл бұрын
👍👍🙂🙂
you are doing an excellent job and there is no words to say about your contribution. Really i appreciate you from my bottom of my heart. Great Work ..
@CodeDecode
2 жыл бұрын
Thanks a lot 🙂
@Thiru-zt5lw
2 жыл бұрын
There is one interview question how will you migrate from structs to spring? How will you migrate from ant to maven? There is 5 million request how will you make sure and what's your suggestion to do scalable and how will you increase your performance.
Can you please elaborate the function of Optional class with Example. Couldn't understand its functioning.
@CodeDecode
2 жыл бұрын
Ok sure. We will create another video just on optional class
I ask this question regularly on interview but 80 % candidate fail to answer or not able to explain well. Q. Which method will execute if we call method by passing value null. Eg fx(null) public void fx(String s){ sop(1); } public void fx(Integer i){ sop(2); } If you think it print 1 then you are wrong.
@vitthalchandankar9128
Жыл бұрын
public void fx(Integer i) : if argument is int here then o/p will be 1 but its Integer , hence compiler will throw ambiguity error.
@arushigupta105
Жыл бұрын
answer would be compile time error because the compiler gets confused with which method is being called since both are accepting non primitive data types so null can be accepted by both the methods
Thank you so much mam for all your videos. It's really very helpful for the interview preparation. Could please creat some more videos on java hibernate and spring
@CodeDecode
3 жыл бұрын
Sure Ushir, we will continue this series👍👍
Please create more.. this is very good
@CodeDecode
3 жыл бұрын
sure we will create more soon.....
Really a help please continue with such video
@CodeDecode
2 жыл бұрын
Sure Khyati. We will continue with this series 🙂🙂👍👍
@shivamsawhney4263
2 жыл бұрын
@@CodeDecode 98uyhk
Mam please make more videos for Java 8, multithreading, Spring. I am following your videos for my interview prep. Thank you for such content
@CodeDecode
3 жыл бұрын
Sure Raj. If we get proper response we will keep on creating this series
@santhoshivempati9757
3 жыл бұрын
@@CodeDecode yes please upload more videos for Java ma'am. Very useful for interview. Thank you so much...
@CodeDecode
3 жыл бұрын
Sure Santhoshi, we will keep posting video in this series 👍👍
Thank you so much mam, you have helped me a lot during my preparation
@CodeDecode
3 жыл бұрын
Thanks 🙏🙏this means a lot to us 👍👍
Feedback is selected
@CodeDecode
2 жыл бұрын
🤓hehe thanks Sudheer. This is funny 😂
Thanks for such informative content
@CodeDecode
Жыл бұрын
🙃🙃👍👍
Please do a video on serialization
@CodeDecode
3 жыл бұрын
sure we'll make one soon.....
In one of the interview they asked me to sort employee based on id and name? Can please tell how it was implemented in java8
@ANKITCHOUDHARYankitkrchy
3 жыл бұрын
Check sorted Comparator.comparing method and thanComparing() methods
@CodeDecode
3 жыл бұрын
Right Ankit 👍👍
@hemapriyaammu7365
3 жыл бұрын
@@ANKITCHOUDHARYankitkrchy I want for 2 employee objects
Useful video. Can you just tell me how to clear cache in hibernate
@CodeDecode
3 жыл бұрын
session clear() method to clear the cache i.e delete all the objects from the cache. We can use session contains() method to check if an object is present in the hibernate cache or not, if the object is found in cache, it returns true or else it returns false.
Ma'am please upload JDBC and Sql interview questions.
@CodeDecode
3 жыл бұрын
Sure 👍
Can you explain what is spliterator in Java
this interview question is for how much year of exp peoples ? cuz as a fresher don't knw this questions
@CodeDecode
3 жыл бұрын
Right, not all questions are required for freshers, but we were constantly getting comments to increase the level. Hence we increased the level a bit in this video
Excellent
@CodeDecode
2 жыл бұрын
Thanks
Need spring framework interview questions
@CodeDecode
3 жыл бұрын
Yes, that's remaining, we will upload that too 👍👍
@csv2286
3 жыл бұрын
@@CodeDecode Thanks for accepting my request
Try answer little bit slowly ,its too fast to understand what exactly you are trying to say and it's confusing as well
@CodeDecode
3 жыл бұрын
Ok, we will reduce the pace from next video 👍👍
@chotasafasaana
3 жыл бұрын
@@CodeDecode thanks...
@CodeDecode
3 жыл бұрын
Thanks for observing and helping us in improving👍👍
Awesome video
@CodeDecode
Жыл бұрын
Thanks Dhiraj 🙂🙂
Plz come with micro service project.. Waiting
@CodeDecode
3 жыл бұрын
Sure Rahul, next is micro services only then 👍👍
Amazing ✌️✌️✌️
@CodeDecode
3 жыл бұрын
Thanks Ashish 👍
Thank you so much for these important questions..... Looking forward to get more from you🤞👍
@CodeDecode
3 жыл бұрын
Sure Nikhil 👍👍
You did a great job by posting the trending java interview questions. sorry to say this, please don't say NOTHING BUT in every sentence. it doesn't make any sense out there.
@CodeDecode
2 жыл бұрын
Thanks for pointing it our. We worked on it and now it's no more used in recent videos 🙂🙂👍👍
Mam real time project pleaseee
@CodeDecode
3 жыл бұрын
Sure 👍
Please explain with code
@CodeDecode
2 жыл бұрын
👍