hamari khubsurat ma'am hamesa confuse ho jati hain....samjhate samjhate .... aur hum ho jate hain confuse ma'am ko................dekhte dekhte. but sir aap ka concept kafi clear hai. thank you very much hame samjhane k liye. ab hum samajh gaye.
Bhai i am a huge fan of yours.. the way u teach is a treat to my brain... thanks a lot for creating such wonderful tutorials man.. Respect! keep up the good work..
Sir very nice representation and i understand clerly but there is silli doubt if we abstract the class then implemention of all its method() is compulsary by all that classes which can extend or inherit it...Please give the answer
Hi Rahul. Thanks for your video. My question is. Can i create object of abstract class if there is no abstract keyword but that class will have abstract method?
Thank you for your tutorial It really helpful to understand the Opps. but I have a query regarding this abstract Class. How do I get Monthly salary / hourly salary" echo $fulltime->getMonthlySalary();" / $parttime->getMonthlySalary();" for both the situation. you already pass name through __construct($f, $l). Please explain..... I will very thankful if you answer asap.
karthik shama rao For Sure, I'm gonna do that. But, before that I'll be doing a few videos on concepts related to polymorphism. That I think are required to be understood before get into polymorphism.
+PHP in Hindi Hello rahul bhai,,, Its Abdulwahhab From Pakistan. Unbelievably amazing tutorial. Keep it up,,, I'm still waiting for your CI and Laravel tutorial, which Alok bhai asked you. Thanks. Regards,
I've already completed CI Tutorial series. Here is the link: ua-cam.com/play/PLHFGzOr0F8DI5IBxWWzHvdUL_HmWUAqg2.html I've also started Laravel 5.2 Tutorial series, available on this link: ua-cam.com/play/PLHFGzOr0F8DKXHU3JWSrrbDzNbyA5ClPj.html
Hi Rahul sir, Coming to last part of this video, You said If a method is declared abstract ,then no need to make its class as abstract untill we want it to be further instantiated. However, If we are doing so in the video by making getMonthlySalary() as abstract and not to class , then why we get error although getMonthlySalary() is implemented in both the child class ?? The error get resolved only when we make BaseEmployee class as abstract. Please clarify. This is concept building points.
hello sir i not extends contraxtEmployess to BaseEmployess but that time also fristname and lastname property use in contraxtEmployess how it possibale
public abstract function getMonthlySalary() is that a abstract class or abstract methods? I'm little bit confused between abstract class and abstract method
Hi Rahul, I want to know How to run an .exe program from the browser(for example :SAP software)?Please reply me as soon as possible . Thanks In Advance
i had created an adstract function in Employee class (base class) but it showing an error that is "Fatal error: Class Employee contains 1 abstract method and must therefore be declared abstract or implement the remaining methods (Employee::getMonthlySalary)" When i make that Employee class (base class) an abstract class its work fine. Why
whay we have to make baseemployee class as abstract. If we are doing so in the video by making getMonthlySalary() as abstract and not to class , then why we get error although getMonthlySalary() is implemented in both the child class ?? The error get resolved only when we make BaseEmployee class as abstract. Please clarify. This is concept building points.
does that mean i have to declare the class abstract too.. as u had shown in the example if we do not declare the class as abstract it is giving an fatal error
hello sir there are occur problam if i remove abstract class at the class but i also create abstract function in baseemploye but it is work but it is give fatal error . you can show (( ! ) Fatal error: Class baseemploye contains 1 abstract method and must therefore be declared abstract or implement the remaining methods (baseemploye::getmonthlysalary) in C:\wamp64\www\kariyana_store\oops\program1.php on line 21) how can solve it .pls sir tell me
sir procedural php main ab kam hota hai oss mai website develop hoti hai k ab sara kam sirf php oop pr hi hota hai kia kia hum ek sure website php procedural k zariye bna skty hai kiia sir please response to my request as soon as possible thank you very much.....
banane ko to bana sakte hain.. per kuch pages ki website ke liye to procedural theek hai. but agar koi bada project banana hai to OOPs ke bina manage karna bahut mushkil ho jata hai..
The way of your presentation is too good but here sir I have a confusion,we are using the 'public function __construct()' for sending the parameter fname and lname,with these parameters how can we send the annual_salary and hourly_rate as parameters,in the above example.
Agar Class ke aage "Abstract" nahi lagao and method ke aage "Abstract" lagaoto Fatal error: Class BaseClass contains 1 abstract method and must therefore be declared abstract or implement the remaining methods (BaseClass::getmonthlysalary) in C:\wamp\www\oops\6_abstract_class.php on line 21 -------------------------------------------------------------------------------------------------------------------------- class BaseClass { protected $firstname; protected $lastname; public abstract function getmonthlysalary(); public function fullname() { return $this->firstname.' '.$this->lastname; } public function __construct($f,$l) { $this->firstname = $f; $this->lastname = $l; } } -------------------------------------------------------------------------------------------------------------------------- But, Jab me class ke aage "Abstract" Lagata hu tab error nahi aati, to iska reason kya ho sakta hai. -------------------------------------------------------------------------------------------------------------------------- abstract class BaseClass { protected $firstname; protected $lastname; public abstract function getmonthlysalary(); public function fullname() { return $this->firstname.' '.$this->lastname; } public function __construct($f,$l) { $this->firstname = $f; $this->lastname = $l; } } -------------------------------------------------------------------------------------------------------------------------- Please, Tell me a Reason
hamari khubsurat ma'am hamesa confuse ho jati hain....samjhate samjhate ....
aur hum ho jate hain confuse ma'am ko................dekhte dekhte.
but sir aap ka concept kafi clear hai. thank you very much hame samjhane k liye.
ab hum samajh gaye.
Best tutorial I have ever seen. Even better than most of the paid Tutorials.
Kudos.
Nice tutorial and descriptive.Rahul keep making such wonderful video will help more n more across the globe
Most useful tutorial...this tutorial solved my all doubt related to oops..
Abstract class concept got clear... from this video Thank You
gr8 job sir...extremely helpful ...thank you and pranaam sir
very good tutorial....specially for use concept of cloud computing.. Thanks
Bhai i am a huge fan of yours.. the way u teach is a treat to my brain... thanks a lot for creating such wonderful tutorials man.. Respect! keep up the good work..
Hi, Brother, You deserve a subscription Excellent struggle and awesome method to convey such type of things.......
Great Tutorial. Just what i am looking for understanding the abstract class and its uses.
main sublime text use karta hoon and usme *baseEmployee* ke aage *abstract* lagana zaruri hai. and thank you so much for the videos. blessed.
It's very helpful to understand.Thanks
Hi Rahul
You explain very well. I understand. thanks
Good video , clear all doubt
Rahul its really a wonderful tutorial. Thanks
Superb job Rahul....Very Helpful
I found this a better way to understand becozz he has done with examples
Awesome video
I really love your style of teaching..
Very nice video really
veryyyyyyyyyyy nice tutorials....explained so well!!
nice video bro
Thanks a lot Mr. Rahul very helpful ....
Good job..
Mst video boss
this tutorial is best. Please share me link of how to use of encaptulation, polymorphism,inheritance and abstract in class.
Best tutorial Really - Hats off
nice one
Amazing tutorial...
thanku rahul!
very nice ...
Excellent tutorial!
best tutorial sir
Hi Rahul,
Could you please explain when to use Abstract class and interface.
wonderfulllll
Sir very nice representation and i understand clerly but there is silli doubt if we abstract the class then implemention of all its method() is compulsary by all that classes which can extend or inherit it...Please give the answer
Nice Tutorial
best explanation ,, thank you so much..
Hi Rahul. Thanks for your video. My question is. Can i create object of abstract class if there is no abstract keyword but that class will have abstract method?
very nice and helpfull, thanks a lot :)
hi nice tutorial..
Please explain diffrance between abstract class and polymorphism
nice tutorial,
awesome tutorial . easy to understand :)
nice lecture
bht accha . hindi me
best tutorial
**************
Thanks sir.....
Thank you for your tutorial It really helpful to understand the Opps.
but I have a query regarding this abstract Class.
How do I get Monthly salary / hourly salary" echo $fulltime->getMonthlySalary();" / $parttime->getMonthlySalary();" for both the situation. you already pass name through __construct($f, $l).
Please explain..... I will very thankful if you answer asap.
thankss alot great tutorial
Hi Rahul,
Can you please upload tutorial for OOPS - Polymorphism concept ?
karthik shama rao For Sure, I'm gonna do that. But, before that I'll be doing a few videos on concepts related to polymorphism. That I think are required to be understood before get into polymorphism.
nice tutorial
can u please upload video for any mvc frame work tutorial like CI, Zend. you are doing really awesome .Thanks
alok kumar verma Yes, I'll do a video tutorial series on one framework CI or Laravel may be after completing this series. thanks for watching. :)
+PHP in Hindi Hello rahul bhai,,, Its Abdulwahhab From Pakistan. Unbelievably amazing tutorial. Keep it up,,, I'm still waiting for your CI and Laravel tutorial, which Alok bhai asked you. Thanks.
Regards,
I've already completed CI Tutorial series. Here is the link: ua-cam.com/play/PLHFGzOr0F8DI5IBxWWzHvdUL_HmWUAqg2.html
I've also started Laravel 5.2 Tutorial series, available on this link: ua-cam.com/play/PLHFGzOr0F8DKXHU3JWSrrbDzNbyA5ClPj.html
Hi Rahul sir, Coming to last part of this video, You said If a method is declared abstract ,then no need to make its class as abstract untill we want it to be further instantiated.
However, If we are doing so in the video by making getMonthlySalary() as abstract and not to class , then why we get error although getMonthlySalary() is implemented in both the child class ?? The error get resolved only when we make BaseEmployee class as abstract.
Please clarify. This is concept building points.
I noticed the same, rahul can you explain
nice sir
helpful
Nice
Konsa editor use kr rhe h aap
thank's
Nice work please upload tutorial of laravel farmework in hindi
Syed Riaz Ahmed Thanks for the appreciation. I'll do a video series on framework may be laravel or CI after completing this series of OOPS. :)
thanks
Syed Riaz Ahmed plz do in laravel
PHP in Hindi can u do tutorial in laravel....this was very nice..great,awsum,fantastic
good
Abstract method, can be with definition ?
thanks alot
hello sir i not extends contraxtEmployess to BaseEmployess but that time also fristname and lastname property use in contraxtEmployess how it possibale
Nice
public abstract function getMonthlySalary() is that a abstract class or abstract methods?
I'm little bit confused between abstract class and abstract method
Method is another name for function, so public abstract function getMonthlySalary() is an abstract method and not class
Functions in OOP PHP are also called as Methods , so u can say it either abstract method or abstract function , its not a class.
Hi Rahul,
I want to know How to run an .exe program from the browser(for example :SAP software)?Please reply me as soon as possible .
Thanks In Advance
Please upload c# tutorial in hindi .. .
sir when u remove abstract key word is shows error
and u already declare abstract method
i had created an adstract function in Employee class (base class) but it showing an error that is "Fatal error: Class Employee contains 1 abstract method and must therefore be declared abstract or implement the remaining methods (Employee::getMonthlySalary)"
When i make that Employee class (base class) an abstract class its work fine. Why
whay we have to make baseemployee class as abstract. If we are doing so in the video by making getMonthlySalary() as abstract and not to class , then why we get error although getMonthlySalary() is implemented in both the child class ?? The error get resolved only when we make BaseEmployee class as abstract.
Please clarify. This is concept building points.
does that mean i have to declare the class abstract too.. as u had shown in the example if we do not declare the class as abstract it is giving an fatal error
Yes, if you declare an abstract method in class then that class must be declared as abstract.
interview me ager puse to simple ans kya de?
Sir encapulation and opps concept ki one line definition dono sir interview purpose se
Is there any conecept of Overloading in php?
punk guys there is no such method in php. It supports only overriding.. well we can overload through interfaces and traits.
hello sir there are occur problam if i remove abstract class at the class but i also create abstract function in baseemploye but it is work but it is give fatal error . you can show (( ! )
Fatal error: Class baseemploye contains 1 abstract method and must
therefore be declared abstract or implement the remaining methods
(baseemploye::getmonthlysalary) in
C:\wamp64\www\kariyana_store\oops\program1.php on line 21) how can solve it .pls sir tell me
Class must be abstract if you abstract method
sir oops may aage ka bhe tutorial uploade kare,
Hi can you please explain from video timing 19:23 to end
sir procedural php main ab kam hota hai oss mai website develop hoti hai k ab sara kam sirf php oop pr hi hota hai kia kia hum ek sure website php procedural k zariye bna skty hai kiia sir please response to my request as soon as possible thank you very much.....
banane ko to bana sakte hain.. per kuch pages ki website ke liye to procedural theek hai. but agar koi bada project banana hai to OOPs ke bina manage karna bahut mushkil ho jata hai..
Thank you sir.please make a medium project in codeigniter ,,,,....With bootstrap...
The way of your presentation is too good but here sir I have a confusion,we are using the 'public function __construct()' for sending the parameter fname and lname,with these parameters how can we send the annual_salary and hourly_rate as parameters,in the above example.
You can set it in constructor
__construct($s, $h){
$this->annualSalary = $s; // variable can be change
same for Hours
}
Agar Class ke aage "Abstract" nahi lagao and method ke aage "Abstract" lagaoto
Fatal error: Class BaseClass contains 1 abstract method and must therefore be declared abstract or implement the remaining methods (BaseClass::getmonthlysalary) in C:\wamp\www\oops\6_abstract_class.php on line 21
--------------------------------------------------------------------------------------------------------------------------
class BaseClass
{
protected $firstname;
protected $lastname;
public abstract function getmonthlysalary();
public function fullname()
{
return $this->firstname.' '.$this->lastname;
}
public function __construct($f,$l)
{
$this->firstname = $f;
$this->lastname = $l;
}
}
--------------------------------------------------------------------------------------------------------------------------
But, Jab me class ke aage "Abstract" Lagata hu tab error nahi aati, to iska reason kya ho sakta hai.
--------------------------------------------------------------------------------------------------------------------------
abstract class BaseClass
{
protected $firstname;
protected $lastname;
public abstract function getmonthlysalary();
public function fullname()
{
return $this->firstname.' '.$this->lastname;
}
public function __construct($f,$l)
{
$this->firstname = $f;
$this->lastname = $l;
}
}
--------------------------------------------------------------------------------------------------------------------------
Please, Tell me a Reason
Class must be abstract if you abstract method
Video apka eha v clear nh hai kuch
Totally time Waste, you are taking time for writing code instead telling about things.
nice tutorial
nice