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.
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...🙌🙌🙌🙌🙌🙌🙌
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?
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.
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.
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 !
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.
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.
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.
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.
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.
As experienced java developer I recommended java8 learner to follow this video. I learned from this video as simple as that
Informative video
These Videos are Masterpieces. Thanks a lot, from whole heart sir, for making such wonderful videos.
InstaBlaster...
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...🙌🙌🙌🙌🙌🙌🙌
Super thanks for sharing 👌🙏
wonderful 👍🏻
Excellent Explanation
Well organized
Great,, nice video with basics
Very carefully designed! Loved it.
this video is very helpful
Nice video sir.. thanks👍
Great video. V nicely explained. Thank you.
Thanks for the sharing the knowledge ❤️
Can we have more advanced level questions in Java 8 please..
Awesome content
very good video with precise and good explanation
Glad you liked it!
awesome content!!1 Love it !! great work keep it up !!
hi Bro, hope all is good, didn't find any new video long time. waiting for a new series
Very good explanation and easy to understand
Content and explanation is good. Thank you
Static method belongs only to Interface class, so you can only invoke static method on Interface class, not on class implementing this Interface
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?
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.
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.
Very good and helpful video! Exactly as per the interview!
I would like to suggest to make playlists for java, cloud and different interviews.
Noted! Stay tuned
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 !
Hi u did wonderful job but with programmatic explanation for all questions that will be next level session
Yes, soon
Clear explanations.
thank u a lot, u r explanation also good
Thanks buddy very good content ✌
Even 2x look slow..? Any idea 3x
Thanks for sharing, It's really good.
Glad you like it!
thank you very much, a good teacher so far!
excellent explanation
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.
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.
beautiful explanation..Thank you!
Thanks a lot
Though you covered all things nicely but Should explain with examples for better understanding.
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.
Good Content!
I thought I knew Java! 🤯
thanks a lot, helpful
Glad it helped!
Thank you, good content !
Please provide this slide
Subscribed
Tutorial was great !! But you need to improve your presentational skills !!
Dude! I had to watch this at 1.5X speed !
iF WE USE WRONG CREDENTIALS FOR tERS AND CONDITIN THEN S
Thanks.
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.
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.
I love lenskart
5 mins video stretched to 30mins
Genius spotted
1.5 speed is apt
Too much ads 🥱
Change playback to 1.25x, Thank me later.🙂
@ We are working on sound quality. Hope new videos would not disappoint. Thanks :P
too many advertises & improve the content , & improve speed of vdo also,
people fell asleep while watching the vedios
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.
Could you speak louder...
Boring
Stupid