Java 8 Interview questions/Interview Preparation

Поділитися
Вставка
  • Опубліковано 24 січ 2025

КОМЕНТАРІ • 73

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

    Hi All,
    At 5:08 : " object of class " means : If we put method with same signature as that of interface in class, you can access it from your class object. That seems to be kind of overriding method but exactly not true. Static belongs to class only. Static cannot be inherited.
    At 15:36 : method return type in child class (Videos) should be void. Overriding method signature should be same.

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

    As experienced java developer I recommended java8 learner to follow this video. I learned from this video as simple as that

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

    Informative video

  • @harinadh3203
    @harinadh3203 4 роки тому +6

    These Videos are Masterpieces. Thanks a lot, from whole heart sir, for making such wonderful videos.

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

    I don’t know how to say thank you. Your work is community helping work. Great presentation and clarification on each question. I have checked all Java related videos. It’s a super duper...🙌🙌🙌🙌🙌🙌🙌

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

    Super thanks for sharing 👌🙏

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

    wonderful 👍🏻

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

    Excellent Explanation

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

    Well organized

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

    Great,, nice video with basics

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

    Very carefully designed! Loved it.

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

    this video is very helpful

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

    Nice video sir.. thanks👍

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

    Great video. V nicely explained. Thank you.

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

    Thanks for the sharing the knowledge ❤️
    Can we have more advanced level questions in Java 8 please..

  • @INDRAJEETkumar-yn4nx
    @INDRAJEETkumar-yn4nx 4 роки тому +1

    Awesome content

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

    very good video with precise and good explanation

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

    awesome content!!1 Love it !! great work keep it up !!

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

    hi Bro, hope all is good, didn't find any new video long time. waiting for a new series

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

    Very good explanation and easy to understand

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

    Content and explanation is good. Thank you

  • @SanjaySharma-jr3fi
    @SanjaySharma-jr3fi 2 роки тому

    Static method belongs only to Interface class, so you can only invoke static method on Interface class, not on class implementing this Interface

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

    I am using Java 11 and I tried the example above regarding NullPointerException and I created a String variable and assigned null to it and printed it on the console and it never threw an exception. Am I missing something?

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

    5:08 It says static methods can be "accessed via interface name or object of class implementing interface"
    Can you clarify what you mean by "object of class implementing interface"?
    Static methods are not inherited so I believe second way is not possible. Please confirm.

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

      Hey Vishnu, Thanks for finding out. It is not suitable in this case because we are talking about interfaces. I put because, i thought of the context, where you put method with same signature in class, you can access it from your class object. That seems to be kind of overriding method but exactly not true. Static belongs to class only.

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

    Very good and helpful video! Exactly as per the interview!
    I would like to suggest to make playlists for java, cloud and different interviews.

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

    Hi Thank you, you have explained all the topic very well ! would be better if you can create some java 8 interview video series with example that can help more ! any way nice tutorial you tried to cover all the concept in single video good job !

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

    Hi u did wonderful job but with programmatic explanation for all questions that will be next level session

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

    Clear explanations.

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

    thank u a lot, u r explanation also good

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

    Thanks buddy very good content ✌

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

    Even 2x look slow..? Any idea 3x

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

    Thanks for sharing, It's really good.

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

    thank you very much, a good teacher so far!

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

    excellent explanation

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

    Use need to use ; for every statement enclosed in {}, & better use Method reference for such simple direct action.
    list.forEach(System.out::println);
    or
    list.forEach(a -> System.out.println(a));
    By your explaination there is one more way to write the Lambda expression, as for single parameter () are not required like shown above.
    Plus, try to avoid using multiple statements in lambda expression using {}. Lambda expression is supposed to be a single line.

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

      Lambda are meant for Functional Interface and if you do anonymous implementation. If you are able to achieve single line statements in Lambda, it would be great w.r.t to code maintenance and readability.
      It can be achieve in some case like use of Comparator or Comparable but hard to achieve in projects. But good point to highlight.

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

    beautiful explanation..Thank you!

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

    Thanks a lot

  • @prashantsharma9858
    @prashantsharma9858 4 роки тому +4

    Though you covered all things nicely but Should explain with examples for better understanding.

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

      Hi @Prashant This is a interview video.So, i try to be as much concise. I will work on your suggestion. A new conceptual video would rather help more.

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

    Good Content!

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

    I thought I knew Java! 🤯

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

    thanks a lot, helpful

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

    Thank you, good content !

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

    Please provide this slide

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

    Subscribed

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

    Tutorial was great !! But you need to improve your presentational skills !!

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

    Dude! I had to watch this at 1.5X speed !

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

    iF WE USE WRONG CREDENTIALS FOR tERS AND CONDITIN THEN S

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

    Thanks.

  • @nitinagrawal6637
    @nitinagrawal6637 4 роки тому +4

    Content is good, but video starts with encouraging to do fraud like 'Yes, I have worked on Java8'. There is difference between I have practised Java8 or I have studied about Java8 for this interview.
    'default' was not introduced for the public directly, rather it was a side effect as new APIs needed to be added in the existing Java interfaces for Stream or Lambda etc. So they had to introduce 'default' concept else it would have broken many Java APIs & eventually many public APIs causing havoc, so to have the backward compatibility this was done & eventually this benefit was passed to the public.
    In lambda, multi lines are allowed, but need to think before using multi lines lambda expression.
    Optional is just a hard way by Java saying that if you don't do sensible coding to avoid 'NullPointerException' then I will try. Else before Java8 also, it was suggested not to return null values from the API, like for collections.

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

      many professional works on trending technologies but not able to prepare for an interview much in less time. consider these people as "yes". this guys is not bluffing instead help us to crack interview in a busy scheduled professional like me.

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

    I love lenskart

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

    5 mins video stretched to 30mins

  • @VikasJain-qd9sw
    @VikasJain-qd9sw 3 роки тому

    1.5 speed is apt

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

    Too much ads 🥱

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

    Change playback to 1.25x, Thank me later.🙂

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

    too many advertises & improve the content , & improve speed of vdo also,

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

    people fell asleep while watching the vedios

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

    Just say you have started learning java after 8 came out. So you don't know how it was before. Don't try to look perfect and know everything.

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

    Could you speak louder...

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

    Boring