Static Method in Interface Java 8 | Code Decode [MOST IMPORTANT CORE JAVA INTERVIEW QUESTION]

  Рет қаралды 71,016

Code Decode

Code Decode

Күн бұрын

Пікірлер: 76
@praveennampelly3559
@praveennampelly3559 3 жыл бұрын
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
@CodeDecode
@CodeDecode 3 жыл бұрын
Sure 👍thanks for the suggestion
@hansirawat9322
@hansirawat9322 4 жыл бұрын
to the point. Could you please make video for stream with predicates for java 8? You're too good and conceptually clear.
@CodeDecode
@CodeDecode 4 жыл бұрын
sure. will make video in java 8 features soon.
@prapu5549
@prapu5549 Жыл бұрын
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)
@venkataramanramamurthy8718
@venkataramanramamurthy8718 4 жыл бұрын
A small suggestion, if you can disable the sound of your mouse click it would be better...
@rajinikanthmuddam6334
@rajinikanthmuddam6334 Жыл бұрын
Can you share GitHub links for all your examples
@chetanallannavar9637
@chetanallannavar9637 3 жыл бұрын
Great tutorial ..please make video for multithreading interview preparations
@CodeDecode
@CodeDecode 3 жыл бұрын
Sure will create video on that soon
@shubhamshinde524
@shubhamshinde524 2 жыл бұрын
please can you explain why static method of interface are not inherit in implementation class ?
@vipulansri5432
@vipulansri5432 4 ай бұрын
please are u doing class
@CodeDecode
@CodeDecode 4 ай бұрын
Not yet vipul. Difficult to take time out in week days as we all have office work too🙊
@PhateshVedhansh1221
@PhateshVedhansh1221 19 күн бұрын
Its not clear... Please say it clearly
@vandanac2244
@vandanac2244 Жыл бұрын
I have 1 doubt whether concrete interface can extend functional interface ?
@CodeDecode
@CodeDecode Жыл бұрын
Concrete are classes. Do you mean interface with all static methods?
@sriharikaranam3330
@sriharikaranam3330 3 жыл бұрын
Hi, Can you create a play list on streams / functions / consumer etc., how it utilizes and creates memory on JVM compared to standard approach.?
@sriharikaranam3330
@sriharikaranam3330 3 жыл бұрын
How JVM responds for standard approach and functional approach.?
@CodeDecode
@CodeDecode 3 жыл бұрын
It's already there Srihari. 🙂
@CodeDecode
@CodeDecode 3 жыл бұрын
kzbin.info/aero/PLyHJZXNdCXsdeusn4OM33415DCMQ6sUKy
@CodeDecode
@CodeDecode 3 жыл бұрын
Sure will create videos on rest topics too soon 👍👍
@phanimadhuri4087
@phanimadhuri4087 3 жыл бұрын
Great explanation.I see many videos for each topic,but your content is easy to understand,realistic.
@CodeDecode
@CodeDecode 3 жыл бұрын
Thanks Phani 🙏👍🙂🙂
@AbhishekKumar-md4ul
@AbhishekKumar-md4ul 3 жыл бұрын
got rejected 2 times, because i din't knew this. Thank you.for this
@CodeDecode
@CodeDecode 3 жыл бұрын
You're welcome abhishek....
@ankitratnani6602
@ankitratnani6602 2 жыл бұрын
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?
@aamirbinusman8416
@aamirbinusman8416 Жыл бұрын
It is overrided but definition is not changed it is same
@SwaMayu
@SwaMayu 3 жыл бұрын
Great content... Helped to understand java 8...i am unable to find parallel stream in details.. Could you please help me with link?
@CodeDecode
@CodeDecode 3 жыл бұрын
Hi Swati, kzbin.info/aero/PLyHJZXNdCXsdeusn4OM33415DCMQ6sUKy This is link for all java 8 videos we have created till now
@kirane5911
@kirane5911 Жыл бұрын
Very good video madam. Thank you so much for good explanation
@CodeDecode
@CodeDecode Жыл бұрын
Thanks Kirane 😊👍
@bhaveshsachanandani5704
@bhaveshsachanandani5704 2 жыл бұрын
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?
@Raj-ql2vz
@Raj-ql2vz 2 жыл бұрын
msg me
@karthickselvam3938
@karthickselvam3938 3 жыл бұрын
Nice explanation... Have one doubt... what is the difference between static method and final method...
@CodeDecode
@CodeDecode 3 жыл бұрын
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.
@karthickselvam3938
@karthickselvam3938 3 жыл бұрын
@@CodeDecode thank you 😊
@aabhinav
@aabhinav 3 жыл бұрын
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..
@negi.priyanka
@negi.priyanka 3 жыл бұрын
yes exactly I have the same doubt. @Code Decode Please explain.
@NaveenKumar-ls9ug
@NaveenKumar-ls9ug 3 жыл бұрын
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
@VinodSamudrala63
@VinodSamudrala63 Жыл бұрын
Hi Can you please provide some Realtime scenario where we exactly write static methods in interface.
@CodeDecode
@CodeDecode Жыл бұрын
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
@VinodSamudrala63
@VinodSamudrala63 Жыл бұрын
@@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.
@CodeDecode
@CodeDecode Жыл бұрын
Thanks Vinod. Classes are costly in terms of memory n performance. Hence interface is anytime a best choice👍
@youneskhouna
@youneskhouna 2 ай бұрын
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
@prashant1617
@prashant1617 3 жыл бұрын
Really good content .. 👏
@CodeDecode
@CodeDecode 3 жыл бұрын
Thank you ...
@shrikantshelar5044
@shrikantshelar5044 3 жыл бұрын
Please make a video on the difference between abstract classes and interfaces in java 8
@CodeDecode
@CodeDecode 3 жыл бұрын
Sure we'll create video for the same
@shobhitagarwal8151
@shobhitagarwal8151 3 жыл бұрын
Please upload a video on Optional class in java 8
@CodeDecode
@CodeDecode 3 жыл бұрын
Sure
@EasyTechStudios
@EasyTechStudios 4 жыл бұрын
Thank You !
@SriKanth-rg4cf
@SriKanth-rg4cf 10 ай бұрын
Tq u for helping me to write my exam with some confidence 🫶💚
@CodeDecode
@CodeDecode 10 ай бұрын
All the best Srikanth 👍👍
@animeshnaik2345
@animeshnaik2345 2 жыл бұрын
A great help...thanks....and nice sweet voice!!🙌😅
@susmidhapl497
@susmidhapl497 3 жыл бұрын
Can you explain stream Api indepth..most of the interviewer asking
@susmidhapl497
@susmidhapl497 3 жыл бұрын
Your explanation is very clear and neat ..easy to understand
@CodeDecode
@CodeDecode 3 жыл бұрын
It's already uploaded on channel
@CodeDecode
@CodeDecode 3 жыл бұрын
Java 8 Interview Questions(New Features): kzbin.info/aero/PLyHJZXNdCXsdeusn4OM33415DCMQ6sUKy
@CodeDecode
@CodeDecode 3 жыл бұрын
Here is what you require 👍 Please let us know if u need any thing else
@susmidhapl497
@susmidhapl497 3 жыл бұрын
Create video for multi threading
@CodeDecode
@CodeDecode 3 жыл бұрын
Sure
@abhishekgowlikar
@abhishekgowlikar Жыл бұрын
Great video on Java 8 feature.
@CodeDecode
@CodeDecode Жыл бұрын
Thanks
@jibinjames5128
@jibinjames5128 2 жыл бұрын
Thanks
@CodeDecode
@CodeDecode 2 жыл бұрын
🙂👍
@ashishrahate4074
@ashishrahate4074 3 жыл бұрын
Hi, is this concept also called Functional interface??
@harshpalsingh1145
@harshpalsingh1145 2 жыл бұрын
No, functional interface are the ones containing only one method. And this method has to be non-static.
@paridadeepika
@paridadeepika Жыл бұрын
very helpful....
@dhanushMaari458
@dhanushMaari458 4 жыл бұрын
Nice voice
@CodeDecode
@CodeDecode 4 жыл бұрын
Thanks :)
@dhanushMaari458
@dhanushMaari458 4 жыл бұрын
@@CodeDecode I love the voice
@Atul_Shegokar
@Atul_Shegokar 3 жыл бұрын
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
@CodeDecode
@CodeDecode 3 жыл бұрын
🙂🙂Thanks Atul. We are glad we were able to help u out. Sure we will upload optional video 👍
@mayuriwankhade574
@mayuriwankhade574 3 жыл бұрын
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
@CodeDecode
@CodeDecode 3 жыл бұрын
Nice topics Mayuri will surely create a video on that 👍👍
@arishsheikh3000
@arishsheikh3000 11 ай бұрын
Superb tutorial ma'am
@CodeDecode
@CodeDecode 11 ай бұрын
Thanks
Running With Bigger And Bigger Lunchlys
00:18
MrBeast
Рет қаралды 114 МЛН
Which One Is The Best - From Small To Giant #katebrush #shorts
00:17
Electric Flying Bird with Hanging Wire Automatic for Ceiling Parrot
00:15
Method Reference in Java 8
21:06
Telusko
Рет қаралды 184 М.
08. Static and Default Methods - Java 8 Interview Questions
12:56
Ankit Wasankar
Рет қаралды 6 М.
Running With Bigger And Bigger Lunchlys
00:18
MrBeast
Рет қаралды 114 МЛН