Abstract Class and Abstract Method in Python

  Рет қаралды 362,254

Telusko

Telusko

Күн бұрын

Method which is decorated with @abstractmethod and does not have any definition.
Python Don't support Abstract class, So we have ABC(abstract Base Classes) Module, so we can use here to achieve abstract classes. And will see what is abstract class and why we need it. An abstract class can be considered as a pattern for other classes. A class which contains one or more abstract methods is called an abstract class. An abstract method is a method that has a declaration but does not have an implementation.
Support by
becoming a Member : / @telusko
Instamojo (India) : www.instamojo....
Paypal : www.paypal.me/...
UPI : navinreddy20@okicici
BlockChain Full Course : courses.telusk...
Spring Full Course : courses.telusk...
Spring Full Course (UDEMY) : www.udemy.com/...
Python Full Course (UDEMY) : shorturl.at/EPXZ9
Angular Full Course : courses.telusk...
Rest API in Spring Boot : goo.gl/5Wgsk6
Restful Web Services Tutorial : goo.gl/3mosnz
Spring Boot Tutorials : goo.gl/7894NE
Editing Monitors :
amzn.to/2RfKWgL
amzn.to/2Q665JW
amzn.to/2OUP21a.
Editing Laptop :
ASUS ROG Strix - (new version) amzn.to/2RhumwO
Asus vivoBook :amzn.to/2wS0Hpt
Camera : amzn.to/2OR56AV
lens : amzn.to/2JihtQo
Mics
amzn.to/2RlIe9F
amzn.to/2yDkx5F
amzn.to/2WYqLde
Check out our website: courses.telusko...
Follow Telusko on Twitter: / navinreddy20
Follow on Facebook:
Telusko : / teluskolearnings
Navin Reddy : / navintelusko
Follow Navin Reddy on Instagram: / navinreddy20
Follow Telusko Official Page : / telusko_edutech
Subscribe to our other channel:
Navin Reddy : / @navinreddy
Telusko Hindi :
/ @teluskohindi
Subscribe to the channel and learn Programming in easy way.
BlockChain Tutorial : bit.ly/2IyH8EJ
Hyperledger Fabric : shorturl.at/ekmCJ
Golang Tutorial : shorturl.at/ksvMP
Servlet JSP tutorial playlist : goo.gl/y1kvwc
Java Tutorial : goo.gl/p10QfB
Kotlin Tutorial : goo.gl/JedEzX
Scala Tutorials for Java Developers : goo.gl/8H1aE5
C Tutorial Playlist : goo.gl/8v92pu
Android Tutorial : goo.gl/MzlIUJ
XML Tutorial : goo.gl/Eo79do
Design Patterns in Java : goo.gl/Kd2MWE
Socket Programming in Java : goo.gl/jlMEbg
Spring MVC Tutorial : goo.gl/9ubbG2
OpenShift Tutorial for Beginners : goo.gl/s58BQH
Spring Framework with Maven : goo.gl/MaEluO
Sql Tutorial for Beginners : goo.gl/x3PrTg
String Handling in Java : goo.gl/zUdPwa
Array in Java : goo.gl/uXTaUy
Java Servlet : goo.gl/R5nHp8
Exception Handling in Java : goo.gl/N4NbAW

