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

  Рет қаралды 12,429

Selenium Express

Selenium Express

Күн бұрын

In this video we will discuss about some tricky java 8 interview questions on Functional interface. We will discuss some use-cases based on method overloading and method overriding with respect to object class methods.
Timestamp:
-----
00:00 - Marker Interface vs functional Interface
02:52 - Can we override a Object class Method inside functional Interface?
#javainterview #javainterviewquestions
For more free/paid courses visit
www.seleniumexpress.com
LINKS AND FREE LEARNING RESOURCES
========
Watch my new mock interview series for java developers
• Java interview questio...
Watch my new Hello spring boot series
• Spring Vs Spring Boot ...
Watch Spring boot Hot topics
• @Reposicotry Vs @Servi...
Java Interview / Question and Answer series
• Java collections inter...
Explain spring Bean Lifecycle
• REAL-TIME: Spring Bean...
spring core
• Spring framework tutor...
spring mvc
• Spring MVC course intr...
spring mvc intermediate
• [INTERMEDIATE] Spring ...
Spring JDBC
• Spring JDBC Course Pre...
spring live project
• #1 Build and Deploy A ...
SPRING SECURITY COURSE[NEW]
• Spring Security Course...
For more courses visit
www.seleniumexpress.com
Any time you are getting stuck with issues, Feel free to ask for support.
You can send mail to seleniumexpress@gmail.com
you can ping me on my Facebook page
/ seleniumexpress
Make sure to join my private Facebook page (Ask me here)
“SeleniumExpress - Support"
/ 187000222361579
you can ask for support in my website forum
www.seleniumexpress.com
Subscribe to my youtube channel
/ @seleniumexpress
Follow me on Insta
/ selenium_express

