abstract class program in java | Learn Coding

  Рет қаралды 174,842

Learn Coding

Learn Coding

Күн бұрын

Пікірлер: 93
@anitagola4794
@anitagola4794 6 ай бұрын
Apki sikhane ki technique bhut achi hai thanku
@OfficialMotivation3423
@OfficialMotivation3423 Жыл бұрын
MashaAllah sir you are very good teacher forever
@rahulbisht5216
@rahulbisht5216 2 жыл бұрын
Thanks mere bhai you made my programming career , I really appreciate your hard work.
@anitagola4794
@anitagola4794 6 ай бұрын
Ap programmer hai
@anitagola4794
@anitagola4794 6 ай бұрын
Mujhe bhi guide krdo
@infotechprasad7274
@infotechprasad7274 10 ай бұрын
Very nice explanation
@saiyedmohammadnawaz7192
@saiyedmohammadnawaz7192 2 ай бұрын
great job
@Cric_trick572
@Cric_trick572 25 күн бұрын
In main function the object will be animal r = new Dog() and animal l = new Lion()..
@asfandiyarwali377
@asfandiyarwali377 Жыл бұрын
mashaALLAH sir keep it up.
@KiranBPatil-rp7wy
@KiranBPatil-rp7wy 2 жыл бұрын
Veryy helpful ❤️
@hafsaaestheticvlogs7913
@hafsaaestheticvlogs7913 9 ай бұрын
Amazing ❤
@nazi07able
@nazi07able 7 ай бұрын
Thank you Sir! :)
@kamakshagupta5800
@kamakshagupta5800 2 жыл бұрын
Thank u so much sir🙂
@vivekoberoi3532
@vivekoberoi3532 2 жыл бұрын
sir aap must padhate ho
@prabalsingh6113
@prabalsingh6113 Жыл бұрын
Thank you brother for your help
@SantLal-eh8ox
@SantLal-eh8ox 10 ай бұрын
Thanks sir
@farmesh6024
@farmesh6024 3 жыл бұрын
When you ans my comant then I subscribed your chanal
@LearnCodingOfficial
@LearnCodingOfficial 3 жыл бұрын
Please ask your question
@sadakagaja
@sadakagaja 3 жыл бұрын
Tq sir 🙏
@samarbhao8543
@samarbhao8543 3 жыл бұрын
thank u so much
@chinmaygaikwad7690
@chinmaygaikwad7690 2 жыл бұрын
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();
@chinmaygaikwad7690
@chinmaygaikwad7690 2 жыл бұрын
Aur public keyword nahi use kiya to bhi chalaga
@chinmaygaikwad7690
@chinmaygaikwad7690 2 жыл бұрын
Thank you so much sir😇, Great Explanation SIr👏👍
@jackuvishwh2937
@jackuvishwh2937 3 жыл бұрын
Advance java pe video bnaye
@rajkumargautam4632
@rajkumargautam4632 8 ай бұрын
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_artist
@Billionaire_artist 3 жыл бұрын
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
@dhmilan6077 Жыл бұрын
Can you make spring boot video, I’m eagerly waiting this
@rahulbhardwaj7425
@rahulbhardwaj7425 3 жыл бұрын
Super keyword must be first statement to call constructor
@LearnCodingOfficial
@LearnCodingOfficial 3 жыл бұрын
Yes
@amarjeetkaur9706
@amarjeetkaur9706 3 жыл бұрын
Sir net web designing ke MCQ notes mil jaenge
@ianshusawran9
@ianshusawran9 3 жыл бұрын
Thank sir jisko v smjh aaya comments kro
@LearnCodingOfficial
@LearnCodingOfficial 3 жыл бұрын
🙏🙏🙏
@LearnCodingOfficial
@LearnCodingOfficial 3 жыл бұрын
Anshu please contact, I want to talk to you
@ianshusawran9
@ianshusawran9 3 жыл бұрын
Yes sir abcause tell me
@anitagola4794
@anitagola4794 6 ай бұрын
Please ek project bhi bnana dikha do me fresher hu
@LordSarcasticVlogger
@LordSarcasticVlogger 6 ай бұрын
I am from NIT [CSE].I can teach you if you want😊
@islamicnation2101
@islamicnation2101 Жыл бұрын
Sir ager abtract class man aek se zayada normal constructors hon..tu super ka word kis ko call kare ga
@LearnCodingOfficial
@LearnCodingOfficial Жыл бұрын
Jisko hm mentioned krege super Keyword k saath 🙂
@arnavarni1123
@arnavarni1123 6 ай бұрын
Which app do you use for java
@pulkitgupta5625
@pulkitgupta5625 2 жыл бұрын
Yha par @Override use kyon nhi kia h?
@RanjanKumar5
@RanjanKumar5 3 жыл бұрын
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-ym1pm
@MAX-ym1pm 2 жыл бұрын
Yaa ofcourse where there is inheritance there will definitely method over riding comes bro
@MAX-ym1pm
@MAX-ym1pm 2 жыл бұрын
It's correct example for abstraction
@jahidaalam4971
@jahidaalam4971 3 жыл бұрын
Kabhi kabhi to lagta ki tumich bhagwan ho bawa
@LearnCodingOfficial
@LearnCodingOfficial 3 жыл бұрын
Are nhi yaar, mere bhai बहुत अच्छा लग रहा है!😃😃😃 thank you so much
@mubaraknative
@mubaraknative 2 жыл бұрын
Bhai 😰 I have a One Doubt How The " All animals ....! " Was Print In 2 Times Please Answer My Question
@roshanprasad9932
@roshanprasad9932 2 жыл бұрын
bhai, do baar object create kiye na isiliye..
@suzanaangboo2448
@suzanaangboo2448 3 жыл бұрын
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?
@DreamDropsTV
@DreamDropsTV 2 жыл бұрын
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.
@suzanaangboo2448
@suzanaangboo2448 2 жыл бұрын
@@DreamDropsTV wow thankyou sir
@suzanaangboo2448
@suzanaangboo2448 2 жыл бұрын
@@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
@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
@Naveenkumar-qc6zj Жыл бұрын
why did you use public abstract void sound( ) in abstarct class?
@LearnCodingOfficial
@LearnCodingOfficial Жыл бұрын
Just for explaining the things.
@priotoshdas8781
@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
@rrr1304 Жыл бұрын
WOO ABSTRACT CLASS HYE BRO
@rrr1304
@rrr1304 Жыл бұрын
REFRANCE BOLO
@AARUSHIGARG-i3i
@AARUSHIGARG-i3i 3 ай бұрын
exactly, good that you pointed out i was confused there lol
@priyankasahu2978
@priyankasahu2978 2 жыл бұрын
sub class me constructor nhi bna rahe tab bhi constructor call ho raha hai ?
@thefantastic9945
@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
@sarthaknagrani9836
@sarthaknagrani9836 3 жыл бұрын
what should be the mane of the class in the dog and lion example??
@fitNdedicated
@fitNdedicated Жыл бұрын
run nhi hora jese tumne bataya ese hi kia
@mr360explain
@mr360explain 3 жыл бұрын
Bhai dog class me sound method ko @override kiu nahi kiya??
@LearnCodingOfficial
@LearnCodingOfficial 3 жыл бұрын
Kyonki abstract class ke andar abstract aur non abstract dono methods hote hai jo abstract honge unko override krenge baaki ko nhi
@clips4u266
@clips4u266 3 жыл бұрын
Awsome sir..can i contact with you
@viralworld149
@viralworld149 Жыл бұрын
He is asking you question and you are liking the comment😂
@sudeeptpradhan1407
@sudeeptpradhan1407 4 ай бұрын
Isme hum override kyu nhi karrahe jabki next video mein ise kar rahe hain
@gopalpawar8645
@gopalpawar8645 6 күн бұрын
Hum sound class ko dono sub classes me override ker to rahe hi
@sarthaknagrani9836
@sarthaknagrani9836 3 жыл бұрын
can we name the class as the name of our abstract class?
@saadmayo8822
@saadmayo8822 2 жыл бұрын
I think no because in intellij idea when I named the class as the name of abstract class there is showing error..
@samanqayyum2176
@samanqayyum2176 10 ай бұрын
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
@9211abhishek
@9211abhishek 4 ай бұрын
same doubt
@merajmonitor9907
@merajmonitor9907 3 жыл бұрын
Sir how to installed java in computer
@LearnCodingOfficial
@LearnCodingOfficial 3 жыл бұрын
Install java jdk 👇👇👇 kzbin.info/www/bejne/in_SmJqnnc2pkNE
@fitNdedicated
@fitNdedicated Жыл бұрын
isme alag kya hua bhai method to phir b banaye alag alag class mai
@shyamala9357
@shyamala9357 Жыл бұрын
ISme overriden nahi use kia hai
@farmesh6024
@farmesh6024 3 жыл бұрын
Sir please first explain html
@LearnCodingOfficial
@LearnCodingOfficial 3 жыл бұрын
After java html
@subhamminz133
@subhamminz133 3 жыл бұрын
Sir mere ko coding ka first part ka link do
@LearnCodingOfficial
@LearnCodingOfficial 3 жыл бұрын
C or C++ or Java kiska link de ya phir koi topic ka link bolo
@subhamminz133
@subhamminz133 3 жыл бұрын
@@LearnCodingOfficial sir g mere ko coding sikna hai to aap bolo first Kay sikna hai
@LearnCodingOfficial
@LearnCodingOfficial 3 жыл бұрын
Phle aap c language sikho uske baad java ya phir python dono me se ek choose kro aur career me aage बढ़ो
@subhamminz133
@subhamminz133 3 жыл бұрын
@@LearnCodingOfficial koi free learning hai kay🥺🥺
@sumanhalwai8967
@sumanhalwai8967 3 жыл бұрын
ALlEenahalwalkfbud
@adnanbegMirza4151
@adnanbegMirza4151 Жыл бұрын
Mujhe samajh nhi aya bhai
@LearnCodingOfficial
@LearnCodingOfficial Жыл бұрын
Please ask
@aviralbhatnagar4982
@aviralbhatnagar4982 Жыл бұрын
Kuch bhi padha diya bhai ....
@viholvishwassinh1709
@viholvishwassinh1709 9 ай бұрын
Pichla lecture dekho
@honeman
@honeman 9 ай бұрын
​@@viholvishwassinh1709 bro 9 month ka baad batane ka no use 😅 i guess exam tho ho gye 😅😅
@59shaikhhares15
@59shaikhhares15 9 ай бұрын
😂​@@honeman@avi😂
@zzgaming9857
@zzgaming9857 9 ай бұрын
Abstract Method in Java | Learn Coding
18:45
Learn Coding
Рет қаралды 190 М.
It works #beatbox #tiktok
00:34
BeatboxJCOP
Рет қаралды 41 МЛН
Quando A Diferença De Altura É Muito Grande 😲😂
00:12
Mari Maria
Рет қаралды 45 МЛН
AIOps vs MLOps explained in 10 minutes
11:18
Abhishek.Veeramalla
Рет қаралды 3,9 М.
Interface in Java | Learn Coding
15:09
Learn Coding
Рет қаралды 794 М.
Abstraction in Java | Abstract Class | Abstract Method
19:35
Engineering Digest
Рет қаралды 9 М.
Java Abstraction with examples
13:50
learnprograming byluckysir
Рет қаралды 51 М.
CLASS | Zakir khan | Stand up Comedy | Sukha Puri 8
24:07
Zakir Khan
Рет қаралды 669 М.
Abstract Class in Java | Learn Coding
10:45
Learn Coding
Рет қаралды 531 М.
Abstract Classes and Methods in Java Explained in 7 Minutes
7:00
Coding with John
Рет қаралды 566 М.
Packages in Java | Learn Coding
10:41
Learn Coding
Рет қаралды 608 М.