Tricky java 8 interview questions on Functional Interface | Can we Override a Object class method ?

  Рет қаралды 15,303

Selenium Express

Selenium Express

Күн бұрын

Пікірлер: 55
@SeleniumExpress
@SeleniumExpress Жыл бұрын
Any functional interface that you have used from Spring? 🤔
@anilkrajamoni1484
@anilkrajamoni1484 Жыл бұрын
Function , Supplier , Predicate
@omit_krish
@omit_krish Жыл бұрын
​@@anilkrajamoni1484might be consumer also..! 😊
@jadduravi4708
@jadduravi4708 Жыл бұрын
Customizer
@santhoshchandran6952
@santhoshchandran6952 5 ай бұрын
Supplier Consumer Predicate
@jayakumarsivasankar9683
@jayakumarsivasankar9683 Жыл бұрын
Q1.I have used Predicate , Consumer , Function functional interfaces. Q2. Yes, we can have static and default methods in the functional interface. But only one abstract method. Q3.why functional interface ignores Object class method ? If a Class implements the interface having same method signature as in Object class , then by default every class extends Object class and it leads to conflict between the same methods defined in the object class and in the interface Please correct me if I'm wrong.
@ОлексійМоренець
@ОлексійМоренець 6 ай бұрын
I would say it doesn’t lead to conflict, rather in this case the Object’s method already has an implementation, so declaration of such method within the interface as abstract doesn’t have any sense
@rupeshswain4830
@rupeshswain4830 Жыл бұрын
Runnable interface, Consumer interface, Supplier interface is used in Functional interface but serializable interface , cloneable interface is used in Marker interface
@durgakothapalli7736
@durgakothapalli7736 Жыл бұрын
Please do more content like these. These are really helpful. Thank you for your videos
@AnhNguyen-z5u8o
@AnhNguyen-z5u8o Жыл бұрын
Thank you for uploading helpful and interestin video like this
@yespavan662
@yespavan662 Жыл бұрын
Hi Abhilash sir Can you please make videos on Java8 new features
@rajeswarijajam1221
@rajeswarijajam1221 Жыл бұрын
As the definition of functional interface no issue with default and static methods, and also pls make another vedio for this. Thanks abhilash
@srinivasperuri2189
@srinivasperuri2189 Жыл бұрын
Boss great video.Thani you guruji . provide more insight s on this topic guruji ..
@SaahilShaikh
@SaahilShaikh 11 ай бұрын
more tricky java questions please!
@suseesenthil417
@suseesenthil417 Жыл бұрын
Please upload more core java videos (to learn more solid foundations like your other videos)
@sivateja-ew1go
@sivateja-ew1go Жыл бұрын
Looking for more videos on java8 features with details explanation like this
@codippa
@codippa Жыл бұрын
Learn functional interface here: kzbin.info/www/bejne/p6nXqp-EbLtqg5I
@moeezahmed9774
@moeezahmed9774 Жыл бұрын
I had used Runnable for threads Serializable for cilent-server comminution
@DurgaShiva7574
@DurgaShiva7574 Жыл бұрын
amazing content, please make video for why was the object class methods were ignored by @functionalInterface annotation
@codippa
@codippa Жыл бұрын
Learn functional interface here: kzbin.info/www/bejne/p6nXqp-EbLtqg5I
@nikitamungane9492
@nikitamungane9492 Жыл бұрын
Please upload full series of java8 thank you!
@devakichaitanya4298
@devakichaitanya4298 Жыл бұрын
Comparable and Runnable interfaces, Equals method was ignored, plz make another video with more questions and answers
@AdityaKumar-cy2cr
@AdityaKumar-cy2cr Жыл бұрын
Please explain why "@overridden" methods are ignored
@anand_undavia
@anand_undavia Жыл бұрын
They are not actually "ignored" If an interface is a functional interface, then it means it would have one method, which is abstract and the implementation of that abstract method needs to defined by any class implementing the interface or any lambda. When your interface has any method which is present in Object class, because all the class are derived from Object class, when you create an implementation of that interface, you would not need to define any implementation of that method -- the implementation is already present in the parent Object class.
@abhishekverma6658
@abhishekverma6658 Жыл бұрын
Please explain more topics like this .
@Anupam_Biswas
@Anupam_Biswas Жыл бұрын
Hi, In your website there are no live batch. I want to join your spring boot with microservice batch
@akhilachary5749
@akhilachary5749 5 ай бұрын
bro can you give brief about predefined functional interfaces
@sidharthamishra7759
@sidharthamishra7759 Жыл бұрын
Please make a interview video on Java 8 features
@shubhammanecr7
@shubhammanecr7 Жыл бұрын
The methods present in object class cannot be used in any functional interface, because they are already present in each class by default.... if you wish to use them then the only solution is providing a new implementation that is by changing the name of the method or by adding some arguments (method overloading).
@neetusingh6647
@neetusingh6647 11 ай бұрын
more video on java 8 tricky questions
@naveenmekala3604
@naveenmekala3604 Жыл бұрын
Comparable contains compareTo() runnable contains run(),methods
@villagevibes8056
@villagevibes8056 Жыл бұрын
Yes we need other video
@donthamsettisai8229
@donthamsettisai8229 Жыл бұрын
Hi anna i want to watch all spring and spring boot related videos on your chaneel so how to acesss all your videos by paying the money.
@naveenmekala3604
@naveenmekala3604 Жыл бұрын
Comparable interface and runnable interface
@SeleniumExpress
@SeleniumExpress Жыл бұрын
Perfect !
@umamahesh214
@umamahesh214 Жыл бұрын
runnable and callable interface
@karthikpatnam-ki8yf
@karthikpatnam-ki8yf Жыл бұрын
predicate, function, consumer, supplier
@codippa
@codippa Жыл бұрын
You can learn about Predicate here: kzbin.info/www/bejne/porbkJKfrdqrfc0
@syedshafath2300
@syedshafath2300 7 ай бұрын
Runnable and Compareable
@amitbhagat1356
@amitbhagat1356 Жыл бұрын
Equals method will be ignored that's why it's not be candidate for functional interface
@sanketh768
@sanketh768 Жыл бұрын
Predicate, BiConsumer
@codippa
@codippa Жыл бұрын
You can learn about Predicate here: kzbin.info/www/bejne/porbkJKfrdqrfc0
@deadoralive8296
@deadoralive8296 Жыл бұрын
Happy Diwali 🪔
@ThankUAll4Support
@ThankUAll4Support 5 ай бұрын
Functional Interface only because you mentioned default and statis method that is valid process only.
@meevizagabbai
@meevizagabbai Жыл бұрын
Here i wanted to ask you one question regarding functional interface. Can functional interface implement any other functional interface or normal interface?
@slucky...
@slucky... 8 ай бұрын
No
@palanim499
@palanim499 2 ай бұрын
callable, runnable
@rajeswarijajam1221
@rajeswarijajam1221 Жыл бұрын
Consumer and predicate I know from ur vedios 😂😂😂
@sfgmbkmbksfg3722
@sfgmbkmbksfg3722 Жыл бұрын
God❤
@salmasultana8155
@salmasultana8155 Жыл бұрын
Udemyyyy😢😢😢😢
@shahidavalisyed487
@shahidavalisyed487 Жыл бұрын
.
@rajeswarijajam1221
@rajeswarijajam1221 Жыл бұрын
Consumer and predicate I know from ur vedios 😂😂😂
@SeleniumExpress
@SeleniumExpress Жыл бұрын
Cool ! 😀
@AdityaKumar-cy2cr
@AdityaKumar-cy2cr Жыл бұрын
can you pls provide me link of that video for the last question
Quilt Challenge, No Skills, Just Luck#Funnyfamily #Partygames #Funny
00:32
Family Games Media
Рет қаралды 55 МЛН
Каха и дочка
00:28
К-Media
Рет қаралды 3,4 МЛН
Mom Hack for Cooking Solo with a Little One! 🍳👶
00:15
5-Minute Crafts HOUSE
Рет қаралды 23 МЛН
When you have a very capricious child 😂😘👍
00:16
Like Asiya
Рет қаралды 18 МЛН
Functional Interface | Lambda Expression in Java
13:56
Telusko
Рет қаралды 164 М.
Microservices are Technical Debt
31:59
NeetCodeIO
Рет қаралды 725 М.
My 10 “Clean” Code Principles (Start These Now)
15:12
Conner Ardman
Рет қаралды 314 М.
Dependency Injection, The Best Pattern
13:16
CodeAesthetic
Рет қаралды 907 М.
Lambda Expressions in Java - Full Simple Tutorial
13:05
Coding with John
Рет қаралды 788 М.
Quilt Challenge, No Skills, Just Luck#Funnyfamily #Partygames #Funny
00:32
Family Games Media
Рет қаралды 55 МЛН