TOP 6 difference between Abstract class and Interface in JAVA || Must know facts

  Рет қаралды 181,374

Selenium Express

Selenium Express

Күн бұрын

Пікірлер: 240
@mdmojahidshaba4808
@mdmojahidshaba4808 7 жыл бұрын
Nice bro. thumbs up (go to 5:55 and make some correction you made both abstract method.)
@SeleniumExpress
@SeleniumExpress 7 жыл бұрын
Great Catch Brother. Glad you found the mistake.Thank you.
@akulabhaskar3797
@akulabhaskar3797 6 жыл бұрын
Cant we declare abstract method inside abstract class ?
@RAMAKRISHNARV
@RAMAKRISHNARV 6 жыл бұрын
Yes you can....In fact if we have one method as abstract then the class needs to be defined as abstract..
@SeleniumExpress
@SeleniumExpress 6 жыл бұрын
Ram Kris Hi Ram, even If we don't have any abstract method in our class still we can define it as abstract. If I don't want anybody to create the object of my class then I can define it as abstract..
@akulabhaskar3797
@akulabhaskar3797 6 жыл бұрын
So if i have abstract class i cant create object of respective class ?
@99crazyrider
@99crazyrider 5 жыл бұрын
This is how it should be explained! Every segment is explained and covered with an example, well done. No time wasted here.
@AbhishekKumar-er4fu
@AbhishekKumar-er4fu 3 жыл бұрын
Super Guru jee
@ganeshghuge3405
@ganeshghuge3405 5 жыл бұрын
Great 👍
@vikrampujari2952
@vikrampujari2952 3 жыл бұрын
Well explained bro, Thank you so much..... keep doing more videos..... 👌
@chiruapj3491
@chiruapj3491 3 жыл бұрын
Spectacular explanation 👍 supperrrb
@iam_shahrukh
@iam_shahrukh 3 жыл бұрын
Awesome Explanation keet it going 👍
@akshatjain9762
@akshatjain9762 3 жыл бұрын
Maqsood bhai tum boht acche se samjha ta hai !! thank u
@GiridharaReddy
@GiridharaReddy Жыл бұрын
Wow, really your are amazing 👏
@atulsingh9266
@atulsingh9266 2 жыл бұрын
Content 🙏💥💥💥
@RanaQaiserofficial.
@RanaQaiserofficial. 5 жыл бұрын
Nice,superb...................................................................................................................................................
@varunrickstudios2868
@varunrickstudios2868 5 ай бұрын
Fantastic explain thank you You are Spark 🔥
@inesbrenner2979
@inesbrenner2979 5 жыл бұрын
Finally someone who knows how to explain things, well done!
@arch3994
@arch3994 4 жыл бұрын
What he is telling is theory , not at all connected to technical You are a disaster brenner
@ashishpuma3950
@ashishpuma3950 3 жыл бұрын
@@arch3994 stfu moron, and keep your hateful comments with you we don't need that here...
@vakkalahari5449
@vakkalahari5449 2 жыл бұрын
I like this channel very much Abhilash will teach very easiest way !!!!Thank you😇😇😇
@zameerahmed1775
@zameerahmed1775 2 жыл бұрын
Ur concepts are crystal clear ........ This is the best video abt abstract classes and interafaces. Keep it Up ...... God bless you and ur family
@zebakhanumbadagi8846
@zebakhanumbadagi8846 3 жыл бұрын
Very well explained
@manikannanmarimuthu9232
@manikannanmarimuthu9232 5 жыл бұрын
Finally came to know the clear the difference between Abstract and Interface. Thanks bro.
@AmeyChittar
@AmeyChittar Жыл бұрын
Wow this is the best explanation for interface and abstract class. Thank you so much.
@ramanavanchanagiri1014
@ramanavanchanagiri1014 3 жыл бұрын
Seriously this is top class i literally lost 3 interviews because of this question but this time i confident to answer
@muralimohan7097
@muralimohan7097 3 жыл бұрын
Awesome explanation brother
@nimishagupta7528
@nimishagupta7528 5 жыл бұрын
Good explanation
@NourKhafaji
@NourKhafaji Жыл бұрын
Well done . Thank you for the clear explanation.
@pallavrajput6734
@pallavrajput6734 4 жыл бұрын
Good explanation !! Also one important reason why abstract class has constructor is to achieve constructor chaining. As we know the sole purpose of abstract class is to be extended. Now in any sub-class when object is created and initilized the first call under its constructor is call to super () i.e call to super class constructor and so abstract class has constructor. So if you don't keep any constructor explicitly then jvm keep one default constructor to abstract like other normal class. A constructor chaining goes till Object Class.
@sanketpokharkar1377
@sanketpokharkar1377 2 жыл бұрын
Best video Bro ❤️❤️
@xerinaysawutaji8105
@xerinaysawutaji8105 6 жыл бұрын
Best video about the interface and abstract class. so glad to watch it.
@bharukatta
@bharukatta 3 жыл бұрын
Awesome
@saptagireeshaurya2956
@saptagireeshaurya2956 4 ай бұрын
Very nice
@АльфредГордан
@АльфредГордан 4 жыл бұрын
thanks...you are so cool.very clear explanation
@santhoshchandran6952
@santhoshchandran6952 2 жыл бұрын
Super man, well explained
@desaiaditya12
@desaiaditya12 4 жыл бұрын
Superb
@testingDhippiuh
@testingDhippiuh 4 жыл бұрын
Thanks for sharing
@gauravsaroch7024
@gauravsaroch7024 4 жыл бұрын
Very clear explanation
@vaishalijillewar7437
@vaishalijillewar7437 5 жыл бұрын
Superb explanation... Thank you
@sainathpabba5392
@sainathpabba5392 5 жыл бұрын
Good one. (at 16:50 the constructor and class name mismatching.)
@beryalex1798
@beryalex1798 2 жыл бұрын
Thank you it made scense today for me!
@vijaymohan.p
@vijaymohan.p 6 жыл бұрын
In Java 8 : Functional interface is an interface that contains only one abstract method.
@subhashininallapati2080
@subhashininallapati2080 4 жыл бұрын
excellent
@jaganmohanmylapuru5974
@jaganmohanmylapuru5974 5 жыл бұрын
Best Instructor at Best time . Currently I am trying to switch company your videos conatins most of those questions with best answers(Indian Version). Feels like entire Java interview questions at one place . Thanks is a small thing :D
@ankush2362
@ankush2362 2 жыл бұрын
This is how it should be explained. Crisp and yet detailed. Thanks for making this man 👍🏽👌🏽
@harry6555
@harry6555 5 жыл бұрын
great teacher
@morning8474
@morning8474 4 жыл бұрын
you are just awesome teacher
@rvng6
@rvng6 5 жыл бұрын
Very helpful 👍
@shashanksinghsisodiya514
@shashanksinghsisodiya514 5 жыл бұрын
Why dislike to this video..disliker please give explanation?? Your videos are very helpful dude👌👌
@krishnasingh9111
@krishnasingh9111 6 жыл бұрын
Very nice explanations ...
@mans100
@mans100 4 жыл бұрын
nice tutorial, loved it
@chasedunagan
@chasedunagan 6 жыл бұрын
Very informative video. Thank you
@karthickn956
@karthickn956 4 жыл бұрын
you are explaining very clearly brother thank you...
@prima6170
@prima6170 6 жыл бұрын
Thanks very much for this video. No offense, but when I saw that you were Indian, I almost didn't watch. I have a problem with accents at my age, you see. Anyway, because your accent wasn't that thick, I struggled through, and I'm glad I did. Yours is probably the best video on KZbin for explaining interfaces and Abstract classes. Everybody else just parrots what they've heard in other videos. Thanks again, I plan to watch more.
@Shailendrap008
@Shailendrap008 5 жыл бұрын
Nice explaination for everything..
@karamjitsinghsehdev3451
@karamjitsinghsehdev3451 5 жыл бұрын
Nice
@DeepakSingh-mw9bf
@DeepakSingh-mw9bf 4 жыл бұрын
Sweet
@suzy6455
@suzy6455 3 жыл бұрын
Great explanation! Thank you so much!!!
@mohammedshafiuddin8956
@mohammedshafiuddin8956 4 жыл бұрын
Hi Abhilash, thank you for such a clear explanation, I think at 16:47 you meant B(int i){ this.i = i} while creating a constructor in the abstract class B, but you have typed A(int i) instead of B.
@dbvs007
@dbvs007 5 жыл бұрын
nice man.. thanks for your time explaining others
@prasadsardesai
@prasadsardesai 5 жыл бұрын
This video is very very helpful
@inglevi1
@inglevi1 6 жыл бұрын
NIce tutorial provide with Thread and Multithreading Concept tutorial with real time example
@tenawabateneh6745
@tenawabateneh6745 5 жыл бұрын
nice explanation bro thanks
@umainti4184
@umainti4184 7 жыл бұрын
Good info..Thank you
@SeleniumExpress
@SeleniumExpress 7 жыл бұрын
Thank you Uma..
@astitvagoel8207
@astitvagoel8207 3 жыл бұрын
Thanks a lot for this , i was so confused in these concepts , but you helped a lot thanks a lot bro
@yatendra__singh
@yatendra__singh 3 жыл бұрын
Wow
@santhoshd7790
@santhoshd7790 6 жыл бұрын
awesome bro
@Skripturz
@Skripturz 6 жыл бұрын
nice video, keep up the great work
@rajkhare5949
@rajkhare5949 5 жыл бұрын
Great explanation...i searched lot of material for findings the difference but you have given best explanation at very point to point info....well done!!!
@alvaroisea2259
@alvaroisea2259 3 жыл бұрын
man, thanks a lot for spendng time explaining and editing the video in a way that is so simple to follow along and understand
@Icecodes
@Icecodes 6 жыл бұрын
Great video
@kumaradiv
@kumaradiv 4 жыл бұрын
Awesome Bro, thanks a lot!
@vijayrajsingh2348
@vijayrajsingh2348 4 жыл бұрын
good job....just one suggestion pls try to make more videos on conceptual topics of core java which mainly clear basic concepts.
@SP-rm5ik
@SP-rm5ik 6 жыл бұрын
Nice explanation keep it up.
@omarelrafhi9595
@omarelrafhi9595 4 жыл бұрын
greeat video man, after many tries to understand, this served me the best.
@HyperActive94
@HyperActive94 5 жыл бұрын
you are great thnx
@stefanbats3311
@stefanbats3311 4 жыл бұрын
Absolute legend, thank you for the wonderful lession!
@himanshujain1073
@himanshujain1073 6 жыл бұрын
superb
@Devyanimore8759
@Devyanimore8759 Жыл бұрын
Thanks allot
@akado5663
@akado5663 6 жыл бұрын
Very nice Video. Thanks a lot. Was very helpful for understanding
@Suni777
@Suni777 4 жыл бұрын
Interface used for two purposes in real-time projects 1)to achieve multiple inheritance (1:M) 2)to hide internal implementation And interface means you are providing user to access these methods only from implemented methods ,user cannot access non overriden method try it yourself Interface is like from one stone two birds are fallen.😅 Ok bookish right general example like TV having covering all mother board internal connection but interface on off buttons volume buttons are interface only these things using we can interfer with TV so we are hiding internal implementation showing only services (on off vol+ vol-) take other examples think on it ex(Bluetooth speaker , computer etc) So interface is nothing big topic,it means what are the things user can access that's only we can make it interface implement of that class method and make it access other methods don't implement by interface those methods are not important to access to user (like mother board user not access from TV class so don't implement it and interface reference variable can't access )or security purpose we may call ,one object(user) interface with other object interface(TV or camera etc).
@pnp.peeyush4959
@pnp.peeyush4959 4 жыл бұрын
Prashant from Sairat movie?? JK haha, nice explanation though, thanks!
@Dyslexic_Neuron
@Dyslexic_Neuron 5 жыл бұрын
Best video.....but I didnt understand why the need to declare variables inside an interface ....and why they are final and static ?
@Salimsh12y
@Salimsh12y 3 жыл бұрын
your videos are very good, just want to mention Multi-treading video missing from interview questions
@banabiharisahoo4008
@banabiharisahoo4008 6 жыл бұрын
your teaching style is very well it help me to cleared about abstract class and interface thanks sir
@Dziki8332
@Dziki8332 2 жыл бұрын
11:33 not only abstract class doesn't support multiple inheritance but any class
@pankajkumar00001
@pankajkumar00001 4 ай бұрын
Revisiting after many years,
@dineshsahu8933
@dineshsahu8933 5 жыл бұрын
Nice explanation bro.plz take a look at 16:52 and make some correction you made constructor A which is not a class name.
@punithkumar11
@punithkumar11 7 жыл бұрын
Wonderful explanation
@ranvijaysingh1591
@ranvijaysingh1591 6 жыл бұрын
Hello Brother, I have gone through all the videos of Selenium Express. These videos helped me a lot. Thanks for your these much effort, and now i want to learn the spring boot. Can you please upload series of Spring boot.
@naveenpatidar2556
@naveenpatidar2556 3 жыл бұрын
yes you are correct, because constructor should have the same name as class name.
@shivammaniya2962
@shivammaniya2962 4 жыл бұрын
better bro
@asmamourad2140
@asmamourad2140 6 жыл бұрын
Thanks a lot.
@kavitamudalagi1553
@kavitamudalagi1553 7 жыл бұрын
superb explanation...
@ravikiran1091
@ravikiran1091 6 жыл бұрын
but too many right right...but good one
@rameshbabu5754
@rameshbabu5754 5 жыл бұрын
please can you do Hash Set internal mechanism video
@ragiththomas9510
@ragiththomas9510 6 жыл бұрын
Thank you very much for the video
@SeleniumExpress
@SeleniumExpress 6 жыл бұрын
Ragith Thomas you are welcome 😊
@yunicoardianpradana7288
@yunicoardianpradana7288 5 жыл бұрын
thats a good explanation. now i am understand the difference between abstact class and interface................. good job ..... keep make a video like this
@souravshaw9344
@souravshaw9344 5 жыл бұрын
thank you.You got a new subscriber😇
@rayam3098
@rayam3098 5 жыл бұрын
Thank you bro
@ArvindKumar-en5mr
@ArvindKumar-en5mr 6 жыл бұрын
Well done. Keep it up bro.
@mingosutu
@mingosutu 4 жыл бұрын
I didn't know we could declare methods with a body in an interface or variables in an interface. I have no idea about Java but in Csharp that is not allowed. In C# you only declare abstract methods, i.e method without a body. So, the only benefit is that interfaces allow multi-inheritance, which is good, while abstracts don't. But abstract classes can contain properties, non abstract methods as well as abstract methods. Is that right? Good video, thanks a lot.
@mahirakhan4172
@mahirakhan4172 5 жыл бұрын
Thanks
@camilosalazar9987
@camilosalazar9987 6 жыл бұрын
Best video in youtube ever, thank you for helping me understand.
@anilamane696
@anilamane696 7 жыл бұрын
Rocking description
@brankoblesicjr.5792
@brankoblesicjr.5792 4 жыл бұрын
wow
@subashreeaswini
@subashreeaswini 2 жыл бұрын
@16:50 it has to be abstract class A or constructor should be B(int i)
@maverickmurugan7610
@maverickmurugan7610 5 жыл бұрын
Bro ,ur way of teaching really super and very clear and ur English was fluently bro, keep it up bro👌👌👌👌👌👌👌👌👍👍👍👍👍👍💐💐💐💐💐
Why string is immutable in java || The 4 reasons you must know || part 1
20:53
UFC 310 : Рахмонов VS Мачадо Гэрри
05:00
Setanta Sports UFC
Рет қаралды 1,2 МЛН
Мен атып көрмегенмін ! | Qalam | 5 серия
25:41
Difference between Interface and Absract Class
16:57
DURGA EDUCATION
Рет қаралды 975 М.
Abstract Classes and Methods in Java Explained in 7 Minutes
7:00
Coding with John
Рет қаралды 582 М.
When to use Abstract class and When to use Interface in Java
20:04
Generics In Java - Full Simple Tutorial
17:34
Coding with John
Рет қаралды 1,1 МЛН
#61 Abstract Keyword in Java
12:09
Telusko
Рет қаралды 200 М.