Thanks mere bhai you made my programming career , I really appreciate your hard work.
@anitagola47946 ай бұрын
Ap programmer hai
@anitagola47946 ай бұрын
Mujhe bhi guide krdo
@infotechprasad727410 ай бұрын
Very nice explanation
@saiyedmohammadnawaz71922 ай бұрын
great job
@Cric_trick57225 күн бұрын
In main function the object will be animal r = new Dog() and animal l = new Lion()..
@asfandiyarwali377 Жыл бұрын
mashaALLAH sir keep it up.
@KiranBPatil-rp7wy2 жыл бұрын
Veryy helpful ❤️
@hafsaaestheticvlogs79139 ай бұрын
Amazing ❤
@nazi07able7 ай бұрын
Thank you Sir! :)
@kamakshagupta58002 жыл бұрын
Thank u so much sir🙂
@vivekoberoi35322 жыл бұрын
sir aap must padhate ho
@prabalsingh6113 Жыл бұрын
Thank you brother for your help
@SantLal-eh8ox10 ай бұрын
Thanks sir
@farmesh60243 жыл бұрын
When you ans my comant then I subscribed your chanal
@LearnCodingOfficial3 жыл бұрын
Please ask your question
@sadakagaja3 жыл бұрын
Tq sir 🙏
@samarbhao85433 жыл бұрын
thank u so much
@chinmaygaikwad76902 жыл бұрын
yaha per hum animal class ka(parent class) ka referance variable bana ke bhi subl classes ko call ker sakte hai kya... ?🤔👇 animal r = new Dog(); animal l = new Lion();
@chinmaygaikwad76902 жыл бұрын
Aur public keyword nahi use kiya to bhi chalaga
@chinmaygaikwad76902 жыл бұрын
Thank you so much sir😇, Great Explanation SIr👏👍
@jackuvishwh29373 жыл бұрын
Advance java pe video bnaye
@rajkumargautam46328 ай бұрын
Sir mujhe ek doubt hai , mene dekha ki yahan abstract method ek template ki tarah work kar raha hai and baki another Child class us template ko use karke apna apna behaviour show kar rahe hai to sir ye to method overriding ki tarah hi hua na kyu method overriding me bhi same method name hota tha but uska behaviour sabhi child class apni requirements ko dekh kar define karte the . To sir mujhe ek doubt hai ki method overriding and abstract method me kya difference hai ?
@Billionaire_artist3 жыл бұрын
Bro your all videos are useful nd u are a good youtuber..but your voice is gruff so you should your voice bold then I'll understand very well..nd thanks for reaching us..
@dhmilan6077 Жыл бұрын
Can you make spring boot video, I’m eagerly waiting this
@rahulbhardwaj74253 жыл бұрын
Super keyword must be first statement to call constructor
@LearnCodingOfficial3 жыл бұрын
Yes
@amarjeetkaur97063 жыл бұрын
Sir net web designing ke MCQ notes mil jaenge
@ianshusawran93 жыл бұрын
Thank sir jisko v smjh aaya comments kro
@LearnCodingOfficial3 жыл бұрын
🙏🙏🙏
@LearnCodingOfficial3 жыл бұрын
Anshu please contact, I want to talk to you
@ianshusawran93 жыл бұрын
Yes sir abcause tell me
@anitagola47946 ай бұрын
Please ek project bhi bnana dikha do me fresher hu
@LordSarcasticVlogger6 ай бұрын
I am from NIT [CSE].I can teach you if you want😊
@islamicnation2101 Жыл бұрын
Sir ager abtract class man aek se zayada normal constructors hon..tu super ka word kis ko call kare ga
@LearnCodingOfficial Жыл бұрын
Jisko hm mentioned krege super Keyword k saath 🙂
@arnavarni11236 ай бұрын
Which app do you use for java
@pulkitgupta56252 жыл бұрын
Yha par @Override use kyon nhi kia h?
@RanjanKumar53 жыл бұрын
In this Abstraction program ,there is inheritance fine, but there is also polymorphism MEDHOD OVERRIDING [ public void sound ( ) ] and ur still saying its abstract ???
@MAX-ym1pm2 жыл бұрын
Yaa ofcourse where there is inheritance there will definitely method over riding comes bro
@MAX-ym1pm2 жыл бұрын
It's correct example for abstraction
@jahidaalam49713 жыл бұрын
Kabhi kabhi to lagta ki tumich bhagwan ho bawa
@LearnCodingOfficial3 жыл бұрын
Are nhi yaar, mere bhai बहुत अच्छा लग रहा है!😃😃😃 thank you so much
@mubaraknative2 жыл бұрын
Bhai 😰 I have a One Doubt How The " All animals ....! " Was Print In 2 Times Please Answer My Question
@roshanprasad99322 жыл бұрын
bhai, do baar object create kiye na isiliye..
@suzanaangboo24483 жыл бұрын
I wonder why to use abstract Look we only create method in parent class and in child class(dog & lion) we even create method and write code and call method in main class. But we can do this without parent class eg. We need to create 2 class (dog & lion) and inside it we can create method eat() and call it in main class . So why to use abstraction?
@DreamDropsTV2 жыл бұрын
you are thinking like a C programmer . You are forgetting that java follows OOP paradigm . To maintain the relationship between a generic animal with its different instances is basically an act of inheritance. With your logic why is inheritance even exists then??. Think like a real -life world problem . And don't deviate from OOP. Like we Humans Belong to Animal class which is the super Class of Animal Kingdom . After that animals gets sub divided into mammals, Amphibians, Reptiles, Avians, fish and invertebrates. This abstract class of animal kingdom doesn't have enough characteristics to differentiate each animal . It may have basic info like, an Animal will eat food, it will have legs etc. but it can't give characteristic like colour , no. of legs , life expectancy. The use of abstract class is to make a standard genaralized characteristic which every animal must follow. This analogy is very important in terms of software development and even with game development.
@suzanaangboo24482 жыл бұрын
@@DreamDropsTV wow thankyou sir
@suzanaangboo24482 жыл бұрын
@@DreamDropsTV you mean Animal have the characteristics of eating, walking but it cannot clearly give information how they eat and walk. As dog is also animal. it have the characteristics of animal so it extends or implement Animal class and in that class we need to define exactly how they walk and eat Due to lack or vary of information we use abstraction to define it clearly in its child class But can you tell me that can it be used in android development if yes then where and hou
@e2_10_vivekburnwal3 Жыл бұрын
Abstract classes provide a way to enforce a certain structure in the inheritance hierarchy. By having abstract methods in the abstract class, you ensure that concrete subclasses must provide implementations for those methods. This helps in maintaining a consistent design.
@Naveenkumar-qc6zj Жыл бұрын
why did you use public abstract void sound( ) in abstarct class?
@LearnCodingOfficial Жыл бұрын
Just for explaining the things.
@priotoshdas8781 Жыл бұрын
apne ager Animal class ka hi object banaya hota toh super keyword ka use karne ki jarurat he nhi padti sir ji. like ex: Animal obj = new Dog; Animal Obj2 = new Lion; obj.sound(); Obj2.sound(); thank you
@rrr1304 Жыл бұрын
WOO ABSTRACT CLASS HYE BRO
@rrr1304 Жыл бұрын
REFRANCE BOLO
@AARUSHIGARG-i3i3 ай бұрын
exactly, good that you pointed out i was confused there lol
@priyankasahu29782 жыл бұрын
sub class me constructor nhi bna rahe tab bhi constructor call ho raha hai ?
@thefantastic9945 Жыл бұрын
Ye jo last per howa wo to super use kiye begair or child class mein constructor na bhi banao to print ho raha hae
@sarthaknagrani98363 жыл бұрын
what should be the mane of the class in the dog and lion example??
@fitNdedicated Жыл бұрын
run nhi hora jese tumne bataya ese hi kia
@mr360explain3 жыл бұрын
Bhai dog class me sound method ko @override kiu nahi kiya??
@LearnCodingOfficial3 жыл бұрын
Kyonki abstract class ke andar abstract aur non abstract dono methods hote hai jo abstract honge unko override krenge baaki ko nhi
@clips4u2663 жыл бұрын
Awsome sir..can i contact with you
@viralworld149 Жыл бұрын
He is asking you question and you are liking the comment😂
@sudeeptpradhan14074 ай бұрын
Isme hum override kyu nhi karrahe jabki next video mein ise kar rahe hain
@gopalpawar86456 күн бұрын
Hum sound class ko dono sub classes me override ker to rahe hi
@sarthaknagrani98363 жыл бұрын
can we name the class as the name of our abstract class?
@saadmayo88222 жыл бұрын
I think no because in intellij idea when I named the class as the name of abstract class there is showing error..
@samanqayyum217610 ай бұрын
Aik bat samjh nhi ayi is ka faida kesy hoya? inherit ho rahi hai classes super se lekin method sab mein apna call ho raha same as hierarchical inherit ki working hai clear this point