Great Video! Few doubts from my end. If we are having default and static method dosent it affect the 100% abstraction rule of interface? Second if we have one abstract and one default method in the interface, dow we need to implement the deafault method also in the class implementing the interface? (Understood static method need not since it cannot be inherited)
great explanation , i just have a questiion about using static methods for utility needs, i think that all utilities methods should be in a class not interface , because definiton f static methods means that we are gooin t to reuse this methodes without instancatiton of the class , hence the interface cant be instancitated . btut fo the need 1 about commun and security issues i agree . thank u
Please don’t take examples from previous videos coz, if I am watching this videos for the first time I really don’t understand the code you explained. Take small and independent example for the current video so that even though people are watching for the first time will get understand the example
Maam, you told Static methods of Interface cannot be overridden 1:34 , but Frog class did override the static livesIn() method, of AquaticAnimal Interface here 5:21...could you clarify this a little..
livesIn() method in Frog class is not a overridden method. It becomes a non static method of Frog class when we made the livesIn() of Aquatic Animal interface. Also we cannot override a static method in child class known as method hiding
Final method can't be overriding, if we make a method final, we can't override it. Static methods are class level methods, it's loaded during class load.
Hi your videos are really helping to get concept clarified thanks for efforts you are putting in . Can you please suggest few scenario based interview questions e.g. How to design pizza system where once 5 pizza bases are ready then only sause should be poured on it . Please help with solution
Say we want some utility methods. We used to create class. Then create static methods then call them with class name. Rather than creating class you can now use interface
@@CodeDecode Thank you for replying !! I appreciate your help... Coming to the point Still we are calling that static method with interface name here What is the advantage I am not clear.
Great Video! Few doubts from my end. If we are having default and static method dosent it affect the 100% abstraction rule of interface?
Second if we have one abstract and one default method in the interface, dow we need to implement the deafault method also in the class implementing the interface? (Understood static method need not since it cannot be inherited)
great explanation , i just have a questiion about using static methods for utility needs, i think that all utilities methods should be in a class not interface , because definiton f static methods means that we are gooin t to reuse this methodes without instancatiton of the class , hence the interface cant be instancitated . btut fo the need 1 about commun and security issues i agree . thank u
A small suggestion, if you can disable the sound of your mouse click it would be better...
to the point. Could you please make video for stream with predicates for java 8? You're too good and conceptually clear.
sure. will make video in java 8 features soon.
Great explanation.I see many videos for each topic,but your content is easy to understand,realistic.
Thanks Phani 🙏👍🙂🙂
Very good video madam. Thank you so much for good explanation
Thanks Kirane 😊👍
please can you explain why static method of interface are not inherit in implementation class ?
Great tutorial ..please make video for multithreading interview preparations
Sure will create video on that soon
As you said that static method can not be override but at 5:19 , livesIn is static method and overriden in Frog class. Can you explain how?
It is overrided but definition is not changed it is same
Great video on Java 8 feature.
Thanks
Please don’t take examples from previous videos coz, if I am watching this videos for the first time I really don’t understand the code you explained. Take small and independent example for the current video so that even though people are watching for the first time will get understand the example
Sure 👍thanks for the suggestion
Maam, you told Static methods of Interface cannot be overridden 1:34 , but Frog class did override the static livesIn() method, of AquaticAnimal Interface here 5:21...could you clarify this a little..
yes exactly I have the same doubt. @Code Decode Please explain.
livesIn() method in Frog class is not a overridden method.
It becomes a non static method of Frog class when we made the livesIn() of Aquatic Animal interface.
Also we cannot override a static method in child class known as method hiding
Nice Video. Can you tell if we can declare and define static main method inside an interface? If yes then what will be the usage of it?
msg me
Great content... Helped to understand java 8...i am unable to find parallel stream in details.. Could you please help me with link?
Hi Swati,
ruclips.net/p/PLyHJZXNdCXsdeusn4OM33415DCMQ6sUKy
This is link for all java 8 videos we have created till now
I have 1 doubt whether concrete interface can extend functional interface ?
Concrete are classes. Do you mean interface with all static methods?
Nice explanation... Have one doubt... what is the difference between static method and final method...
Final method can't be overriding, if we make a method final, we can't override it. Static methods are class level methods, it's loaded during class load.
@@CodeDecode thank you 😊
I was looking for this everyone but I got exact answer here. Thanks you Ma'am. if possible
Please upload a video on Optional class in java 8
🙂🙂Thanks Atul. We are glad we were able to help u out. Sure we will upload optional video 👍
Hi, Can you create a play list on streams / functions / consumer etc., how it utilizes and creates memory on JVM compared to standard approach.?
How JVM responds for standard approach and functional approach.?
It's already there Srihari. 🙂
ruclips.net/p/PLyHJZXNdCXsdeusn4OM33415DCMQ6sUKy
Sure will create videos on rest topics too soon 👍👍
A great help...thanks....and nice sweet voice!!🙌😅
Really good content .. 👏
Thank you ...
got rejected 2 times, because i din't knew this.
Thank you.for this
You're welcome abhishek....
Hi your videos are really helping to get concept clarified thanks for efforts you are putting in . Can you please suggest few scenario based interview questions e.g. How to design pizza system where once 5 pizza bases are ready then only sause should be poured on it . Please help with solution
Nice topics Mayuri will surely create a video on that 👍👍
Hi Can you please provide some Realtime scenario where we exactly write static methods in interface.
Say we want some utility methods. We used to create class. Then create static methods then call them with class name. Rather than creating class you can now use interface
@@CodeDecode
Thank you for replying !! I appreciate your help...
Coming to the point
Still we are calling that static method with interface name here
What is the advantage I am not clear.
Thanks Vinod. Classes are costly in terms of memory n performance. Hence interface is anytime a best choice👍
very helpful....
Please make a video on the difference between abstract classes and interfaces in java 8
Sure we'll create video for the same
Hi, is this concept also called Functional interface??
No, functional interface are the ones containing only one method. And this method has to be non-static.
Thank You !
Can you share GitHub links for all your examples
Please upload a video on Optional class in java 8
Sure
Can you explain stream Api indepth..most of the interviewer asking
Your explanation is very clear and neat ..easy to understand
It's already uploaded on channel
Java 8 Interview Questions(New Features): ruclips.net/p/PLyHJZXNdCXsdeusn4OM33415DCMQ6sUKy
Here is what you require 👍
Please let us know if u need any thing else
Thanks
🙂👍
Tq u for helping me to write my exam with some confidence 🫶💚
All the best Srikanth 👍👍
please are u doing class
Not yet vipul. Difficult to take time out in week days as we all have office work too🙊
Nice voice
Thanks :)
@@CodeDecode I love the voice
Create video for multi threading
Sure
Its not clear... Please say it clearly
Superb tutorial ma'am
Thanks