Пікірлер: 50
@SeleniumExpress
@SeleniumExpress 7 ай бұрын
Any functional interface that you have used from Spring? 🤔
@anilkrajamoni1484
@anilkrajamoni1484 6 ай бұрын
Function , Supplier , Predicate
@muralikrishna6044
@muralikrishna6044 6 ай бұрын
​@@anilkrajamoni1484might be consumer also..! 😊
@jadduravi4708
@jadduravi4708 6 ай бұрын
Customizer
@jayakumarsivasankar9683
@jayakumarsivasankar9683 7 ай бұрын
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.
@durgakothapalli7736
@durgakothapalli7736 6 ай бұрын
Please do more content like these. These are really helpful. Thank you for your videos
@user-ui1qi9xt6j
@user-ui1qi9xt6j 7 ай бұрын
Thank you for uploading helpful and interestin video like this
@rupeshswain4830
@rupeshswain4830 7 ай бұрын
Runnable interface, Consumer interface, Supplier interface is used in Functional interface but serializable interface , cloneable interface is used in Marker interface
@srinivasperuri2189
@srinivasperuri2189 7 ай бұрын
Boss great video.Thani you guruji . provide more insight s on this topic guruji ..
@SaahilShaikh
@SaahilShaikh 4 ай бұрын
more tricky java questions please!
@abhishekverma6658
@abhishekverma6658 7 ай бұрын
Please explain more topics like this .
@rajeswarijajam1221
@rajeswarijajam1221 7 ай бұрын
As the definition of functional interface no issue with default and static methods, and also pls make another vedio for this. Thanks abhilash
@suseesenthil417
@suseesenthil417 7 ай бұрын
Please upload more core java videos (to learn more solid foundations like your other videos)
@yespavan662
@yespavan662 7 ай бұрын
Hi Abhilash sir Can you please make videos on Java8 new features
@moeezahmed9774
@moeezahmed9774 7 ай бұрын
I had used Runnable for threads Serializable for cilent-server comminution
@nikitamungane9492
@nikitamungane9492 7 ай бұрын
Please upload full series of java8 thank you!
@villagevibes8056
@villagevibes8056 7 ай бұрын
Yes we need other video
@sidharthamishra7759
@sidharthamishra7759 7 ай бұрын
Please make a interview video on Java 8 features
@devakichaitanya4298
@devakichaitanya4298 7 ай бұрын
Comparable and Runnable interfaces, Equals method was ignored, plz make another video with more questions and answers
@sivateja-ew1go
@sivateja-ew1go 7 ай бұрын
Looking for more videos on java8 features with details explanation like this
@codippa
@codippa 6 ай бұрын
Learn functional interface here: kzbin.info/www/bejne/p6nXqp-EbLtqg5I
@DurgaShiva7574
@DurgaShiva7574 7 ай бұрын
amazing content, please make video for why was the object class methods were ignored by @functionalInterface annotation
@codippa
@codippa 6 ай бұрын
Learn functional interface here: kzbin.info/www/bejne/p6nXqp-EbLtqg5I
@neetusingh6647
@neetusingh6647 4 ай бұрын
more video on java 8 tricky questions
@naveenmekala3604
@naveenmekala3604 7 ай бұрын
Comparable contains compareTo() runnable contains run(),methods
@Anupam_Biswas
@Anupam_Biswas 7 ай бұрын
Hi, In your website there are no live batch. I want to join your spring boot with microservice batch
@sfgmbkmbksfg3722
@sfgmbkmbksfg3722 7 ай бұрын
God❤
@donthamsettisai8229
@donthamsettisai8229 7 ай бұрын
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.
@umamahesh214
@umamahesh214 7 ай бұрын
runnable and callable interface
@AdityaKumar-cy2cr
@AdityaKumar-cy2cr 7 ай бұрын
Please explain why "@overridden" methods are ignored
@9429963654
@9429963654 6 ай бұрын
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.
@shubhammanecr7
@shubhammanecr7 5 ай бұрын
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).
@syedshafath2300
@syedshafath2300 8 күн бұрын
Runnable and Compareable
@karthikpatnam-ki8yf
@karthikpatnam-ki8yf 7 ай бұрын
predicate, function, consumer, supplier
@codippa
@codippa 6 ай бұрын
You can learn about Predicate here: kzbin.info/www/bejne/porbkJKfrdqrfc0
@naveenmekala3604
@naveenmekala3604 7 ай бұрын
Comparable interface and runnable interface
@SeleniumExpress
@SeleniumExpress 7 ай бұрын
Perfect !
@amitbhagat1356
@amitbhagat1356 7 ай бұрын
Equals method will be ignored that's why it's not be candidate for functional interface
@meevizagabbai
@meevizagabbai 7 ай бұрын
Here i wanted to ask you one question regarding functional interface. Can functional interface implement any other functional interface or normal interface?
@slucky...
@slucky... Ай бұрын
No
@sanketh768
@sanketh768 7 ай бұрын
Predicate, BiConsumer
@codippa
@codippa 6 ай бұрын
You can learn about Predicate here: kzbin.info/www/bejne/porbkJKfrdqrfc0
@deadoralive8296
@deadoralive8296 7 ай бұрын
Happy Diwali 🪔
@rajeswarijajam1221
@rajeswarijajam1221 7 ай бұрын
Consumer and predicate I know from ur vedios 😂😂😂
@salmasultana8155
@salmasultana8155 7 ай бұрын
Udemyyyy😢😢😢😢
@shahidavalisyed487
@shahidavalisyed487 7 ай бұрын
.
@rajeswarijajam1221
@rajeswarijajam1221 7 ай бұрын
Consumer and predicate I know from ur vedios 😂😂😂
@SeleniumExpress
@SeleniumExpress 7 ай бұрын
Cool ! 😀
@AdityaKumar-cy2cr
@AdityaKumar-cy2cr 7 ай бұрын
can you pls provide me link of that video for the last question
Functional Interface | Lambda Expression in Java
13:56
Telusko
Рет қаралды 136 М.
Кәріс өшін алды...| Synyptas 3 | 10 серия
24:51
kak budto
Рет қаралды 1,3 МЛН
Understand Angular Signals in 20 Minutes
20:17
Igor Sedov
Рет қаралды 8 М.
Master Golang with Interfaces
21:54
Kantan Coding
Рет қаралды 6 М.