Thanks for sharing knowledge. I have query for you about functionaldemo interface. I think, this is our own functional interface created and having default method only (no single abstract method).But as per steps to create our own functional interface. There should have exact one abstract method. Could you pls tell w/o abstract method and having default method is right ?
Functional interface can have only and exact 1 abstract method. Can have any no of default methods. If you extend any other interface, it's abstract method is also considered. Check if functional demo extends any other interface?
Hi @code Decode. It's really amazing you simply elaborate all thing. Understand really well. Please request you to upload the Microservices interview questions and answers.
Thanks for this amazing tutorial. Can you please clear a doubt. In the Diamond problem,when 2 interfaces are using default method with same signature and the Main class is implementing both interfaces , then why there is a compile time error. Because its not necessary that default methods have to be overridden , they why JAVA is throwing compiler error.
Hi Khushank, that's because if two interfaces (aquatic animals, terrestrial animals)have same default methods( aquatic animal lives in water, terrestrial animal lives on land) If ur class implements both then it will use which method to live? In water or on land.
Please create a video for interview questions on predicate, consumers, suppliers, streams, and other remaining features of Java 8. Your teaching skills are by far the best I have seen on any other coding channels. Keep posting such fantastic stuff. It's best for both to brush up on existing topics as well as getting to know a new topic. Thumps up for the code walkthrough n demo against each topic!
Hi team CodeDecode. Just wanted to let you know your videos are absolute GOLD! I used to just watch your videos and practice the concepts explained. Within no time i was so confident that I cracked interviews of multiple companies in 1 go. Extremely useful , well explained, crisp, informative and very well put together videos! Keep up the good work. God bless! THANKYOU AGAIN!
It will be helpful for us if u make a seperate video on concepts and interview questions. The way you explain is awesome. Can't thank you enough for your efforts.
You have mentioned about not having to create object for calling static methods from interface we don’t have to create object for calling static method in class right
For a class: If no access modifier is specified for a class or its data members or variables, it has default (package-private) access. For an interface: If no access modifier is specified for an interface, the interface itself is public, and its methods (including default methods) are implicitly public. This means that they are accessible from anywhere.
Hi i also want to become teacher for java, Can you guide me.. how to start this journey.. I am also very passionate learner .. thanks a lot nd please reply
You want to start RU-vid channel for community? You can create a channel and start putting videos on that. Please contact us on our business email id or slack id given in description of the channel for any help needed
You have shown diamond problem with interface name but in examole it will pri t interface default method so how an we override the interface1 method in class to print specific class wise implementation not interface wise implementation
Thanks 😊. We apologies for not being able to share PPT because of copyright issues. These ppt have links to blogs, books we refer. Sharing them will give us copy right notices. Really sorry for inconvenience caused
Thank you so much for this wonderful explanation. Your videos are really helpful, some way your videos are really having a good impact on those who want a clear explanation. Hats of to you ma'am
I have watch this WOMAN, many times over and over and she is the GREATEST. #1 SUCCINCT #2 CLEAR #3 EXAMPLES ---- I can go on and on. I only have one question, EVERYONE ELSE HAS ASKED!!! many times in her other videos. Who is this BRILLIANT WOMAN???
please create video on predicate function consumer and supplier and all .... Thank you so much for making these kind of video and every thing if you will talk on the basis performance and time duration like if we are calling stream foreach or map how much time it will reduce and how much performance it will improve. It will help us on development and we can start thinking like an architect...
you are doing great work mam. all the videos of interview related is good to recall or newly to understand with your practical teaching style.but can you just like sort your interview playlist according to an order base like core,advance, framework,database so that it will be more convenient to acces such great content.
Nice question. Answer is that creating class in Java is costlier in terms of memory and performance. Hence interface is a better choice. You can extend only one class but multiple interfaces. Hence interface is better.
@@CodeDecode I mean financial support.. youtube has introduced a feature called "Applaud" where people can donate certain amount per video, start from 40 to 1000. People who find your videos helpful van contribute financially as well.
Thats very nice of you . But I think applaud feature is under testing and has been available to some creators only. But we will sure check and apply it to our channel. Also we will enable the Join button in upcoming days. Really sorry for the late reply we don't know how but we missed it....
Ur doing Amazing. Bt What u explain for dimond problem is not that much correct. Is it really possible in real time to change override and change the Interface name every time?
Hey I am following all your videos ..... good to refresh my memory. Can you do more videos on micro services, Gcp, and please provide some real time examples and lifecycle.....also some content on how applications gets deployed/runs in cloud and on prem in real time will be help full to us
0:18 What are default methods? 4:36 is it necessary to override default method? 5:24 Is default keyword an access modifier?" 10:07 how to override default methods? 10:16 can you use hashcode() default implementation in interface? 13:16 how default methods interface solve diamond problem? ? 17:07 why static methods were introduced in java 8? 20:20 Are static methods available to implementing classes by default?
Thank you mam for these videos. I am a java resource but new to Java 8. Wanted to have an idea of Java 8 before attending interviews. this video helped a lot.
in Diamond problem for default method , I want to override and not use DiamondProbleInterface2.super.m1() or DiamondProbleInterface1.super.m1() then how we can override...?
awesome explanation way with practically Thank -you mam, please keep it up making video on some adavance technologies like spring boot and microservices etc..........
Hi Madam, Thank you for detailed explanation. One doubt is if we define static methods in class, we don't need create objects to call it. So creating them in interface how it will improve performance? And I like to use Utility methods from anywhere in project but in this scenario we need to implement interfaces to access them.
Thank you so much for making and sharing these valuable videos for us in youtube. We really appreciate your great efforts. Please keep up your great job. Thanks a lot!
Really impressed and addicted to your teaching style,the best part is you are showing the concepts through demo.....Commendable job and you are truly educating all of us with your teaching skills.....thank you so much for your dedication and hardwork