Frequently Asked Java Interview Q&A | Tricky Questions | Freshers | Experience | Part-1| JavaTechie

Поделиться
HTML-код
  • Опубликовано: 11 янв 2025

Комментарии •

  • @meramvlogs4260
    @meramvlogs4260 Год назад +11

    With the amount of JAVA knowledge you have, you can invent your own language brother. Stay blessed for sharing great information for free.

  • @nirmesh44
    @nirmesh44 3 года назад +6

    really useful content. i have no words to describe the way you clear all my doubts.

  • @ajithansehivakanan6708
    @ajithansehivakanan6708 3 года назад +10

    Thank you for this useful content!!! It would be really helpful for those who wants to brush up the Java skills.

  • @hemmak007
    @hemmak007 2 года назад +3

    Hi Basant,
    Thanks for compilation and explanation with practical examples.
    Minor correction At 55:42
    String would be thread safe as well.

    • @Javatechie
      @Javatechie  2 года назад +2

      Yes buddy it's my mistake 🤠 i realise later

  • @kapilmishra4667
    @kapilmishra4667 Год назад +3

    This is by far the most detailed interview Q&A series thankyou sir! for this gold content!!

  • @Mahesh-ry9oe
    @Mahesh-ry9oe 3 года назад +3

    Very nice concept and helpful for interview, wating for next video,thanks basnat for sharing such a good content.

  • @nilanchalapradhan9500
    @nilanchalapradhan9500 3 года назад +5

    Your video and way of explain to the concept are good ..

  • @ArshadKhan007
    @ArshadKhan007 3 года назад +5

    @javatechie .... 55:24 You have mentioned String is "Not thread Safe". String is Immutable & we can use it in multithreaded environment right .So my question is => Immutability doesn't Guarantee Thread Safety? Plz correct me if am wrong ....!! By the way you explained all the interview Questions very well.

    • @Javatechie
      @Javatechie  3 года назад +4

      Yes correct immutable doesn't guarantee thread safety

  • @majidmohammed5412
    @majidmohammed5412 3 года назад +3

    Till date best video with clear answers of all questions keep it up man thanks

  • @biswajitjana9815
    @biswajitjana9815 3 года назад +11

    It was an excellent presentation ..thanks for your effort ..can't wait to learn more from your upcoming videos on java,spring,hiberate,microservice. Please keep them coming.

    • @biswajitjana9815
      @biswajitjana9815 3 года назад +2

      I am just ready to support you other than just subscribing and liking the video. It would have been great if you had some full fledged udemy course or something like that.

    • @Javatechie
      @Javatechie  3 года назад +4

      Udemy I didn't planned yet but will try

  • @aswinkumar323
    @aswinkumar323 Год назад +3

    Thank you so much for explaining all the concepts in a neat and clean manner.

  • @amolpatil3234
    @amolpatil3234 3 года назад +2

    Tanks Basant!! I like your teaching and please make more java tricky interview Q&A video.

  • @divyar9009
    @divyar9009 Год назад +1

    Have never seen this kind of explanation. Thanks a lot sir

  • @vikashranjankumar6325
    @vikashranjankumar6325 2 года назад +2

    Thank You Basant for this video. This is so much much helpful.

  • @kanikasingla6527
    @kanikasingla6527 3 года назад +1

    Amazing Expanantion... please keep posting such informative videos...

  • @themrambusher
    @themrambusher 2 года назад +1

    47:59 if there are two objects then why hashcode of both the objects are same
    String str = new String("interview");
    String str1 = "interview";
    System.out.println(str.hashCode());
    System.out.println(str.intern().hashCode());
    System.out.println(str1.hashCode());

    • @Javatechie
      @Javatechie  2 года назад

      Do you know about intern() method?

    • @themrambusher
      @themrambusher 2 года назад

      @@Javatechie hello sir, my doubt is not around intern method. my doubt is
      str == str1 is coming as false mean they both are pointing to different object. but when we check their hashcode then they are coming as same. so two object with the same hashcode is not possible and if both are pointing to same object as hashcode is same then == operator should have return true so its contradicting... their hashcode should be different as str is point to the object present inside heap and str1 is pointing to the object present in SCP. both are in the heap but they are two different objects
      String str = new String("interview");
      String str1 = "interview";
      System.out.println(str == str1); //false
      System.out.println(str1.hashCode());
      System.out.println(str.hashCode());
      o/p:-
      false
      503107969
      503107969

    • @themrambusher
      @themrambusher 2 года назад

      @@Javatechie please reply sir

    • @Javatechie
      @Javatechie  2 года назад

      Buddy since string it self a class so hashcode and equals method will call from object class

  • @surendrareddyseelam9757
    @surendrareddyseelam9757 2 года назад +1

    Amazing content sir, Questions with examples 🤩, Thanks much

  • @arunkumarsanthanam8696
    @arunkumarsanthanam8696 3 года назад +1

    Thank you for this video... Subscribed and forwarded this video to my friends. Waiting for upcoming interview series.

  • @chetanbhandari3033
    @chetanbhandari3033 3 года назад +8

    Thanks basant I m waiting for transaction handling as well either series are one complete video thnx for all your video lot a learn

    • @Javatechie
      @Javatechie  3 года назад +9

      Transaction isolation propagation pending it's bit difficult for me to convert theory to program but I will try once I get time

  • @neerajrawat17
    @neerajrawat17 3 года назад +2

    Great Explaination in details each topics.
    Thanks 🙏🙏

  • @kpgUser
    @kpgUser 10 месяцев назад

    in 43:49...to system.exit(0) statement got excuted & program terminated ,means finally block is excuted,we cant skip finally. if you write simple sop statment before system.exit() in finally it prints.

    • @Javatechie
      @Javatechie  10 месяцев назад

      Write it in try and catch block then

  • @jskr456
    @jskr456 11 месяцев назад +1

    learned many new things
    Your channel is my first preference for all java related,
    wish you more and more success Basant

    • @Javatechie
      @Javatechie  11 месяцев назад

      Thank you so much for following javatechie and so happy to hear it’s your first preference

  • @aditipai7289
    @aditipai7289 3 года назад +5

    Thank you for the detailed explanation with examples 👍
    For compiler error, you say it will cry. That sounds funny 😆

  • @ungalanbuselva
    @ungalanbuselva 2 года назад +1

    Really it was helpful for me in understanding the String immutable. Great. Good Job buddy

  • @santanukumarpadhy3534
    @santanukumarpadhy3534 2 года назад +1

    Thank You for this video.great help for my future interview .

  • @avisheksahoo3679
    @avisheksahoo3679 3 года назад +5

    Very practical explanations Basant. Keep up the good work. Would love to see FAQ's on Collection Framework as well!

    • @Javatechie
      @Javatechie  3 года назад +4

      Coming this weekend preparing PPT is taking too much time buddy . Every day giving 2 hours to prepare PPT that's why it's taking time . Keep in touch ☺️

    • @SAK-y6j
      @SAK-y6j 3 года назад +2

      @@Javatechie thanks a lot

  • @mrcoder9401
    @mrcoder9401 3 года назад +2

    Thanks alot Basant for this, This clears a lot of topics. Eagerly waiting for Part 2.

  • @divyasreenivasulu7425
    @divyasreenivasulu7425 3 года назад +2

    Thanks Bro for your awesome video.
    Eagerly waiting for next videos on this topic.
    Your SpringBoot and MicroServices videos are amazing.

  • @jewelchowdhury9752
    @jewelchowdhury9752 3 года назад +1

    Very Very practical explanations! Thank you sir

  • @basanthish
    @basanthish 3 года назад +1

    Very Helpful please add more questions and videos..

  • @DineshDinesh-hx6jb
    @DineshDinesh-hx6jb 3 года назад +2

    Basant. Your videos and way of explaining to the concept are too good and I really learned a lot from many videos posted on your channel. Keep Posting, will support you for sure

  • @Maddy4645
    @Maddy4645 3 года назад +1

    Good to for next video for interview questions

  • @akashsingsarva6154
    @akashsingsarva6154 Год назад +1

    This is the best content Basand. Thanks alot for this.

  • @anuradhap4055
    @anuradhap4055 3 года назад +9

    Thank you for this great content. It would be great help if you can make the similar video for spring and microservices interview questions. Thank you.

  • @Vivekrathoud
    @Vivekrathoud 3 года назад +3

    Thank you so much Basant for this amazing session. Waiting for next part

  • @umamaheswarreddy9204
    @umamaheswarreddy9204 3 года назад +1

    Very helpful, pls continue this question and ans series.thank you

  • @ashokrauta1
    @ashokrauta1 3 года назад +2

    Ur.. effort is valuable....keep posting other topics like spring boot, microservice, hibernate, cloud technology

    • @Javatechie
      @Javatechie  3 года назад +1

      Thanks buddy . It required more time to prepare PPT that's the reason I am not able to give time for this . definitely I will try to upload one end of this year

    • @ashokrauta1
      @ashokrauta1 3 года назад +1

      @@Javatechie Thanks ..Keep posting

  • @akashmohapatra1008
    @akashmohapatra1008 3 года назад +1

    I like the way you describe all things. Easily cachable.

  • @girishrp9339
    @girishrp9339 3 года назад +1

    Thanks basant. Your all videos extremely good and neat explanation. please don't stop uploading new concept videos...

  • @vempallireddybasha1302
    @vempallireddybasha1302 3 года назад +1

    Great.. Covered lot of imp questions with clear clarity👍👍👍

  • @bharatiyaashish
    @bharatiyaashish 3 года назад +2

    This was awesome👏✊👍 Please make more videos like this. Thank you

  • @santoshsravani
    @santoshsravani 3 года назад +1

    Thank you sir and way of explain to the concept are good ..

  • @himanshuchaudhari5715
    @himanshuchaudhari5715 2 года назад +1

    it's the best session I ever watched about core Java, Lots to learn, Thanks for sharing all this knowledge and helping others, it's not easy

  • @sumansaha4538
    @sumansaha4538 3 года назад +12

    Thanks Basant , You save us from crying in interview :)

  • @ramakrishnapatil188
    @ramakrishnapatil188 2 года назад +1

    Thanks Basant! this was good quick refresh off those concepts

  • @ikennaifekaonwu6015
    @ikennaifekaonwu6015 2 года назад +1

    Thanks a lot, you made this look so simple which good example

  • @jagrutipatil1020
    @jagrutipatil1020 Год назад +2

    Your channel is like our paid learning institute ...
    Infact more than that ☺️
    Thanks Basant sir for sharing such an amazing knowledge to us...🙏

    • @Javatechie
      @Javatechie  Год назад

      Thanks buddy keep learning 😃

  • @bhumikanegi6336
    @bhumikanegi6336 Год назад +1

    Thanks a lot for creating such nice content , i have spent my weekend watching your videos which is really knowlegeable and engaging , i can binge watch it every weekend now 🤩

  • @tippabatinisantoshkumar2931
    @tippabatinisantoshkumar2931 2 года назад +1

    I love the way of your explanation.... 🙏

  • @amol6530
    @amol6530 3 года назад +2

    It's really good content please add more interviews questions about collections and spring

  • @monicaadinesh801
    @monicaadinesh801 3 года назад +2

    Please upload interview questions for all topics like spring boot, Spring, Webservices, core java and collections

  • @monsterhuntergo
    @monsterhuntergo 2 года назад +1

    Oh, I loved the term it will cry.. haha. Especially on the throwing part from parent to child vice versa. :D

  • @gopalkrushnamohankuda1177
    @gopalkrushnamohankuda1177 3 года назад +1

    Thanks Basant bhai for the amazing videos..

  • @rajasekharb4667
    @rajasekharb4667 3 года назад +4

    Hi Basant, its a nice video and useful. Please do more videos on Spring Boot, Rest API and Spring Security concepts.

  • @gouarab1022
    @gouarab1022 3 года назад +6

    Thanks Basant ! Great content, eagerly waiting for the next series on this.

  • @sailakshmi3792
    @sailakshmi3792 Год назад +1

    Hi Basant, Trust me you have the best teaching skills and its super easy to learn and understand with your presentation, I just subscribed your channel felt sorry for not checking this channel till now. Thanks for your efforts. Hope you will make more interview questions.

    • @Javatechie
      @Javatechie  Год назад

      Thank you so much buddy for appreciating it 🙂. Keep learning 👍

  • @gayatriv4230
    @gayatriv4230 Год назад +1

    I am following your videos, you are doing an incredible job, thanks for the generosity and the free knowledge!! Your channel has become my goto for interview preps.

    • @Javatechie
      @Javatechie  Год назад

      Thanks buddy 😊. Keep learning 😃

  • @babukumar9869
    @babukumar9869 3 года назад +1

    Very useful video sir.. expects more video like this for interview preparation. thanks alot.

  • @akankshasinha3352
    @akankshasinha3352 2 года назад +1

    Thankyou sir .. ❤️❤️ these kind of explanation are always beneficial

  • @chamanjain9843
    @chamanjain9843 Год назад +1

    To make a class immutable, we have to clone the object before assigning it to our instance variable. Even if you return a clone or new variable when getting the instance variable, they will still have access to the list that was passed at the time of object creation. If any changes are made to that list, it will alter the content of our object. Therefore, to maintain immutability, we need to ensure that the object's internal state is not directly accessible or modifiable. Making a deep copy of the mutable objects during construction or assignment is a common approach to achieving this goal.
    Please correct me if I am wrong

  • @maheshrevaskar7658
    @maheshrevaskar7658 3 года назад +1

    Thanks Basant, very helpful with actual examples.

  • @subashmech8613
    @subashmech8613 2 года назад +1

    Thanks Basant video is really helpful 🤙🔥

  • @Anushaaa_
    @Anushaaa_ 3 года назад +1

    Thank you sir, very informative video 👏👏

  • @uma4525
    @uma4525 3 года назад +1

    Thankyou so much. Awesome explanations. Really helpful..

  • @sandeepparmar7997
    @sandeepparmar7997 3 года назад +1

    Really usefull content. Thank you so much.

  • @manichhina3984
    @manichhina3984 2 года назад +1

    Good session ...very useful

  • @atharvadeshmukh164
    @atharvadeshmukh164 2 года назад +1

    Thanks for this great video!!

  • @JyotiKumari-jd9mf
    @JyotiKumari-jd9mf 3 года назад +1

    Very good explanation with content 👍

  • @biswajeetsahoochintu2329
    @biswajeetsahoochintu2329 3 года назад +1

    wow sir its very helpful to us sir thank you sir

  • @Sangeet_vedu
    @Sangeet_vedu 3 года назад +1

    Thanks .. Your all videos are really helpful .

  • @vamsidhar1975
    @vamsidhar1975 2 года назад +1

    best video for clearing interview

  • @Funny-Cartoon-89
    @Funny-Cartoon-89 3 года назад +2

    Good content. Please upload Multithreading and Collections interview questions too.

  • @7hjoseph
    @7hjoseph 2 года назад +1

    Great stuff. Thanks man!

  • @rameshsingh-re7dc
    @rameshsingh-re7dc 3 года назад +2

    Thanks of the great content with use cases. I have seen many videos but the missing part in those videos is real project use cases. Can you please also make video on how to explain project, project architecture and how to explain non-functional requirement like security, scalability on project.

  • @shubhangikhose2231
    @shubhangikhose2231 2 года назад

    Thank you Basant. The way of explaining concept is really good.

  • @chaitanyakumari4269
    @chaitanyakumari4269 3 года назад +1

    Thanks alot.Its very usefull session

  • @jagadeeswarapatnam1613
    @jagadeeswarapatnam1613 Год назад +1

    Thank you so much ❤ please provide video for how to explain project

  • @akhilreddy5286
    @akhilreddy5286 3 года назад +1

    Hi Sir,
    just a bit more elaboration on the Inherited exception handling,
    IF the parent method doesn't throws any exception then child can thorw only runtime exception not compile time exception.
    If the parent method throws broader exception like "Exception" then child can thow any kind of ecxeption, or it is not necessary to throw any exception

  • @DineshKumar-ph3uq
    @DineshKumar-ph3uq Год назад +1

    Thank you for this great content

  • @MastanvaliShaik-yg1lh
    @MastanvaliShaik-yg1lh Год назад +1

    I'm so happy after watching your video because personally it saves at least one week time who is preparing for interviews, easily catching up with❤ the questions and answers ❤❤❤❤❤

  • @maheshbandaru7287
    @maheshbandaru7287 3 года назад +2

    Basant its really good content please try to do more.

  • @gopisambasivarao5282
    @gopisambasivarao5282 Год назад +1

    Nice content Basant. Thanks

  • @viveksemwal2537
    @viveksemwal2537 3 года назад +1

    Great content please add more sir

  • @vindiesel-tn5xm
    @vindiesel-tn5xm Год назад +1

    Best ...to the topic...❤

  • @sameer9368
    @sameer9368 3 года назад +1

    Great and Proper Explanation ❤️

  • @subhampatidar2193
    @subhampatidar2193 2 года назад

    Again i want to say - it's great 👍 Thank you so much - I hope many people are getting Jobs after watching your videos
    I request to other guys also please add some beautiful comments if it's really worth for you
    Again Thanks ❤️

  • @rajput_manoj
    @rajput_manoj 2 года назад +1

    Great session ,Thanks

  • @itsnarahari
    @itsnarahari 3 года назад +3

    Nice! do video on Multithreading and executor service bro

  • @suryaenjarapu
    @suryaenjarapu Год назад +1

    If method throws RuntimeException then caller method no need to catch or throws furrther, in your example as you are extedended Exception class that why we have catch or throws further, instead if we extend RuntimeException then its not needed to catch or throws

  • @ullaskumardas2139
    @ullaskumardas2139 3 года назад +1

    Really it is very much helpful, Can you please create a video experienced interview questions for multithreading ?

  • @mary.kaaviya
    @mary.kaaviya 3 года назад +2

    Hi Basant, I think compile time exceptions are named so because they occur at compile time. The process for running a program occurs first by changing source code to machine readable code in compiler. During this time the error occurs.
    Hence its called compile time exception.

    • @Javatechie
      @Javatechie  3 года назад +1

      No that time it warn us not throws any error

    • @KateShubham
      @KateShubham 2 года назад +3

      I guess, All exceptions OCCUR only at runtime. But in case of Checked exceptions, because compiler can identify possibility of exception at particular line of code, it forces us to handle it. That's why it shows error during compilation. That doesn't mean exception has OCCURED. Exception will occur only at runtime.

    • @anandreddy.k9679
      @anandreddy.k9679 Год назад

      @@KateShubham exactly correct

  • @NareshKumarD107
    @NareshKumarD107 3 года назад +1

    Thank you so much...very helpful

  • @veeracharyuppula9983
    @veeracharyuppula9983 3 года назад +1

    it is very helpful do same as on springboot and microservices

  • @thilakrider
    @thilakrider Год назад +1

    PART 2 please, this one was realllly good.

    • @Javatechie
      @Javatechie  Год назад

      Part 2 is here ruclips.net/video/GO67C7V-IbQ/видео.html

  • @vedhvaishvikreddy1199
    @vedhvaishvikreddy1199 3 года назад +2

    Thanks for sharing this.. can you please make part 2 with all advance java related asap..

  • @saddammd
    @saddammd 3 года назад +3

    RUclips suggested me this video.
    I must say that it is great explanation
    I have learnt alot.
    waiting for your next video on this series.
    SUBSCRIBED :)

    • @Javatechie
      @Javatechie  3 года назад +1

      Thanks buddy keep in touch with javatechie each topic interview QA coming soon

  • @Ramreddy-kq5or
    @Ramreddy-kq5or 3 года назад +1

    Man simply awesome

  • @vigneshwaranmani182
    @vigneshwaranmani182 2 года назад +1

    Excellent 👍

  • @hopeadk
    @hopeadk 3 года назад +2

    Thank you, video is to the point! Interview questions on other technologies will be definitely helpful including relational database queries.

  • @shailendraraj4951
    @shailendraraj4951 3 года назад +1

    Thanks but we want more situation based coding interview questions for 6 years experience