Java Interview Questions and Answers | Java Tutorial | Java Online Training | Edureka

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

КОМЕНТАРІ • 296

  • @edurekaIN
    @edurekaIN  6 років тому +26

    Got a question on the topic? Please share it in the comment section below and our experts will answer it for you. For Java Training Curriculum, Visit our Website: bit.ly/32Ymvde Use Code "𝐘𝐎𝐔𝐓𝐔𝐁𝐄𝟐𝟎" to get Flat 20% off on this training.

  • @dominykaskisonas223
    @dominykaskisonas223 3 роки тому +538

    4:15 What is the difference between JDK, JRE and JVM?
    5:50 What is synchronization?
    7:38 What are the differences between processes and threads?
    13:36 What are Wrapper classes?
    17:18 What purpose does the keywords final, finally and finalize fulfill?
    21:20 What is the difference between StringBuffer and StringBuilder?
    24:58 What are the differences between Heap and Stack memory?
    39:03 What is the difference between Abstract classes and Interfaces?
    53:14 What is the difference between method overloading and method overriding?
    55:03 Can you ovveride a private or static method in Java?
    55:43 What is multiple inheritance and does java support it?
    59:03 What is a Servlet?
    1:00:41 What is the difference between Get and Post methods?
    1:04:45 What is the lifecycle of a servlet?
    1:16:01 What is Spring?

  • @Srijan_04
    @Srijan_04 4 роки тому +29

    So far, This is the best ever resource for understanding java which I have seen. This guy Ishant does magic and everything gets into the brain xD. Thanks a lot, Edureka and Ishant

  • @VEMPARALATEJABEC
    @VEMPARALATEJABEC 5 років тому +6

    So practical and cleanly explained this is what you need when you want to implant a concept in your mind.Haven’t found a better tutor so far in youtube

    • @edurekaIN
      @edurekaIN  5 років тому

      Thanks for the compliment Vemparala! We are glad you feel that way. Do subscribe to the channel and hit the bell icon to never miss an update from us in the future. Cheers!

  • @rohanbattula5233
    @rohanbattula5233 4 роки тому +21

    This video is amazing, one of the best java videos ive seen on youtube.

  • @meghagupta6994
    @meghagupta6994 5 років тому +42

    This session was too good and helpful...
    Thank you very much for this effort this really means a lot to us n i really enjoyed n learned things more clearly...

    • @edurekaIN
      @edurekaIN  5 років тому +1

      Thank you for appreciating our efforts. We are glad the video was of great help to you. Do subscribe to our channel and stay connected with us. Cheers :)

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

    Excellent video... Java simplified😄👌🏻

  • @danielplainview2360
    @danielplainview2360 2 роки тому +8

    Excellent analysis. Very well articulated and easy to follow.

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

      Thank you for you time in giving a feedback :) We are glad that you are learning from our videos! Stay connected with our channel :)

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

    God bless you for your video and explainations! I am studying 2 hours before the interview. It's going to be fun!

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

      Thank you so much for the review ,we appreciate your efforts : ) We are glad that you have enjoyed your learning experience with us .Thank You for being a part of our Edureka team : ) Do subscribe the channel for more updates : ) Hit the bell icon to never miss an update from our channel : )

  • @devandeva4374
    @devandeva4374 3 роки тому +10

    thanks man im from c++ backgroud but got placed in bajaj finserv which only needs java after watching this video a day before interview

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

      Glad to hear that!Truly feels good that our team is delivering and making your learning easier :) Keep learning with us .Stay connected with our channel and team :) . Do subscribe the channel for more updates : ) Hit the bell icon to never miss an update from our channel : )

  • @iti_pooja22
    @iti_pooja22 4 роки тому +3

    A very useful Video to prepare for Java interview. Thank You for the Video!!!!

  • @vijayalakshmi6028
    @vijayalakshmi6028 6 років тому +2

    I have a question about question 18. Why par.foo() is "I am foo in super"?. par is a reference object of "parent" class which is pointing to "child" class, right? then par.foo() should give : - I am foo in child ....

    • @edurekaIN
      @edurekaIN  5 років тому +2

      Hey Vijaya, "It is still refering the parent class method because it is a static method and static methods can't be overridden."
      Hope this helps!

  • @mokshadanayak9182
    @mokshadanayak9182 6 років тому +18

    Very informative video and nicely explained.Very well done.Thank you so much for sharing with us.

    • @edurekaIN
      @edurekaIN  6 років тому

      Hey Mokshada, thank you for watching our video. Do subscribe, like and share to stay connected with us. Cheers :)

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

    Wonderful video to solve my basic concepts here, thank you so much eureka is a good platform for learning.

  • @फूलेदस्तक
    @फूलेदस्तक 3 роки тому +2

    I would like to give a lots of thanks

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

    I am in love with this teacher/ Instructor !!!!!!!!!!!!!! 😍❤❤

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

      Happy to hear that! Keep learning with us...

  • @VikasKumar-nb5hv
    @VikasKumar-nb5hv 2 роки тому +1

    Thanku sir your video build a confidence and strong a basic concepts. Good explained.

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

      Hey:) Thank you so much for your sweet words :) Really means a lot ! Glad to know that our content/courses is making you learn better :) Our team is striving hard to give the best content. Keep learning with us -Team Edureka :) Don't forget to like the video and share it with maximum people:) Do subscribe the channel:)

  • @LizardanNet
    @LizardanNet 7 років тому +12

    Thanks for this. Java interview tomorrow.

    • @edurekaIN
      @edurekaIN  7 років тому +1

      +Lizardan, thanks for checking out our tutorial. Hope your interview went well. :)
      Do subscribe to stay posted on our upcoming tutorials. Cheers!

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

    Very Informative. Thanks a lot :)

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

    Beautifully Explained sir !!!

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

    Awesome explanation of Abstract class.

  • @subashchokkalingam6312
    @subashchokkalingam6312 4 роки тому +2

    Really Great....!!!

  • @leomonz
    @leomonz 4 роки тому +1

    very nice video and easy organized and clear...

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

    One of the best explanation over this channel thanks for sharing your knowledge with us god bless you.....

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

      You're welcome 😊 Stay connected with our channel and team :) . Do subscribe the channel for more updates : ) Hit the bell icon to never miss an update from our channel : )

  • @chat3min
    @chat3min 6 років тому +9

    Best revision video for Java OOPS and other basic questions before your onsite interview. Thank you.

    • @edurekaIN
      @edurekaIN  6 років тому

      Hey Somal, thank you for appreciating our work. Do subscribe an stay connected with us. Cheers :)

  • @vinithashetty5520
    @vinithashetty5520 4 роки тому +1

    I understood a lot please do more videos thank you so much!!

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

    Very helpful...session was too good : )...Covers whole Java(Core+Adv).

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

      We are very glad to hear that your a learning well with our contents :) continue to learn with us and don't forget to subscribe our channel so that you don't miss any updates !

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

    Thank you very much for sharing such an amazing interview questions to us.Very helpful those who are seriously trying for interviews.

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

      Hi : ) We really are glad to hear this ! Truly feels good that our team is delivering and making your learning easier :) Keep learning with us .Stay connected with our channel and team :) . Do subscribe the channel for more updates : ) Hit the bell icon to never miss an update from our channel : )

  • @noothivinun8204
    @noothivinun8204 4 роки тому +1

    Perfect video to recall and learn all the JAVA concepts

  • @maranvetry3877
    @maranvetry3877 4 роки тому +1

    Easy to understand the logic

  • @rakesh7105
    @rakesh7105 7 років тому +6

    object of an abstract class can not be created even in run time. The constructor in abstract class is to initialize the fields.

  • @kamalgarg6313
    @kamalgarg6313 6 років тому +12

    Thank you so much for amazing videos. Could you also please make videos on system design interview questions in Java like
    1) Design a traffic control system
    2) Design a elevator system
    3) Design a parking lot system
    etc.

  • @ltmikepick
    @ltmikepick 5 років тому +14

    Awesome! I subscribed because you helped me to understand and remember java concepts

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

    Informative video thank you edureka

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

      We are very glad to hear that your a learning well with our contents :) continue to learn with us and don't forget to subscribe our channel so that you don't miss any updates !

  • @bakchodhutiyapa8298
    @bakchodhutiyapa8298 7 років тому +8

    i like this channel a lot !! regula viewr ! congrats keep it up!

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

    This was simply awesome.. looking forward to see more videos from you...

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

      Thank you so much : ) We are glad to be a part of your learning journey. Do subscribe the channel for more updates : ) Hit the bell icon to never miss an update from our channel : )

  • @alittlecoding
    @alittlecoding 5 років тому +2

    Thank you very much. Best video

  • @vidyabukitgar
    @vidyabukitgar 5 років тому +1

    While explaining that Strings are not mutable, why the compiler didn't throw any error when you tried to concatenate it with str.concatenate("hi... ") ???

    • @edurekaIN
      @edurekaIN  4 роки тому +1

      What we mean by immutable is that you cannot change specific terms in the string. For example, 'Hello' is the string. You cannot change the string to 'Wello' by any case as that is not allowed. Whereas concatenation is allowed because the original string plus some other string is taken. Hope that solves your query.

    • @vidyabukitgar
      @vidyabukitgar 4 роки тому

      @@edurekaIN yes it did

  • @preethij5931
    @preethij5931 4 роки тому +7

    Can't describe in words how good this tutorial is.thank you so much for the effort

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

    Great explanation sir, cheers from Brazil

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

      Thank You 😊 Glad it was helpful!!

  • @keshavkuruva2581
    @keshavkuruva2581 5 років тому

    Flow of explanation is very clear tqqq for video ....

  • @krishnaverma7744
    @krishnaverma7744 7 років тому +3

    Thanks for sharing the the video, its really helpful. Many thanks....

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

    Vedio is good. I think there is need for small change at 30:40 .You have mentioned about Heap in Stack and vice versa

  • @b.vishnuvardhan3704
    @b.vishnuvardhan3704 2 роки тому +1

    Awesome explanation hoping more videos

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

      Good To know our videos are helping you learn better :) Stay connected with us and keep learning ! Do subscribe the channel for more updates : )

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

    Thank you so much for the detailed video.

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

    Nice explanation. Thanks

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

      Thank you for your review : ) We are glad that you found our videos /contents useful . We are also trying our best to further fulfill your requirements and enhance your expirence :) Do subscribe the channel for more updates : ) Hit the bell icon to never miss an update from our channel : )

  • @MrSampathmca
    @MrSampathmca 7 років тому +13

    very superb video.. i have enjoyed so much...

  • @anandsinghnaruka5175
    @anandsinghnaruka5175 5 років тому

    Hey ishant ..u have very well explained ...thank you

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

    WONDERFUL SIR TRULY ENJOYED AND LEARNED ALOT IN SIMPLE, CLARITY AND EFFECTIVE MANNER. THANKS

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

    I gotta be honest I was distrusting at start for some reason (mostly because of the date created being 2017) but once this guy started talking, holly!!! Thanks so much for this tutorial, amazing!

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

      Hey:) Thank you so much for your sweet words :) Really means a lot ! Glad to know that our content/courses is making you learn better :) Our team is striving hard to give the best content. Keep learning with us -Team Edureka :) Don't forget to like the video and share it with maximum people:) Do subscribe the channel:)

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

    Awesome collection of questions. Thanks you very much.

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

      Thank you so much : ) We are glad to be a part of your learning journey. Do subscribe the channel for more updates : ) Hit the bell icon to never miss an update from our channel : )

  • @decodingtimer
    @decodingtimer 4 роки тому +1

    Great explanation

  • @VishalSharma-rn7mt
    @VishalSharma-rn7mt 3 роки тому +1

    This is awesome , thank you so much

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

    Thanks. This was the best way to learn before a viwa

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

    Thank you so much 😇

  • @ehsansasanian9653
    @ehsansasanian9653 4 роки тому +2

    so far ... the best video of recapping important concepts in java, well done
    Thank You!

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

    such an informative session!! thank you so much Edureka :)

  • @aishgk0912
    @aishgk0912 4 роки тому +13

    Thank you so much, edureka! for uploading this video. This is so helpful for interview preparations. All the other videos breaking down the basic concepts of Java were also excellent.

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

    can you give me a reply about the real time examples(technically related) of encapsulation, inheritance, polymorphism, and abstraction?...its being asked in interviews....can you please reply to this question

  • @mohammedsufi4649
    @mohammedsufi4649 6 років тому +3

    Very Very useful video. Hats off to edureka. Please keep up your great work

    • @edurekaIN
      @edurekaIN  6 років тому

      Hey Mohammed, thank you for watching our video and appreciating our efforts. Your words is our motivation. Cheers :)

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

    Thanks for the video

  • @ShivaniSingh-jt6kl
    @ShivaniSingh-jt6kl 3 роки тому +1

    Very good explanation

  • @chandushetty6065
    @chandushetty6065 7 років тому +1

    very use full. Thank you so much...........

  • @divyap3295
    @divyap3295 5 років тому

    Ishan ur awesome ..... really explained very well...TQ

  • @abhrajitnandy
    @abhrajitnandy 5 років тому +1

    In abstract class, how to call non abstract method from child class if abstract class doesn't allow us to create object?

    • @edurekaIN
      @edurekaIN  5 років тому

      Hi Abhra, It's possible to have non abstract methods in abstract class. When you want to prevent instantiation of the superclass. Child classes can use or override the public and protected non-abstract methods defined in the abstract class.

  • @bhartirajpal5402
    @bhartirajpal5402 5 років тому +2

    Very useful video. Every Concept is explained very clearly.

  • @abhidynmc
    @abhidynmc 6 років тому +4

    Thank you for the valuable questions. I feel more confident!

    • @edurekaIN
      @edurekaIN  6 років тому

      Hey Abhishek, we are glad to have helped you. Do subscribe and stay connected with us. Cheers :)

  • @anniek7259
    @anniek7259 5 років тому +1

    Very interesting edureka blog.. I understood alot which i don't know.. Thank you team..

    • @edurekaIN
      @edurekaIN  5 років тому

      Thanks for the compliment, Annie. We are glad that our video was of great help to you. Do subscribe to our channel and stay connected with us. Cheers!

  • @everyonecancode1613
    @everyonecancode1613 5 років тому +2

    Awesome !

  • @Ooii92
    @Ooii92 4 роки тому +1

    You guys also help for interviews.

  • @anuraggwl
    @anuraggwl 7 років тому +1

    Very Informative .. Please have a separate video for Spring and Hibernate

    • @edurekaIN
      @edurekaIN  7 років тому

      Hey Anurag, thanks for checking out our tutorial.
      Here's the link to our Spring interview questions tutorial: ua-cam.com/video/yNY8HLk1hNM/v-deo.html
      We do not have an interview questions tutorial for Hibernate, but perhaps these videos will help you prepare: ua-cam.com/play/PL9ooVrP1hQOGddZSIsq4d0nhZDMZlPY1X.html.
      Hope this helps. Cheers!

  • @ridhisharma6062
    @ridhisharma6062 7 років тому +8

    thank you for this. I am working in mainframe but wish to switch in Java. what will I require to do that

    • @edurekaIN
      @edurekaIN  7 років тому +4

      Hey Ridhi, thanks for checking out our tutorial!
      As a mainframe developer you would some idea about programming. You can learn Java if that's the career track you are interested in. You can check out our Java course that is designed to give you hands-on experience: www.edureka.co/java-j2ee-soa-training. You will also get to work on a project towards the end of the course.
      The pre-requisites to learn Java are prior programming experience and familiarity with basic concepts such as variables/scopes, flow-control, and functions. Prior exposure to object-oriented programming concepts is not required, but definitely beneficial.
      Hope this helps. Cheers

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

    Thank you edureka . I'm placed.

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

      You're welcome 😊 Stay connected with our channel and team :) . Do subscribe the channel for more updates : ) Hit the bell icon to never miss an update from our channel : )

  • @hippiestafarii
    @hippiestafarii 7 років тому +5

    Yes !!!
    Very nice video, thanks a lot :-)

  • @bhaveshmurug1548
    @bhaveshmurug1548 6 років тому +3

    Nice Video Edureka keep it up n thanks for easy way to help us .

    • @edurekaIN
      @edurekaIN  6 років тому

      Thank you for watching our video. Do subscribe, like and share to stay connected with us. Cheers :)

  • @nanajijonnadula6290
    @nanajijonnadula6290 5 років тому

    Very good effort. Very good material. the best trainer i have ever. He is the best.

    • @edurekaIN
      @edurekaIN  5 років тому

      Thanks for the compliment! We are glad you loved the video. Do subscribe to the channel and hit the bell icon to never miss an update from us in the future. Cheers!

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

    Sir your explaining way is Awesome.

  • @mohitvalechay
    @mohitvalechay 5 років тому

    Thanks for putting together these questions together..thank you

  • @shiv12592
    @shiv12592 6 років тому +2

    great work..edurekha.., plz upload vidios for android and mysql interview purpose.

    • @edurekaIN
      @edurekaIN  6 років тому

      Hey Shiv, glad you loved the video. Do subscribe to never miss an update from us in the future. We will surely process your request as soon as possible. Cheers!

  • @johnjames6717
    @johnjames6717 4 роки тому +1

    Hello. Thank you for this video. I learned a lot.

  • @krantishedage5641
    @krantishedage5641 4 роки тому

    Nice session.... thank you so much 😊

  • @charchilgupta
    @charchilgupta 7 років тому +1

    Very helpful ....Thanks a lot

  • @bharatranpariya5581
    @bharatranpariya5581 6 років тому +1

    very nice, better then many of the articles. good job.

    • @edurekaIN
      @edurekaIN  6 років тому

      Hey Bharat, thank you for watching our video. Do subscribe, like and share to stay connected with us. Cheers :)

  • @DonCachuela22
    @DonCachuela22 7 років тому +4

    Thanks for this!

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

    This video is really helpful.It help me to brush up my java knowledge and clears the concept of all its terms. Thanks a lot!!!

  • @satishram1808
    @satishram1808 4 роки тому

    hai sir we r very lucky have this session very help full sir

  • @deepakmeher9913
    @deepakmeher9913 7 років тому +2

    Nice ans helpfull.Thank

  • @kajalkoravi4092
    @kajalkoravi4092 7 років тому +1

    very useful and informative video ,i got to learn much more while preparing for questions ,thank you for this video

    • @edurekaIN
      @edurekaIN  7 років тому

      Hey Kajal! We are delighted to know that you liked our content. Subscribe, like and share to stay connected with us. Cheers :)

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

    This guy is legendary due to his dedication for it❤️ kudos!!!

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

      We are very glad to hear that your a learning well with our contents :) continue to learn with us and don't forget to subscribe our channel so that you don't miss any updates !

  • @vivekkumar-nw1qv
    @vivekkumar-nw1qv 5 років тому +1

    Congratulations for 1M 💐💐💐

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

    dam good high quality video, must view for all java learners be it entry or advanced level

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

      Hi : ) We really are glad to hear this ! Truly feels good that our team is delivering and making your learning easier :) Keep learning with us .Stay connected with our channel and team :) . Do subscribe the channel for more updates : ) Hit the bell icon to never miss an update from our channel : )

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

    thanks for this interview video.

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

      Thank you so much : ) We are glad to be a part of your learning journey. Do subscribe the channel for more updates : ) Hit the bell icon to never miss an update from our channel : )

  • @prashanthinaughty
    @prashanthinaughty 6 років тому +1

    It is really an awesome video...thanku sooo much

    • @edurekaIN
      @edurekaIN  6 років тому

      Greetings! Thank you for watching our video. Do subscribe, like and share to stay connected with us. Cheers :)

  • @otherworks2085
    @otherworks2085 7 років тому +1

    WOW its very helpful !
    plz upload more or part TWO
    plz

    • @edurekaIN
      @edurekaIN  7 років тому

      +Otherworks, thanks for checking out our tutorial. We're glad you liked it.
      Here's the link to our Java playlist: ua-cam.com/play/PL9ooVrP1hQOHb4bxoHauWVwNg4FweDItZ.html.
      Hope this helps. Cheers!

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

    Thank you so much for your content! Regards from Brazil!

  • @ditu-kunalsarda6863
    @ditu-kunalsarda6863 4 роки тому +3

    Such beautiful concepts compiled together. Thankyou! The perfect revision

  • @lovikhanna4617
    @lovikhanna4617 4 роки тому

    Great Video!!

  • @sumitagarwal4591
    @sumitagarwal4591 5 років тому +2

    Great work done here guys, Can you also please make a video/videos for common coding interview questions and how to go about them topicwise

  • @CodingSkills
    @CodingSkills 4 роки тому

    nice compilation of Q & A

  • @sreerupakatamoni3087
    @sreerupakatamoni3087 6 років тому +1

    Thank you for this vedio.this is really help full.can u plz share the slides sir