filmov
tv
Java Interview Short 8 - why abstract class is used - No Abstract method use-case | #javainterview

Показать описание
Hey this is our, Java Interview Short 8 and today we will be discussing why abstract class is used when there is No Abstract method present inside a given class.
Why Java allow to write an Abstract class without an Abstract method?
Abstract class is one of the top most feature in Java oop and pretty much similar to an java interface. but do you know, we can declare an abstract class without even writing an abstract method inside it.
The whole purpose is, Letting the client class know that, there is a possibility of adding abstract method in future which might break the client code, so they should be design their classes like that.
#javainterviewquestions #javaoop #abstractclass
For more free/paid courses visit
#JavaInterview #SpringBootInterviewQuestions #MicroservicesInterviewQuestions
For More free/paid courses visit
LINKS AND FREE LEARNING RESOURCES
========
Watch my new mock interview series for java developers
Watch my new Hello spring boot series
Watch Spring boot Hot topics
Java Interview / Question and Answer series
Explain spring Bean Lifecycle
spring core
spring mvc
spring mvc intermediate
Spring JDBC
spring live project
SPRING SECURITY COURSE[NEW]
For more courses visit
Any time you are getting stuck with issues, Feel free to ask for support.
you can ping me on my Facebook page
Make sure to join my private Facebook page (Ask me here)
“SeleniumExpress - Support"
you can ask for support in my website forum
Subscribe to my youtube channel
Follow me on Insta
Why Java allow to write an Abstract class without an Abstract method?
Abstract class is one of the top most feature in Java oop and pretty much similar to an java interface. but do you know, we can declare an abstract class without even writing an abstract method inside it.
The whole purpose is, Letting the client class know that, there is a possibility of adding abstract method in future which might break the client code, so they should be design their classes like that.
#javainterviewquestions #javaoop #abstractclass
For more free/paid courses visit
#JavaInterview #SpringBootInterviewQuestions #MicroservicesInterviewQuestions
For More free/paid courses visit
LINKS AND FREE LEARNING RESOURCES
========
Watch my new mock interview series for java developers
Watch my new Hello spring boot series
Watch Spring boot Hot topics
Java Interview / Question and Answer series
Explain spring Bean Lifecycle
spring core
spring mvc
spring mvc intermediate
Spring JDBC
spring live project
SPRING SECURITY COURSE[NEW]
For more courses visit
Any time you are getting stuck with issues, Feel free to ask for support.
you can ping me on my Facebook page
Make sure to join my private Facebook page (Ask me here)
“SeleniumExpress - Support"
you can ask for support in my website forum
Subscribe to my youtube channel
Follow me on Insta
Комментарии