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

Поділитися
Вставка
  • Опубліковано 1 жов 2024

КОМЕНТАРІ • 280

  • @meramvlogs4260
    @meramvlogs4260 Рік тому +10

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

  • @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

  • @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

  • @anuradhap4055
    @anuradhap4055 2 роки тому +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.

  • @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.

  • @sumansaha4538
    @sumansaha4538 3 роки тому +12

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

  • @sureshmanne7245
    @sureshmanne7245 Рік тому +2

    Marker interfaces are discontinued or omitted from Java 5 onwards,
    why are we still using Serializable & Cloneable interfaces?

    • @Javatechie
      @Javatechie  Рік тому +1

      Is it omitted ? Not sure I will check and update you

  • @nilanchalapradhan9500
    @nilanchalapradhan9500 3 роки тому +5

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

  • @monicaadinesh801
    @monicaadinesh801 3 роки тому +2

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

  • @biswajitjana9815
    @biswajitjana9815 3 роки тому +12

    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

  • @nirmesh44
    @nirmesh44 3 роки тому +6

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

  • @aditipai7289
    @aditipai7289 3 роки тому +5

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

  • @vikashranjankumar6325
    @vikashranjankumar6325 2 роки тому +2

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

  • @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.

  • @amolpatil3234
    @amolpatil3234 3 роки тому +2

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

  • @akhilreddy5286
    @akhilreddy5286 2 роки тому +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

  • @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.

  • @hemmak007
    @hemmak007 Рік тому +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

      Yes buddy it's my mistake 🤠 i realise later

  • @mahendrabisht9253
    @mahendrabisht9253 Рік тому +1

    Hi very informative. Thanks, while comparing string, buffer,builder showing string is not thread safe.

  • @kapilmishra4667
    @kapilmishra4667 Рік тому +3

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

  • @shailendraraj4951
    @shailendraraj4951 2 роки тому +1

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

  • @majidmohammed5412
    @majidmohammed5412 3 роки тому +3

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

  • @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 2 роки тому +2

      @@Javatechie thanks a lot

  • @RaviVerma-bg6ul
    @RaviVerma-bg6ul 2 роки тому +1

    sir, I have one request, pls make a video for interview question and answer for Microservices and springboot with Spring cloud

  • @aswinkumar323
    @aswinkumar323 Рік тому +3

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

  • @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

  • @vinitgawali1
    @vinitgawali1 2 роки тому +1

    Hi basant in one of the question where you are mentioning diffrence between String, Stringbuffer and String Builder there you have pointed out String is not thread safe but String is actually thread safe correct?

    • @Javatechie
      @Javatechie  2 роки тому

      My bad i spell it wrong. You are correct string is thread safe .

  • @ashokrauta1
    @ashokrauta1 2 роки тому +2

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

    • @Javatechie
      @Javatechie  2 роки тому +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 2 роки тому +1

      @@Javatechie Thanks ..Keep posting

  • @atharvadeshmukh164
    @atharvadeshmukh164 2 роки тому +1

    Thanks for this great video!!

  • @itsnarahari
    @itsnarahari 3 роки тому +3

    Nice! do video on Multithreading and executor service bro

  • @cteotia
    @cteotia 3 роки тому +2

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

  • @monsterhuntergo
    @monsterhuntergo Рік тому +1

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

  • @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.

  • @bharatiyaashish
    @bharatiyaashish 3 роки тому +2

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

  • @amol6530
    @amol6530 3 роки тому +2

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

  • @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 😃

  • @ollehbudiak7150
    @ollehbudiak7150 2 роки тому +1

    At 55:55, there is a typo under String. It should be Thread safe.

  • @Ajithrocks1997
    @Ajithrocks1997 Рік тому +1

    for(;;)
    { System.out.println("Thank you Java techie ❣️ ");
    }

  • @jagadeeswarapatnam1613
    @jagadeeswarapatnam1613 Рік тому +1

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

  • @vedhvaishvikreddy1199
    @vedhvaishvikreddy1199 3 роки тому +2

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

  • @neerajrawat17
    @neerajrawat17 3 роки тому +2

    Great Explaination in details each topics.
    Thanks 🙏🙏

  • @arunkumarsanthanam8696
    @arunkumarsanthanam8696 3 роки тому +1

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

  • @akankshasinha3352
    @akankshasinha3352 2 роки тому +1

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

  • @AbdelrahmanMoussaAbuOuf
    @AbdelrahmanMoussaAbuOuf 2 роки тому +1

    Brilliant video !

  • @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

  • @ullaskumardas2139
    @ullaskumardas2139 3 роки тому +1

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

  • @vindiesel-tn5xm
    @vindiesel-tn5xm Рік тому +1

    Best ...to the topic...❤

  • @sinubhalki2388
    @sinubhalki2388 2 роки тому +1

    It’s very helpful

  • @monsterhuntergo
    @monsterhuntergo Рік тому +1

    For SCP:
    String str = "techie";
    str = str.concat("java");
    System.out.println(str);
    Output: techiejava
    However, in string pool, this is newly created. so str will point to a new reference of string in SCP?

  • @madhurajsingh6558
    @madhurajsingh6558 3 роки тому +1

    waiting for your next video on interview questions on spring and hibernate

  • @maheshbandaru7287
    @maheshbandaru7287 3 роки тому +2

    Basant its really good content please try to do more.

  • @santanukumarpadhy3534
    @santanukumarpadhy3534 2 роки тому +1

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

  • @selvapandymoorthy4173
    @selvapandymoorthy4173 2 роки тому +1

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

  • @bhumikanegi6336
    @bhumikanegi6336 10 місяців тому +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 🤩

  • @SupriyaMondal3
    @SupriyaMondal3 2 роки тому +1

    Thank you. so much.

  • @kanikasingla6527
    @kanikasingla6527 3 роки тому +1

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

  • @hamednikbakht9708
    @hamednikbakht9708 2 роки тому +1

    please add subtitle

  • @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

  • @veeracharyuppula9983
    @veeracharyuppula9983 2 роки тому +1

    it is very helpful do same as on springboot and microservices

  • @akashsingsarva6154
    @akashsingsarva6154 Рік тому +1

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

  • @tusharrai7699
    @tusharrai7699 2 роки тому +1

    Do make video on gRPC with spring boot

  • @ramakrishnapatil188
    @ramakrishnapatil188 2 роки тому +1

    Thanks Basant! this was good quick refresh off those concepts

  • @azharnawaz7908
    @azharnawaz7908 3 роки тому +2

    Hi Basant bhai can you make any real time project using spring boot and microservices so that it will be very helpful for me while attending the interviews.Please please can you do that one.

    • @Javatechie
      @Javatechie  3 роки тому

      Please check out this playlist
      Tools: ua-cam.com/play/PLVz2XdJiJQxz_55RIJL8mjO6nx_T87LVD.html

    • @azharnawaz7908
      @azharnawaz7908 3 роки тому

      @@Javatechie hi basant thanks for the reply, actually I am asking for to develop one project like cart application or banking application

  • @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.

  • @subashmech8613
    @subashmech8613 2 роки тому +1

    Thanks Basant video is really helpful 🤙🔥

  • @surendrareddyseelam9757
    @surendrareddyseelam9757 Рік тому +1

    Amazing content sir, Questions with examples 🤩, Thanks much

  • @monsterhuntergo
    @monsterhuntergo Рік тому

    Based on my understanding return will go back to the calling method and will not go back anymore.. but it seems the behavior changed during this try-catch-finally? is it only on this scenario? thanks

  • @palakrathore6603
    @palakrathore6603 Рік тому +1

    very helpful

  • @uma4525
    @uma4525 3 роки тому +1

    Thankyou so much. Awesome explanations. Really helpful..

  • @srinivasrao-lw6xk
    @srinivasrao-lw6xk 3 роки тому +1

    Very useful to us. I am comparing with u to explain like u. I couldn't explain feeling very sad but I want job.. 😭😭😭😭

    • @Javatechie
      @Javatechie  3 роки тому

      You will get it . Be strong and positive

  • @Vivekrathoud
    @Vivekrathoud 3 роки тому +3

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

  • @Milkyway____
    @Milkyway____ 2 роки тому +1

    55:21 Hi Basant - Here the String is "immutable", then why its mentioned as "not thread safe"? It is Thread safe right?

    • @Javatechie
      @Javatechie  2 роки тому +1

      Yes it's thread safe . My mistake

    • @Milkyway____
      @Milkyway____ 2 роки тому +1

      @@Javatechie Thank You! really appreciate for all your content. Its really helpful.

    • @Javatechie
      @Javatechie  2 роки тому

      @@Milkyway____ thanks buddy 😊

  • @vigneshwaranmani182
    @vigneshwaranmani182 Рік тому +1

    Excellent 👍

  • @basanthish
    @basanthish 3 роки тому +1

    Very Helpful please add more questions and videos..

  • @ikennaifekaonwu6015
    @ikennaifekaonwu6015 2 роки тому +1

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

  • @sathiskumarp
    @sathiskumarp 2 роки тому +1

    Good session

  • @NareshKumarD107
    @NareshKumarD107 2 роки тому +1

    Thank you so much...very helpful

  • @TejasAR-k6d
    @TejasAR-k6d 10 місяців тому

    Hi Thanks for covering all the important questions, I had one query in question #20 is String is threadsafe? since its immutable in nature

  • @santoshsravani
    @santoshsravani 3 роки тому +1

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

  • @nitinkale8102
    @nitinkale8102 3 роки тому +1

    Thanks

  • @gopalkrushnamohankuda1177
    @gopalkrushnamohankuda1177 3 роки тому +1

    Thanks Basant bhai for the amazing videos..

  • @girishrp9339
    @girishrp9339 3 роки тому +1

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

  • @kshitijbansal3672
    @kshitijbansal3672 Рік тому

    Sir, how to answer this question. Q- After java 8, since we have default and static methods in Interface now, so now what is the need of
    Abstract class? Pls help.

  • @kshitijbansal3672
    @kshitijbansal3672 Рік тому

    Sir, how to answer this question. Q- After java 8, since we have default and static methods in Interface now, so now what is the need of Abstract class? Pls help.

  • @satishdhavann
    @satishdhavann 2 роки тому +1

    String is Thread Safe as it is Immutable, may I know why you mentioned it is not @55:15

    • @Javatechie
      @Javatechie  2 роки тому +1

      Yes it's thread safe my mistake

    • @satishdhavann
      @satishdhavann 2 роки тому +1

      @@Javatechie love your videos man.. great job , one can crack Java interview easily with your content… keep rocking..

    • @Javatechie
      @Javatechie  2 роки тому

      @@satishdhavann thank you buddy 🤗

  • @nagarajumudde8320
    @nagarajumudde8320 2 роки тому +1

    Hi basanth nice

  • @tippabatinisantoshkumar2931
    @tippabatinisantoshkumar2931 Рік тому +1

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

  • @rajeshdey1425
    @rajeshdey1425 5 місяців тому

    Checked and unchecked exception handling in overriding scenarios,that you missed Bhai.

  • @kothabharathkumar3589
    @kothabharathkumar3589 2 роки тому +1

    Sir i want part 2 java interview questions

    • @Javatechie
      @Javatechie  2 роки тому +1

      Please check ua-cam.com/video/GO67C7V-IbQ/v-deo.html

  • @obsessed394
    @obsessed394 3 роки тому +1

    give some real time
    examples of java design patterns

  • @akashmohapatra1008
    @akashmohapatra1008 3 роки тому +1

    What If we can set employee.doj.setDate(20);
    We still able to modify. Please suggest

    • @Javatechie
      @Javatechie  3 роки тому

      In getter method return clone object of date then update value won't reflect

  • @chaitanyakumari4269
    @chaitanyakumari4269 2 роки тому +1

    Thanks alot.Its very usefull session

  • @divyar9009
    @divyar9009 Рік тому +1

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

  • @girishrp9339
    @girishrp9339 3 роки тому +1

    Can you please upload real time project example in java spring boot service request response payload how to develop logging framework

  • @jagabandhujena9476
    @jagabandhujena9476 2 роки тому +1

    Many thanks sir...,but I am not getting part 2 video

    • @Javatechie
      @Javatechie  2 роки тому

      Check below link ua-cam.com/video/GO67C7V-IbQ/v-deo.html

    • @jagabandhujena9476
      @jagabandhujena9476 2 роки тому +1

      Ok sir👍,thank you..

  • @Junnu-tw2ih
    @Junnu-tw2ih Рік тому +1

    Sir how to get that Questions PDF?

    • @Javatechie
      @Javatechie  Рік тому

      Drop me text in javatechie4u@gmail.com. i will share

  • @Anushaaa_
    @Anushaaa_ 3 роки тому +1

    Thank you sir, very informative video 👏👏

  • @biswajeetsahoochintu2329
    @biswajeetsahoochintu2329 3 роки тому +1

    wow sir its very helpful to us sir thank you sir

  • @aadiraj6126
    @aadiraj6126 3 роки тому +1

    Sir interview questions on spring boot security with jwt & OAuth2 in Microservices...plz

  • @Sangeet_vedu
    @Sangeet_vedu 3 роки тому +1

    Thanks .. Your all videos are really helpful .