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

  Рет қаралды 64,973

Code Decode

Code Decode

4 жыл бұрын

In this video of code decode we have explained java 8 static method with example
Static Method in Interface Java 8 || Java 8 Static method in Interface [MOST IMP INTERVIEW QUESTION]
Udemy Course of Code Decode on Microservice k8s AWS CICD link:
openinapp.co/udemycourse
Course Description Video :
yt.openinapp.co/dmjvd
Static method in Interface java 8,
Static method in java,
java Static method in Interface,
use of static method in interface java 8,
static method in java in hindi,
java 8 static method in interface,
default and static methods in interfaces in java 8,
default and static methods in interfaces in java 8
Most Asked Core Java Interview Questions and Answers: • Core Java frequently a...
Advance Java Interview Questions and Answers: • Advance Java Interview...
Java 8 Interview Questions and Answers: • Java 8 Interview Quest...
Hibernate Interview Questions and Answers:
• Hibernate Interview Qu...
Spring Boot Interview Questions and Answers:
• Advance Java Interview...
Angular Playlist: • Angular Course Introdu...
SQL Playlist: • SQL Interview Question...
GIT: • GIT
Subscriber and Follow Code Decode
Subscriber Code Decode: kzbin.info?...
LinkedIn : / codedecodeyoutube
Instagram: / codedecode25
#codedecode #java8 #staticmethod

Пікірлер: 74
@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 🙏👍🙂🙂
@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)
@animeshnaik2345
@animeshnaik2345 Жыл бұрын
A great help...thanks....and nice sweet voice!!🙌😅
@hansirawat9322
@hansirawat9322 3 жыл бұрын
to the point. Could you please make video for stream with predicates for java 8? You're too good and conceptually clear.
@CodeDecode
@CodeDecode 3 жыл бұрын
sure. will make video in java 8 features soon.
@venkataramanramamurthy8718
@venkataramanramamurthy8718 3 жыл бұрын
A small suggestion, if you can disable the sound of your mouse click it would be better...
@paridadeepika
@paridadeepika 11 ай бұрын
very helpful....
@EasyTechStudios
@EasyTechStudios 4 жыл бұрын
Thank You !
@chetanallannavar9637
@chetanallannavar9637 3 жыл бұрын
Great tutorial ..please make video for multithreading interview preparations
@CodeDecode
@CodeDecode 3 жыл бұрын
Sure will create video on that soon
@kirane5911
@kirane5911 Жыл бұрын
Very good video madam. Thank you so much for good explanation
@CodeDecode
@CodeDecode Жыл бұрын
Thanks Kirane 😊👍
@abhishekgowlikar
@abhishekgowlikar 11 ай бұрын
Great video on Java 8 feature.
@CodeDecode
@CodeDecode 11 ай бұрын
Thanks
@prashant1617
@prashant1617 3 жыл бұрын
Really good content .. 👏
@CodeDecode
@CodeDecode 3 жыл бұрын
Thank you ...
@shubhamshinde524
@shubhamshinde524 2 жыл бұрын
please can you explain why static method of interface are not inherit in implementation class ?
@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
@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 Жыл бұрын
msg me
@Atul_Shegokar
@Atul_Shegokar 2 жыл бұрын
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 2 жыл бұрын
🙂🙂Thanks Atul. We are glad we were able to help u out. Sure we will upload optional video 👍
@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 👍👍
@SwaMayu
@SwaMayu 2 жыл бұрын
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 2 жыл бұрын
Hi Swati, kzbin.info/aero/PLyHJZXNdCXsdeusn4OM33415DCMQ6sUKy This is link for all java 8 videos we have created till now
@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
@ankitratnani6602
@ankitratnani6602 Жыл бұрын
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
@AbhishekKumar-md4ul
@AbhishekKumar-md4ul 2 жыл бұрын
got rejected 2 times, because i din't knew this. Thank you.for this
@CodeDecode
@CodeDecode 2 жыл бұрын
You're welcome abhishek....
@rajinikanthmuddam6334
@rajinikanthmuddam6334 Жыл бұрын
Can you share GitHub links for all your examples
@shobhitagarwal8151
@shobhitagarwal8151 3 жыл бұрын
Please upload a video on Optional class in java 8
@CodeDecode
@CodeDecode 3 жыл бұрын
Sure
@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
@mayuriwankhade574
@mayuriwankhade574 2 жыл бұрын
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 2 жыл бұрын
Nice topics Mayuri will surely create a video on that 👍👍
@karthickselvam3938
@karthickselvam3938 2 жыл бұрын
Nice explanation... Have one doubt... what is the difference between static method and final method...
@CodeDecode
@CodeDecode 2 жыл бұрын
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 2 жыл бұрын
@@CodeDecode thank you 😊
@jibinjames5128
@jibinjames5128 2 жыл бұрын
Thanks
@CodeDecode
@CodeDecode 2 жыл бұрын
🙂👍
@vipulansri5432
@vipulansri5432 Ай бұрын
please are u doing class
@CodeDecode
@CodeDecode Ай бұрын
Not yet vipul. Difficult to take time out in week days as we all have office work too🙊
@vandanac2244
@vandanac2244 10 ай бұрын
I have 1 doubt whether concrete interface can extend functional interface ?
@CodeDecode
@CodeDecode 10 ай бұрын
Concrete are classes. Do you mean interface with all static methods?
@SriKanth-rg4cf
@SriKanth-rg4cf 7 ай бұрын
Tq u for helping me to write my exam with some confidence 🫶💚
@CodeDecode
@CodeDecode 7 ай бұрын
All the best Srikanth 👍👍
@susmidhapl497
@susmidhapl497 3 жыл бұрын
Create video for multi threading
@CodeDecode
@CodeDecode 3 жыл бұрын
Sure
@ashishrahate4074
@ashishrahate4074 2 жыл бұрын
Hi, is this concept also called Functional interface??
@harshpalsingh1145
@harshpalsingh1145 Жыл бұрын
No, functional interface are the ones containing only one method. And this method has to be non-static.
@arishsheikh3000
@arishsheikh3000 8 ай бұрын
Superb tutorial ma'am
@CodeDecode
@CodeDecode 8 ай бұрын
Thanks
@dhanushMaari458
@dhanushMaari458 4 жыл бұрын
Nice voice
@CodeDecode
@CodeDecode 4 жыл бұрын
Thanks :)
@dhanushMaari458
@dhanushMaari458 4 жыл бұрын
@@CodeDecode I love the voice
@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👍
@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
Wait for the last one! 👀
00:28
Josh Horton
Рет қаралды 121 МЛН
Always be more smart #shorts
00:32
Jin and Hattie
Рет қаралды 40 МЛН
Static vs Non-Static Variables and Methods In Java - Full Simple Tutorial
11:29
Lambda Expressions in Java - Full Simple Tutorial
13:05
Coding with John
Рет қаралды 710 М.
YOTAPHONE 2 - СПУСТЯ 10 ЛЕТ
15:13
ЗЕ МАККЕРС
Рет қаралды 138 М.
1$ vs 500$ ВИРТУАЛЬНАЯ РЕАЛЬНОСТЬ !
23:20
GoldenBurst
Рет қаралды 1,4 МЛН
💅🏻Айфон vs Андроид🤮
0:20
Бутылочка
Рет қаралды 742 М.
Lid hologram 3d
0:32
LEDG
Рет қаралды 10 МЛН
Ультрабюджетная игровая мышь? 💀
1:00