Interface vs abstract class vs concrete class
Вставка
- Опубліковано 3 січ 2025
- DURGASOFT is INDIA's No.1 Software Training Center offers
online training on various technologies like JAVA, .NET ,
ANDROID,HADOOP,TESTING TOOLS , ADF, INFORMATICA, SAP...
courses from Hyderabad & Bangalore -India with Real Time Experts.
Mail us your requirements to durgasoftonlinetraining@gmail.com
so that our Supporting Team will arrange Demo Sessions.
Ph:Call +91-8885252627,+91-7207212428,+91-7207212427,+91-8096969696.
durgasoft.com
durgasoftonline...
/ durgasoftware
durgajobs.com
/ durgajobsinfo.... .
Sir I don't know how to thank u.....I mean the kind of clarity ,confidence u have brought in me when it comes to java programming i can't put it into the words...may god bless u wid whatever u want.....
I have seen a lot of people explaining concepts. But I find you more understandable. Good job man
+Sameer Sawla
Demo Sessions on youtube,
Language Fundamentals(16 Videos)ua-cam.com/video/eTXd89t8ngI/v-deo.html,
Operators & Assignments(7 Videos)ua-cam.com/video/1JGOPhIyhAM/v-deo.html,
Flow Control(6 Videos)ua-cam.com/video/X6rS9vD9-qM/v-deo.html.
May be his english is not good ...but has balls to present his knowledge..hats off
navin navinmurrari have you seen his balls ;)
+navin navinmurrari
Demo Sessions on youtube,
Language Fundamentals(16 Videos)ua-cam.com/video/eTXd89t8ngI/v-deo.html,
Operators & Assignments(7 Videos)ua-cam.com/video/1JGOPhIyhAM/v-deo.html,
Flow Control(6 Videos)ua-cam.com/video/X6rS9vD9-qM/v-deo.html.
His English is good ... his accent is different .. i am a white Australian...
Started Exploring your videos Durga sir... You are doing excellent job...
sir Thankyou for making me to understand Java
so easily.
Respect for your simple way of explanation
Thank you for the explaining these in a basic format it is very helpful.
building example is epic. Great teaching, Thank u sir.
Brillient explanation.... 👌 This session use to build the knowledge about Java👍
When I see you in youtube feel very happy,❤️
Clear cut example sir.....❤️
Excellent lecture Sir. Very clearly explained indeed
Best teacher for oops
durga perfect,so many visitors count and up like count, awesome video, i like it.... keep it up
This is just my thoughts,
In the building example for my understanding I will relate Abstract class with building all 1000 stories building but with minimum implementation like just putting room Walls, Ceilings, Electrical and Water supplies, and then remaining like Doors, Interior Colors, Furniture, Electrical switches and other stuff leave for the persons who will rent it as it can be different for every story or even every room and thats where ConcreteClasses will come which will provide full functionality based on their requirement extending those AbstractClasses(Stories).
Awesome!!!! It was very nicely explained. A very effective video.
+Saadmaan Mahmid (Shoshi)
Demo Sessions on youtube,
Language Fundamentals(16 Videos)ua-cam.com/video/eTXd89t8ngI/v-deo.html,
Operators & Assignments(7 Videos)ua-cam.com/video/1JGOPhIyhAM/v-deo.html,
Flow Control(6 Videos)ua-cam.com/video/X6rS9vD9-qM/v-deo.html.
Thanku you sir for your valuable and easy explanation 😀.
Awesome sir...
you are Java Guru
thank you Mr/ Durga you really helped me to understand
can I learn java from these videos if I am a beginner in java?
Yes exactly
Big fan sir still 2021
And 2050
nice sir its easily understandable...thq so much
+kalyani ias
Demo Sessions on youtube,
Language Fundamentals(16 Videos)ua-cam.com/video/eTXd89t8ngI/v-deo.html,
Operators & Assignments(7 Videos)ua-cam.com/video/1JGOPhIyhAM/v-deo.html,
Flow Control(6 Videos)ua-cam.com/video/X6rS9vD9-qM/v-deo.html.
Damn this guy is a legend
@ Durga education you have forget main explanation for abstract class that it cannot be instantiated and any class which extends an abstract class implement all its methods !!!
Thanks for the session
Programming is not theoretical you should explain every parts practically in Eclipse.
This is not a programming tutorial series. This is Java Interview Questions series. You should appreciate the free content.
@@nikhilchaubey5889 gali kyon de rahe he? Jo free ke videos banate he unako appreciate karana chahiye.. kuchh galat bola kya?
Amazing explanation
Hi Sir , It was a fabulous question , tho I have a question
why can't we use concrete class with interface instead of abstract class and if it possible is abstract class concept is a redundant concept .if not then why we can't use concrete class with interface instead of abstract class
A question asked by Accenture in technical round : Why we can't create object of Abstract classes?
coz its not fully implemented , how u are supposed to make object of something which is not completely implemented..
Because it's just like a home but with only the metal bar structure.. No cement no closing using roof or anything... U cannot sleep inside it.. Its not a home... But if u say I want to build something like that then YOU MUST HAVE that structure altho u can put cement paint and (implement) it and sleep happily.. But you can't sleep in an abstract class it's just abstract
Abstract class have concrete methods and it is not necessary to have at least one method abstract inside abstract class,, then there is a full of method implementation,, still why can't we Create object of an abstract class.
Please anyone...
We can't create object of abstract class but JVM will, in your abstract class default constructor write a sysout and when you will run your program you will get that sysout in your console
nice explanation sir
sir plz upload jsp videos of durga sir
hmm
Very nice all video
sir please upload the spring videos..Nice explanation
Good Explanation
+Saddam Hussain
Demo Sessions on youtube,
Language Fundamentals(16 Videos)ua-cam.com/video/eTXd89t8ngI/v-deo.html,
Operators & Assignments(7 Videos)ua-cam.com/video/1JGOPhIyhAM/v-deo.html,
Flow Control(6 Videos)ua-cam.com/video/X6rS9vD9-qM/v-deo.html.
english is shit, but this is the simple definition i have learned from you ;) good on you
After java 8 interfaces also supports partial implementation. So that make interfaces and abstraction almost same right? Could someone help me with this confusion?
Yes brother
I can't see any difference now because we can define method in abstract class and after 1.8 we can also define method in Interface
Could you please upload more videos on java?
awsm lectr...
dipali pawar... Hi
Insightful perspective
Your session are good, but explain the big question "WHY". Why to declare a variable as static/final or what ever. Explain what goes behind the screen. You give answers to clear interview. But that is not the actual knowledge, its call as mugged up.
This is not a very good explanation from the point of view of software engineer. The explanation is not wrong but it doesn't create an image on real time practice. Also when we should use Interface, when abstract and when concrete, this is not so easy. Based on requirements and taking the concept of design patterns the decision is made Interface, Abstract , or concrete class
sir we can made the object of abstract class using anonymous class
nicely explained
+Gustavo Garcia (gamer)
Demo Sessions on youtube,
Language Fundamentals(16 Videos)ua-cam.com/video/eTXd89t8ngI/v-deo.html,
Operators & Assignments(7 Videos)ua-cam.com/video/1JGOPhIyhAM/v-deo.html,
Flow Control(6 Videos)ua-cam.com/video/X6rS9vD9-qM/v-deo.html.
did u hear entropies?
Abstract class have concrete methods and it is not necessary to have at least one method abstract inside abstract class,, then there is a full of method implementation,, still why can't we Create object of an abstract class. And why so then use of abstract class if we can use concrete class instead.
Please anyone...
very good sir
+rimjhim4278
Demo Sessions on youtube,
Language Fundamentals(16 Videos)ua-cam.com/video/eTXd89t8ngI/v-deo.html,
Operators & Assignments(7 Videos)ua-cam.com/video/1JGOPhIyhAM/v-deo.html,
Flow Control(6 Videos)ua-cam.com/video/X6rS9vD9-qM/v-deo.html.
entropies....
You wrote interface but you are pronouncing it as intraface ...
super
+Balamurugan T
Demo Sessions on youtube,
Language Fundamentals(16 Videos)ua-cam.com/video/eTXd89t8ngI/v-deo.html,
Operators & Assignments(7 Videos)ua-cam.com/video/1JGOPhIyhAM/v-deo.html,
Flow Control(6 Videos)ua-cam.com/video/X6rS9vD9-qM/v-deo.html.
If an abstract class had all the capabilities of an interface ( consider an abstract class which contain only unimplemented abstract methods), then why an interface is needed? Forget about where to use interface and where to use abstract class.
All the explanation given here are in favor of abstract class - that is, what is possible in abstract class but not possible in interface.
Is there any feature which is possible in interface but not possible in Abstract class?, if not why an interface ? - please do not provide the answer in such a way that where to use interface and where to use abstract class - which is not a solid answer.
Shyju S R
multiple inheritance is possible with interface only
Hima Joseph
Good one bro
+Saddam Hussain
Demo Sessions on youtube,
Language Fundamentals(16 Videos)ua-cam.com/video/eTXd89t8ngI/v-deo.html,
Operators & Assignments(7 Videos)ua-cam.com/video/1JGOPhIyhAM/v-deo.html,
Flow Control(6 Videos)ua-cam.com/video/X6rS9vD9-qM/v-deo.html.
Why isn't anyone making fun of his accent?
+BillyBob
just think thrice before commenting.
He is not taking an IELTS course
In-N-Out ok does this comment boost your ego? Don't feel so insecure dude.
I love you man
what a fucking langue is that?
he should go to English class
+vikram
Demo Sessions on youtube,
Language Fundamentals(16 Videos)ua-cam.com/video/eTXd89t8ngI/v-deo.html,
Operators & Assignments(7 Videos)ua-cam.com/video/1JGOPhIyhAM/v-deo.html,
Flow Control(6 Videos)ua-cam.com/video/X6rS9vD9-qM/v-deo.html.
you are not concentrating on subject. you are looking for slang, voice,grammer etc...learn subject boss
Language is not at all a big issue..subject is main ..he is very good at subject
I think you are learning English by Durga sir....bro this is Java class not English....and one more thing talent does not depend on English .....I appreciate this teacher for his hardworking and dedication for us.....thanks a lot Durga sir
And you should go for elementary education ...how to respect teachers is a topic you missed
Interface is not equal to Intra + Face,
M is not equal to Yum.
In which state of India, English is pronounced like this?
I really tried, but the accent makes it hard to grasp the full experience of your explanation.
Pls spell the correct spelling of interface
very tough to understand English accent