Пікірлер: 296
@thisisdenish
@thisisdenish 3 жыл бұрын
Summary: abstract method is a method which only has declaration and doesn't have definition. a class is called abstract class only if it has at least one abstract method. when you inherit a abstract class as a parent to the child class, the child class should define all the abstract method present in parent class. if it is not done then child class also becomes abstract class automatically. at last, python by default doesn't support abstract class and abstract method, so there is a package called ABC(abstract base classes) by which we can make a class or method abstract.
@Xaveth
@Xaveth 3 жыл бұрын
Dude... thank you! Very clear.
@共匪必须被消灭
@共匪必须被消灭 3 жыл бұрын
Love you, Dude
@likhithap6109
@likhithap6109 3 жыл бұрын
thank you
@rahulgaonkar3431
@rahulgaonkar3431 3 жыл бұрын
thanx bro
@will44559
@will44559 3 жыл бұрын
10 minutes video is awesome, 1 minute read paragraph is bravo!
@NoorAli-uu9wk
@NoorAli-uu9wk 2 жыл бұрын
Absolutely Brilliant Video! Thanks
@Arunava_Sar
@Arunava_Sar 4 жыл бұрын
Actually I think abstract class and method is under the concept of method overriding and concept of inner class ..the commenters are confusing because of telusco didn't give any episode number or didn't connect with previous video because of it was uploaded in 2020 I think 😅
@noobygeeko
@noobygeeko 4 жыл бұрын
Thanks sir for working for us
@gauravtalwar358
@gauravtalwar358 4 жыл бұрын
Need more clarity on Abstract Class and Methods
@anamikaupadhyay5317
@anamikaupadhyay5317 4 жыл бұрын
Yah....it's was really confusing sir ....how can i get it ?
@cutekiller8447
@cutekiller8447 2 жыл бұрын
not working
@abhijain1022
@abhijain1022 4 жыл бұрын
ds and algo in python plz...
@sujithkumar_ga
@sujithkumar_ga 4 жыл бұрын
for those who did not understand! assume a situation or an example (u r given a task to design some apps and an app to qualify it must and should contain some specific features like( brightness, notification ).so basically you can declare an abstract class with these feature declarations( brightness, notification ), but not the body in the abstract class and later u inherit them keeping in mind that while you are designing you must and should declare these feature's body for sure along with some more features and u might use the same abstract class for other app design because even it must also contain the specific features along with other, but the body declarations might change from class to class or an app to app if you are doing any real-time work). hope u understood this
@qazafisheikh530
@qazafisheikh530 4 жыл бұрын
it was soooo confusing
@VishuencApp
@VishuencApp 4 жыл бұрын
Yes, not explained with good examples and details.
@_.sunnyraj._
@_.sunnyraj._ 4 жыл бұрын
No
@sujithkumar_ga
@sujithkumar_ga 4 жыл бұрын
for those who did not understand! assume a situation or an example (u r given a task to design some apps and an app to qualify it must and should contain some specific features say brightness, notification .so basically you can declare an abstract class with these feature declarations but not the body and later u inherit them in keeping in mind that while design you must and should declare these feature's body for sure along with some more features and u might use the same abstract class for other app design because even it must also contain the specific features along with other but the body declarations might change from class to class or an app to app if you are doing any real-time work). hope u understood this
@vernanonix
@vernanonix 4 жыл бұрын
@@sujithkumar_ga So I'm still trying to wrap my head around this. From what I'm seeing, using this video as the example, we declare process in the Computer class as an abstract method and therefore we get an error and to fix that error, we override it in a subclass, say Laptop, by redefining process. So then why even bother with the abstract method at all? Making the abstract method just seems like a waste of time if it's not going to do anything and I have to add the actual definition somewhere else.
@sujithkumar_ga
@sujithkumar_ga 4 жыл бұрын
@@vernanonix u will get to know better when u do real time projects 👍
@sameernayak9611
@sameernayak9611 4 жыл бұрын
This video is quite confusing sir, can you please make one more so that we can understand this concept better.
@hyperskivo8426
@hyperskivo8426 4 жыл бұрын
Actually the video is very concise and clear
@_.sunnyraj._
@_.sunnyraj._ 4 жыл бұрын
@@hyperskivo8426 yes
@alwayslakshmipathi2532
@alwayslakshmipathi2532 4 жыл бұрын
yeah... I felt irritated
@ArjunKrishna-lx1re
@ArjunKrishna-lx1re 3 жыл бұрын
@@hyperskivo8426 then tell me, why we need abstract class
@anindian4601
@anindian4601 3 жыл бұрын
@@ArjunKrishna-lx1re 🤣 Good question bro, I Think Navin has missing some logics and codes better we have to refer other utubers too , dont rely on him.
@revolutionaryaihub-aonesto5228
@revolutionaryaihub-aonesto5228 4 жыл бұрын
Thanks a lot sir...please complete data structures and algorithms with python...and if possible start machine learning/data science..as u were telling earlier u we're about to start ...
@meghanadalal9837
@meghanadalal9837 4 жыл бұрын
yess yess yessss exactly
@Spinsters_batch
@Spinsters_batch 4 жыл бұрын
Yes sir
@sandeepreddy1197
@sandeepreddy1197 2 жыл бұрын
@@meghanadalal9837 haa yes
@SP-un3rj
@SP-un3rj 2 жыл бұрын
Yes sir please make it
@prakhar1303
@prakhar1303 3 жыл бұрын
Essentially, you define abstract methods in an abstract class to ensure that it's child classes have a compulsion of having those methods defined inside them
@pranavnyavanandi9710
@pranavnyavanandi9710 2 жыл бұрын
Otherwise, the abstract method that is inherited by the child will make it an Abstract Base class thus preventing instantiation. So if we are to instantiate the child class, implementing the abstract methods becomes necessary.
@kunalpandey2066
@kunalpandey2066 2 жыл бұрын
we can find its usecase in design patterns
@pranavnyavanandi9710
@pranavnyavanandi9710 2 жыл бұрын
@@kunalpandey2066 Hi. Can you elaborate? Design patterns for designing what?
@l3tt3rsnumbers0nly
@l3tt3rsnumbers0nly Жыл бұрын
this explanation makes me understand its use i guess.
@AvyStarr
@AvyStarr 6 ай бұрын
It's best to use, when we use polymorphism.
@yes_i_am8378
@yes_i_am8378 4 жыл бұрын
where is your energy man in this tutorial? Btw, U r awesome...
@ansafnisam2443
@ansafnisam2443 3 жыл бұрын
I see many are still confused with the concept and also with "how is it different from duck typing". Here is an example to get it cleared. This is an exam 'hall' and there are students from 2 diffrent 'classes' seated. Class A has a maths test, Class B has social. The invigilator says that to enter the hall, every one must carry an instrument box. Now students of classes both A and B must bring one even if B class don't have its use. So the class A will have a set of compass, rulers, pencils etc in it. But since students of class B don't have any use, they will just bring one with a pencil or even just empty (pass) because its compulsory to bring one in to be in the hall. If a parent class has an abstract method, every child must also have one. So each child will have to define one of thier own. In duck typing, It isn't necessary to define the parent class method for each child classes. it just simply have to point to the class where the particular method lies. Here we would have to define for each. I hope this helps
@Vishal360
@Vishal360 Жыл бұрын
Daymnnn 🤝🏻
@Ice2k06
@Ice2k06 2 ай бұрын
Ok that was a clear explanation bro thanks now i understand its use
@deepakreddyt
@deepakreddyt 4 жыл бұрын
Doubt from abc import ABC,abstractmethod class Computer(ABC): @abstractmethod def process(self): pass class Whiteboard(Computer): def write(self): print("Writing") class Laptop: def solve(self,com): print("solving") com.process() com1=Whiteboard() s=Laptop() s.solve(com1) "F:\PYthon oo\venv\Scripts\python.exe" Traceback (most recent call last): com1=Whiteboard() TypeError: Can't instantiate abstract class Whiteboard with abstract methods process
@deepakreddyt
@deepakreddyt 4 жыл бұрын
you mean that if i use Whiteboard(Computer) i must have process method in white board class so that only code works is n't ??? thats the use of abstract class i hope you will reply soon.......
@msnfsn754
@msnfsn754 3 жыл бұрын
from abc import * class examhall: @abstractmethod def instrument_box(self): pass #'bring instrument box' def water_bottle(self): print('bring water bottle') class students1(examhall): def maths(self): print('ok, i sure need one for the test') #so let me define an instument box def instrument_box(self): print('pencils, compass, ruler etc') class students2(examhall): def social(self): print('but i dont need one anyway') #but since its compulsory, let me bring an empty one def instrument_box(self): print('empty box') #or just pass s1 = students1() s2 = students2() s1.maths() s1.instrument_box() s2.social() s2.instrument_box()
@aman31dec
@aman31dec 3 жыл бұрын
Can you please explain more on why do we need abstract classes? It's not very clear to me. This will be really helpful. Thanks!
@JoaoVitorBRgomes
@JoaoVitorBRgomes 3 жыл бұрын
It's a Object Oriented Programming thing. Maybe you are designing many classes and these classes share a common method (in teacher's example is processing(), so each time you inherit in a new class e.g. Laptop, it is mandatory/compulsory that you define processing() method there. I think it is a way to keep organized your OOP project.
@mevlutkaymaz3097
@mevlutkaymaz3097 3 жыл бұрын
When you have can possible have multiple(different) output/input, then you will need to create a base class(or abstract class) to use for multiple objects.
@Rafian1924
@Rafian1924 2 жыл бұрын
Simply, to follow a specific strict structure for the development of functionality.
@AmirKhan-zy9qc
@AmirKhan-zy9qc 3 жыл бұрын
Actually, the function of the abstract class is the programmer shouldn't be able to use a class and its method but he has to provide those methods and its definition to other inheriting classes. By using such a feature the programmer is forcing himself to provide different definitions in inheriting classes. Here what Navin is trying to say is all electronics like laptops desktops and mobiles are computers so the programmers must define all the parts like display and processor to all electronics like laptops desktops and mobiles because without such part they won't work
@samgaines2886
@samgaines2886 2 жыл бұрын
Thanks for this. Understood the concept but didn’t really get the “why.” This helps
@mohammedumarfarhan9900
@mohammedumarfarhan9900 4 жыл бұрын
I don't think so it's gonna work
@alonsom.donayre1992
@alonsom.donayre1992 4 жыл бұрын
Sorry i cant understand very well what u said about when is useful to use an abstract classs only with abstract methods? can you answer me that please
@md.anisurrahman1856
@md.anisurrahman1856 3 жыл бұрын
Probably need more explanation about this topic. Why we need to create abstract classes. But among all of the youtube videos, this is much much better than others. Thank you...
@KeremAli-cm3pj
@KeremAli-cm3pj 2 ай бұрын
buddy, this is the best option we have... and thats not a compliment.
@utkarshpuri3739
@utkarshpuri3739 4 жыл бұрын
"If you can't explain a topic, you never understood it well" ~~ Someone
@jayasuryaviswanath2149
@jayasuryaviswanath2149 3 жыл бұрын
Einstein
@Sharukkhan-kx9rw
@Sharukkhan-kx9rw 4 жыл бұрын
Could you try different examples like Pizza, Burger instead of the Computer, please?
@_.sunnyraj._
@_.sunnyraj._ 4 жыл бұрын
Why maximum comments says hard and confusing It was so easy huh 🤣
@sahilsurve5361
@sahilsurve5361 4 жыл бұрын
Can you please explain what's d use of abstract class & method ? & Help us out ? Usually i understand videos by navin sir, but unable to understand here
@SebastianSanchez65
@SebastianSanchez65 4 жыл бұрын
2 things, 1- your english is really hard to understand because you speak really fast, 2-you didn’t define if a class becomes abstract once you put ABC in the parameters
@rohitjoemendus8503
@rohitjoemendus8503 4 жыл бұрын
Why does this code show an error from abc import ABC, abstractmethod class Computer(ABC): @abstractmethod def process(self): pass class Laptop(Computer): def process(self): print("Running") class Whiteboard(Computer): def write(self): print("Writing") class Program: def work(self, com): print("Working") com.process() c1 = Laptop() c2 = Whiteboard() p1 = Program() p1.work(c1) p1.work(c2) You didn't show the output after you changed whiteboard as a child class.
@pritamdebnath849
@pritamdebnath849 11 ай бұрын
wait ! what? you called me alien? i liked though
@Rajadahana
@Rajadahana 2 жыл бұрын
I am pretty much sure I have missed something, but I am not sure what it is.At 5:11 - I got the concept that if you inherit an Abstract class, the child class will also be Abstract. That I understood, tried and was successful. But didn't properly get the concept after that. If the parent class is an Abstract Class, and if the child class has its own methods, the methods of the child class run without a problem. Have I got it right?
@PritishMishra
@PritishMishra 4 жыл бұрын
Please make videos on Python Projects
@gajendrasonare
@gajendrasonare 2 жыл бұрын
By the defination, abstraction is used to hide complexity of program but this defination doesn't seems appropriate in python implementation of abstraction.
@ReadyforitReadyforit
@ReadyforitReadyforit Күн бұрын
i don't get that when he made programer class he wrote com.process() what is this com
@8860777750
@8860777750 6 ай бұрын
Thanks for making such helpful video for learners. But I either was not able to understand the ABC concept of class & method by watching this video or video missed the good example of this. Thanks to chatGPT it gave me below real world example which explains the concept really well. e.g. a vehicle might have common attributes like speed, fuel, and methods like start(), stop(), and accelerate(). However, different types of vehicles (e.g., car, motorcycle, truck) might have different implementations for these methods. 1. Vehicle is an abstract base class defining a common interface for all vehicles, with abstract methods like start(), stop(), and accelerate(). 2. Car, Motorcycle, and Truck are concrete subclasses of Vehicle, each providing its own implementation for the abstract methods. 3. Each subclass can have its own specific attributes and methods, but they all must implement the methods defined in the Vehicle base class. below is the code..... from abc import ABC, abstractmethod class Vehicle(ABC): def __init__(self, speed=0, fuel=100): self.speed = speed self.fuel = fuel @abstractmethod def start(self): pass @abstractmethod def stop(self): pass @abstractmethod def accelerate(self): pass class Car(Vehicle): def start(self): print("Car started") def stop(self): print("Car stopped") def accelerate(self): print("Car accelerating") class Motorcycle(Vehicle): def start(self): print("Motorcycle started") def stop(self): print("Motorcycle stopped") def accelerate(self): print("Motorcycle accelerating") class Truck(Vehicle): def start(self): print("Truck started") def stop(self): print("Truck stopped") def accelerate(self): print("Truck accelerating") car = Car() car.start() car.accelerate() car.stop() motorcycle = Motorcycle() motorcycle.start() motorcycle.accelerate() motorcycle.stop() truck = Truck() truck.start() truck.accelerate() truck.stop()
@SSBB-xo3mj
@SSBB-xo3mj 6 ай бұрын
🎯 Key Takeaways for quick navigation: 00:00 *🖥️ Abstract Class and Abstract Method in Python* - Understanding abstract classes and methods in Python. - Abstract classes in Python are not directly supported but can be achieved using the ABC module. - Abstract methods are defined without implementation and must be implemented by subclasses. - Abstract classes cannot be instantiated and serve as templates for subclasses to implement methods. 03:18 *🛠️ Implementing Abstract Classes and Methods* - Implementing abstract classes and methods using the ABC module. - Importing the ABC module and using the `@abstractmethod` decorator to define abstract methods. - Subclasses of abstract classes must implement all abstract methods. - Attempting to instantiate an abstract class without implementing all abstract methods raises an error. 06:05 *🧩 Practical Application of Abstract Classes* - Exploring the practical applications of abstract classes in object-oriented programming. - Abstract classes provide a blueprint for subclasses to adhere to specific method implementations. - Helps enforce a consistent structure across different subclasses. - Useful for defining APIs or designing systems where certain methods must be implemented by subclasses. Made with HARPA AI
@tharunguduru7934
@tharunguduru7934 4 жыл бұрын
no teacher teaches me that whiteboard example to explain the concept of abstraction,, your a genius sir..
@programming_heist
@programming_heist 4 жыл бұрын
Too clumpsy....... not a right idea to explain things like that. First clear your self on topic. You looks be confused.
@Techwithgk369
@Techwithgk369 4 жыл бұрын
nice explanation in udemy
@sreetechx2954
@sreetechx2954 4 жыл бұрын
"interfaces" module will more good representation than abc module....
@DGDG0000000
@DGDG0000000 4 жыл бұрын
Not the same.
@Friend01foru
@Friend01foru 7 ай бұрын
For those if didnt understood properly go through below code from abc import ABC, abstractmethod class Shape(ABC): @abstractmethod def area(self): pass @abstractmethod def perimeter(self): pass class Circle(Shape): def __init__(self, radius): self.radius = radius def area(self): return 3.14 * self.radius**2 def perimeter(self): return 2 * 3.14 * self.radius class Square(Shape): def __init__(self, side): self.side = side def area(self): return self.side**2 def perimeter(self): return 4 * self.side 1) here trying to directly instantiate shape will directly result in error as it is defined by abstract 2) here we have declared the area, perimeter as abstract , so any class that inherits shape class were forced to define those methods (or ) will result in error....reason why i did this is for any shape, ie square, rectangle, circle....calculating area and perimeter are important.
@takizum7820
@takizum7820 Жыл бұрын
Dude your playlist title says "Python for beginners"...but with your super pace of explanations, no beginners will understand the concepts. Your way of tutoring is way too hard to understand for the beginners. I would not suggest to follow these videos to any of the beginners to learn Python.
@persianleague399
@persianleague399 Жыл бұрын
you know.. everything is great in this course, but there is one big big issue, and that is you never make a real example of these concepts, why we should use them, when we should use them (in a real example) for example, data mining, app development etc... please do something about it
@anindian4601
@anindian4601 3 жыл бұрын
I Think u missed some logic, i have to refer other utubers to understand about abstract classes and methods., i did not understand in reverse i got messed up., i learned from other videos about navin's made mistake by taking whiteboard, bcos of white board it is confusing, actually abstract means ABSTRACT METHOD, Computer class forcing by making must to use abstract methods in those classes.
@macieks3604
@macieks3604 Жыл бұрын
You did not say what abstract class is, you just said what it has. Also, you did not explain why abstract class is needed. You've used many words and examples which don't prove anything. You could have created 2 classes and called their methods after instantiation without the use of abstract method. It is redundant here.
@maazshaikh9715
@maazshaikh9715 3 жыл бұрын
Very informative video. I have one doubt. I don't agree with this statement - "An abstract method is a method that has a declaration but does not have a definition." We can define the abstract method and use it later with super function. Right?
@haricharan2836
@haricharan2836 Жыл бұрын
You can
@coding4me440
@coding4me440 2 жыл бұрын
If you want to learn how to use intelligent AI to automatically generate code for you in numerous programming languages, watch our mind-blowing video on our KZbin channel.
@jitendrajitu5233
@jitendrajitu5233 8 ай бұрын
wont work....because of abstract methods must be defined at all , otherwise it would be defined by its sub classes
@HamzaSulaiman
@HamzaSulaiman 4 жыл бұрын
One can inherit a class without making it an abstract class too. If you don't make computer as an Abstract class, this code you wrote will still work. Your explanation is vague
@rawatshubham09
@rawatshubham09 3 жыл бұрын
Abstract class sounds like" Copy right of you tube" where u need to "give credit" by defining all abstract methods of parent class
@VictorKDurand
@VictorKDurand 2 жыл бұрын
Ok so if you need to create multiple class objects which all have something in common and which you need to imperatively implement because you will later need to call (such as obj.process() in this video), then you use an ABC class and enforce the child classes to all have the set of methods you want. That's what I understand.
@ritikaagarwal7
@ritikaagarwal7 3 жыл бұрын
At 9:51 my output comes only 'solving bugs'..that com.process is not executing..i dont understand what is happening and there is no error showing
@meershahidmanzoor
@meershahidmanzoor 2 жыл бұрын
Respected and honourable sir ,i have been learning python from scratch only on your KZbin channel. I wanna thank you from bottom of my heart.Till now i didn't face any problem or confusion.but now i was Little bit confused about the abstract class, why do we use and why do we need them. ***I have come up with a conclusion that : we use abstract classes and abstract method to override the abstract method again and again in other subclasses of abstract class.*** If it is correct? kindly reply.Big fan sir❤️...God bless you
@pushpendersingh3008
@pushpendersingh3008 4 жыл бұрын
this was a first lecture has totally bored me.......I feel not much energetic as yr previous vedio don't do this sir....this spread demotivation
@Ragul60
@Ragul60 3 жыл бұрын
Sir it's confusing 😐😐 please make another video for abstract classes and methods 🙏🙏 @Telusko
@dipenpandit684
@dipenpandit684 9 ай бұрын
You just implemented the exact thing that my teacher taugh me in my Object Oriented Design lecture... Thank you so much for the video.....❤
@Mdroudian
@Mdroudian 2 жыл бұрын
I enjoyed the simplicity of the video but abstract classes seem somewhat useless. Maybe it's just me.
@enterashutosh
@enterashutosh Жыл бұрын
me instead of creating abstract class class error: def shout (self) print ("chutiya hai kya") err = error ()
@umarshaikh1952
@umarshaikh1952 3 жыл бұрын
We can not create the object of laptop class because inside the laptop class is abstract method if we create the object of abstract so we will get the error
@sammyay-man2754
@sammyay-man2754 Ай бұрын
To be honest.....I could not catch it because it still confusing
@abubakarkhawaja4762
@abubakarkhawaja4762 4 жыл бұрын
Sir Assalam o alikum, i am watching your videos on blockchain and i am really very impressed how you explain everything in detail i have a question In hyperledger fabric there are 2 ways to reach consensus endosers and orders. What i am asking is who are endosers if they are admins Doesnt it make hyperledger centralized? Can i be an endoser?
@seferideveloper6933
@seferideveloper6933 2 жыл бұрын
Ve aleykumselam
@VishuencApp
@VishuencApp 4 жыл бұрын
I think, he had fight with his wife before making this video. No charm or energy as his usual videos.
@chillaxbaap
@chillaxbaap Жыл бұрын
nice explanation of the concept. But the usecase explanation wasn't effective honestly
@oussamazriouile4796
@oussamazriouile4796 Жыл бұрын
so basically an abstract class and method is a way to force child classes into having certain methods
@surajsoni4061
@surajsoni4061 4 жыл бұрын
this lecture was so boring...pls sir make some interesting vedios so that we can not get bored....!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
@shivrajshinde1738
@shivrajshinde1738 4 жыл бұрын
very confusing. actually, there is no proper video on Abstraction on you Tube.
@hmak5423
@hmak5423 4 жыл бұрын
Did he just call me an alien?
@cgarzs
@cgarzs Жыл бұрын
My eyes are burning. Does search and rescue use your IDE as a floodlight?
@keshavsingh4522
@keshavsingh4522 4 жыл бұрын
this video is so confusing,make it clear and consice.please sir
@शुभमपाठक-र6ल
@शुभमपाठक-र6ल 4 жыл бұрын
nothing understood during the last part of video please make a video on this again
@theprimordialdude1138
@theprimordialdude1138 4 жыл бұрын
Many many thanks for posting the missed leathers of python. We are waiting for it👌👌👌👌😋😋
@iamniks
@iamniks 4 жыл бұрын
ok i understand the concept of abstract but i don't understand the actual use of abstract.
@dillibabu1472
@dillibabu1472 3 жыл бұрын
Put another video based on this topic sir it's only 70%clear
@user-qj4zr1pj9y
@user-qj4zr1pj9y 2 жыл бұрын
YOU DON'T USE DARK MODE !? I BET YOU CAN STARE DIRECTLY AT SUN FOR HOURS !
@mohitkumargautam4060
@mohitkumargautam4060 4 жыл бұрын
sir...please makes video on data structures and algorithms with python please please
@bsmaheshkumar5328
@bsmaheshkumar5328 4 жыл бұрын
1. Abstract base class desire its subclass or child class to instantiate the class object by inheriting its base class. 2. ABC methods require to its proceeding methods in a subclass to add the functionality. 3. ABC just def the methods but all its functionality will be designed by a subclass. 4. ABC customize the behaviour of isinstance() and issubclass()
@pranavnyavanandi9710
@pranavnyavanandi9710 2 жыл бұрын
Did you know ABC is what is called a "metaclass"?
@MDIMRAN-ze3rj
@MDIMRAN-ze3rj Жыл бұрын
What are the benefits of Abstract class? Why do we use it ??
@2account134
@2account134 2 жыл бұрын
Pretty poor explanation with a lot of unnecessary information
@umeshpatil6271
@umeshpatil6271 4 жыл бұрын
Thanks for making easy, understanding videos on python. But this one was a bit confusing for non IT people like me!!! Anyways thanks :-)
@ankireddy5483
@ankireddy5483 4 жыл бұрын
Upload a videos on boto3 please
@unixtreme
@unixtreme 4 жыл бұрын
You don't seem to understand what you are trying to explain.
@boburbekbotirov8282
@boburbekbotirov8282 2 жыл бұрын
can do this namely take instance from child class by abstrac class
@vinaykumarpandiri4686
@vinaykumarpandiri4686 4 жыл бұрын
Please make lectures on Data Analytics and ML
@gontysivaram2109
@gontysivaram2109 3 ай бұрын
yes it , work but nothing is displayed
@MasterCoder99
@MasterCoder99 2 жыл бұрын
Sir, could you do future videos on how to pass python certificiations, specifically the PCPP (Python institute professional certfied). By the way, brilliant instruction. Thanks
@Chandalyt
@Chandalyt 4 жыл бұрын
Things are becoming more difficult. And I can't understand anything. Your videos are not for beginners. Need some practice to me to understand. Hope things became clear in the further video.
@ArhamKhan05
@ArhamKhan05 4 ай бұрын
Thank You So Much Sir.
@prakhushful
@prakhushful 2 жыл бұрын
You don't have clear idea of what abstract classes are. If you really want to help your viewers then make another video of ABCs and show some concrete details. Thank You!
@prakhushful
@prakhushful 2 жыл бұрын
Implementation of ABCs must be taught in a very good way. If you need any resources, reply my comment. I will you my e-mail id.
@jawadaslam8537
@jawadaslam8537 3 жыл бұрын
can a non abstract class have abstract methods in python ..in java,c++ its not but what about python
@BLACK76870
@BLACK76870 3 жыл бұрын
Thanks for the video. but you can make it better
@malaygangulycodinghighway8547
@malaygangulycodinghighway8547 4 жыл бұрын
wonderful sir, great tutorial, thank you
@momenulislam8567
@momenulislam8567 2 жыл бұрын
The concept is actually tough to understand here if we don't have basic understanding of Java abstract class.. But very nicely explained. ❤🎉
@temporarychannel4339
@temporarychannel4339 Жыл бұрын
This vid isn't clear at all. I only understood b/c I know abstract classes from C++, only then did I understand overriding abstract methods in child classes. Otherwise, the explanation is very unclear but he did show how to create and override abstract classes/methods at least using the custom library.
@gadapasaikrupa9998
@gadapasaikrupa9998 3 жыл бұрын
sie what happened in this video u looked very dull
@lyricsmint567
@lyricsmint567 4 жыл бұрын
Can we expect a video, explaining Django 3.0 new features..? and advance stuff like cookies and sessions in Django.?
@amanagrawal003
@amanagrawal003 4 жыл бұрын
yes i have exact same question
@rudranshsharma2074
@rudranshsharma2074 3 жыл бұрын
No it will not work coz it is subclass of Abstract class
@zakiasmaa6834
@zakiasmaa6834 Ай бұрын
Respected and honourable sir ,i have been learning python from scratch only on your KZbin channel.
@Chandalyt
@Chandalyt 4 жыл бұрын
Someone is knocking the door
@tony7948
@tony7948 5 ай бұрын
Did he say welcome back indians?
@ji-axinliu4448
@ji-axinliu4448 3 жыл бұрын
sorry, I was too focused to like the videos.
@raghvendratripathi9988
@raghvendratripathi9988 3 жыл бұрын
Sir can you please start machine learning!
@sreelakshmirajesh1855
@sreelakshmirajesh1855 10 ай бұрын
I have a doubt that, what is the significance of abstract method because method overloading and inheritance seems to be same as abstract classes... couldn't find the difference in between them...can you please help in this?
@nemesis_rc
@nemesis_rc 3 жыл бұрын
Previous background was waaaayyyyyy better
#61 Python Tutorial for Beginners | Iterator
10:48
Telusko
Рет қаралды 346 М.
Cute
00:16
Oyuncak Avı
Рет қаралды 12 МЛН
отомстил?
00:56
История одного вокалиста
Рет қаралды 7 МЛН
规则,在门里生存,出来~死亡
00:33
落魄的王子
Рет қаралды 23 МЛН
Abstract Class & Abstract Method in Python | Python Tutorials for Beginners #lec99
26:38
Socket Programming Using Python
17:07
Telusko
Рет қаралды 297 М.
Protocol Or ABC In Python - When to Use Which One?
23:45
ArjanCodes
Рет қаралды 202 М.
Dictionary in Python
12:24
Telusko
Рет қаралды 1,4 МЛН
Python abstract classes 👻
7:45
Bro Code
Рет қаралды 78 М.
OOP in Python | Object Oriented Programming
1:45:19
Telusko
Рет қаралды 1,8 МЛН
#64 Python Tutorial for Beginners | MultiThreading
14:45
Telusko
Рет қаралды 439 М.
#63 Python Tutorial for Beginners | Exception Handling
15:59
Telusko
Рет қаралды 519 М.
Understanding Python: Abstract Base Classes
21:27
Jake Callahan
Рет қаралды 4,8 М.