Lecture 25 Interface in Java Hindi

Поделиться
HTML-код
  • Опубликовано: 28 дек 2024

Комментарии • 252

  • @mobinarshad
    @mobinarshad 5 лет назад +62

    From Java 9 onwards, interfaces can contain following also
    Static methods
    Private methods
    Private Static methods

  • @saurabhching6875
    @saurabhching6875 6 лет назад +21

    I'm pursuing my bachelor's degree in computer science. I've learnt a lot from these lectures and I'm still learning.
    Thank you so much and you're a great teacher.

  • @RITIKKUMAR-mo9ki
    @RITIKKUMAR-mo9ki 4 года назад +16

    Sir i am in 4th sem of my btech cse. I haven’t learned that much concepts in 2 years as i have learn by watching your videos of c, c++, java in last two months. You are great sir. Thank you sir

    • @kingfisher8260
      @kingfisher8260 2 года назад

      yrr tu mera bhai hai, same here 😂😂😂

    • @Og_mike18
      @Og_mike18 Год назад

      ​​@@kingfisher8260aur me tum dono ka bhai hu, same here🤩

  • @KrishnaKumar-qx1mk
    @KrishnaKumar-qx1mk Год назад +2

    I have watched this like 5 times and I also used these interfaces and abstract classes in spring , now I have full clarity on these concepts. Thanking

  • @segarus95
    @segarus95 4 года назад +4

    pehla pehla fat rahi thi par ab maja aa raha ha java ma, kya mast padhaya ha.
    literally when i was attending this lecture i felt like some super hero action movie is going on, it was like at any moment story could get change.
    thank you sir, thank you very much for this lectures.
    love from gujarat

  • @naiveyoutuber4281
    @naiveyoutuber4281 4 месяца назад

    I have been watching you since last 6 years my dear sir you are a different sort of teacher. Awesome way of making us understand.
    One day i must meet you. Hope you will not deny

  • @nehachanna7641
    @nehachanna7641 8 лет назад +26

    sir i have seen your different languages videos all videos are superb and your explaination is excellent thanku for helping students to strong their concepts and knowledge...:-)

    • @kzy747
      @kzy747 4 года назад +4

      Neha Channa masala....

  • @the_hamzakhalid
    @the_hamzakhalid 5 лет назад +39

    Thanks, sir! May Allah give you more success!

    • @somgupta9588
      @somgupta9588 2 года назад +5

      जय श्री राम चौधरी जी 🙏🏻

  • @shailendraKumar-bv1sb
    @shailendraKumar-bv1sb 3 года назад +1

    one of the best video on interface, i learnt interface from many place but your explanation was superb , thanks sir

  • @amyanktiwari
    @amyanktiwari 3 года назад +2

    Amazing teacher this video got length with content ,others have 20min length with 10min content

  • @k283535
    @k283535 2 года назад +1

    Jabardast, samzaya sir ji aapne
    Dhanyawad

  • @SmartProgramming
    @SmartProgramming 6 лет назад +5

    nice one sir, its very helpful for freshers🙂

  • @sonalisoni1604
    @sonalisoni1604 6 лет назад +4

    You are the best teacher I have ever met..After long time feeling like studying in the same class where you used to teach us.

  • @shubhamarya5432
    @shubhamarya5432 5 месяцев назад

    this java series still a master piece on youtube for java students. I'm watching this series in july 2024.

    • @ManojKumarMandiya
      @ManojKumarMandiya 2 месяца назад

      yes bro we can also watch which college from you

  • @Unkn0wn_Legend000
    @Unkn0wn_Legend000 4 года назад +1

    Brilliant sir.... I was stuck in this topic for a while and U made it clear..... Thanks a lot

  • @saurabhverma5460
    @saurabhverma5460 4 года назад +1

    Sir dil khus kr diya aapna ... Aap sai aacha koi samja hi ni sakta. .... Thanku so much sir g .
    Big fan .. reply plz ...

  • @syedraghib7670
    @syedraghib7670 4 года назад +1

    Best java teacher in the world ❤️

  • @aniketsharma3154
    @aniketsharma3154 Год назад

    I am watching this in August 2023. still very helpful, clear, crisp, Short.

  • @owaisekhan2129
    @owaisekhan2129 4 года назад +1

    Really beneficial sir still in 2021 may Allah Almighty reward you with good and guide you.

  • @AbdulBasit-km3ee
    @AbdulBasit-km3ee 8 лет назад

    sir ap k sare videos useful hain ..excellent sir isi tarha videos banate rahen

  • @mohammadmoiz2197
    @mohammadmoiz2197 7 лет назад

    love from Pakistan ..........

  • @rudrarudra8036
    @rudrarudra8036 6 лет назад +1

    Sir your way of explaining is so good, and explaing it in Hindi makes it totally unique and out of every context available
    on you tube. But please give some some example also, like some code which we should also run on eclipse and get confident on the content.
    BTW Thanks a lot for your cooperation and help for society.

  • @siddharthbhardwaj328
    @siddharthbhardwaj328 8 месяцев назад

    best playlist of java i have ever seen

  • @nshukla2013
    @nshukla2013 7 лет назад

    Really sr this video is very useful for interface understand to all java student ..... Thank you sr

  • @AjeetKumar-lp2kx
    @AjeetKumar-lp2kx 7 лет назад

    Sir app jo har ek point ko explain karte ho maza aa jata hai padne main.

  • @navjotsinghvirk7449
    @navjotsinghvirk7449 7 лет назад +1

    loved the video, very detailed explanation with simple code examples and simple language overall very informative and useful video, great for understanding Interface concept from core to become a better programmer or getting prepared for interview questions

  • @divyashukla3251
    @divyashukla3251 8 лет назад +2

    way of your teaching is outstanding sir! gbu

  • @shikharmishra2531
    @shikharmishra2531 9 лет назад +2

    Really sir these videos are very useful for us...and I extremely request u sir more of the upload....thanxxx sir...

  • @ragneetiwari5214
    @ragneetiwari5214 9 лет назад +2

    every vedio are very helpfull for any software developer

  • @mimisona2023
    @mimisona2023 7 лет назад +5

    Sir, this videos are very helpful for me. I request you for providing some star and number pattern in Java, that will be so much beneficial for me too.

  • @VickyKumar-jy3dk
    @VickyKumar-jy3dk 7 лет назад

    Sir Ur way of explaining is fantastic....I like this

  • @harshitbhagat554
    @harshitbhagat554 6 лет назад

    sir, your way of explaining is very clear and understandable

  • @shipratwarneel
    @shipratwarneel 7 лет назад

    Sir aapke videos bhut ache h isko dekh kr basics clear ho jata h. Sir ho plz spring ya hibernate pr v videos bnaiye

  • @risingstar3078
    @risingstar3078 7 лет назад +2

    This video is very useful for us thanks for it.... Sir plzz upload the videos of C# language

  • @gulaamnabim822
    @gulaamnabim822 7 лет назад

    Hi...sir
    bohath acche videos banaya sir aapne...,bohath helpful hua sir mujhe..., thank you sir..,

  • @poojashingewad1469
    @poojashingewad1469 6 лет назад

    the way of explanation, is osmmmm no words,thank you soooo much sir

  • @siri3359
    @siri3359 4 года назад

    Amazing way of teaching sir. Thank you very very much :)

  • @anupamr437
    @anupamr437 3 месяца назад

    In interface:
    1. Method are implicitly public and abstract.
    2. Variables are implicitly public static final.
    w/o providing the keywords while declaring the methods and variables.
    Interface cannot have constructor as it doesn't have instance member variables.
    We can create reference variable of interfaces.
    As Interface can extend multiple parent interface.
    And class can implement multiple interface.
    We can achieve multiple inheritance in java using above behavior.
    Interface can have nested interface which will be public by default.

  • @amitpadole5856
    @amitpadole5856 4 года назад

    Saurabh bhai share aur subscribe bhi utni hi achhese samzate he jaise Java

  • @talharahim
    @talharahim 2 года назад

    Brother you speak clean Urdu like Karachi so easy to understand

  • @arpittiwari6590
    @arpittiwari6590 6 лет назад +2

    Sir please explain difference between object and reference variables

  • @agranshuaggarwal1333
    @agranshuaggarwal1333 6 лет назад

    u r best i have no words to say any thing about u sr i love u sr...

  • @musaphirprajapati6125
    @musaphirprajapati6125 6 лет назад

    Hi sir aap ka video bahut hi achha h. aap ne bahut achhe se bataya h. thank sir

  • @vinayaksharma-ys3ip
    @vinayaksharma-ys3ip Год назад

    Thanks a lot Sir!!! Such a gem video!!

  • @bareetsingh
    @bareetsingh 5 лет назад

    Thanx Sir and Explanation was Superb.

  • @Shriram-fb1he
    @Shriram-fb1he 2 года назад +1

    Sir u r God for me..

  • @sachsachan1239
    @sachsachan1239 4 месяца назад

    Samjane ka tarika to gjb h

  • @goutamkundu6392
    @goutamkundu6392 7 лет назад +1

    Sir I also want ppt of your lectures. Your lectures are really awesome

  • @anbuarasanvellyan
    @anbuarasanvellyan 4 года назад +4

    Thank you Sir, could you please explain if two interfaces having the same function, then the class which implements two of them how will it resolve the conflicts?

    • @amanprakash7415
      @amanprakash7415 3 года назад

      No two interface can have same method with same signatures

  • @prathameshtemkar5662
    @prathameshtemkar5662 4 года назад

    Thanks concept is clear .....👍

  • @Rohitkumar-zt2wp
    @Rohitkumar-zt2wp 5 лет назад

    Awsm.....superb

  • @muhammadhassan3058
    @muhammadhassan3058 4 года назад

    Well-done sir love from pakistan

  • @DeepakChaudhary-vw6nb
    @DeepakChaudhary-vw6nb 7 лет назад +1

    nice and awesome...u r great

  • @usamazafar337
    @usamazafar337 6 лет назад +1

    No Doubt,your Lectures are perfect for the java Beginners.Sir i have a question that i have an interface "Person" containing "Name" and its getter and setter.Then i have implemented a class named "Student" and want to override the setter but it shows error.Please tell me that how can i override the setter function.

  • @CodersTrios3956
    @CodersTrios3956 Год назад

    Awesome explanation sir

  • @SaifKhan-wm9db
    @SaifKhan-wm9db 6 лет назад

    Great sir
    It's too helpful

  • @manojthori
    @manojthori 6 лет назад

    Your explanation is awesome...sir...Thank you..

  • @harissaleem8791
    @harissaleem8791 4 года назад

    IS TARHA KA ..KOE TEACHER POORE INTERNET PE HAI HI NAHI .. NA UDEMY NA KAHIN OR ..
    UNDER THE HOOD KYA HO RHA HAI WO SMJHANA EASILY BHOT HI TALENT KI CHEEZ H .. !
    Class Teacher {
    Public void Thanks (){
    Sout("Thanks to saurabh shukla sir");
    }
    }

  • @nargeesansari6337
    @nargeesansari6337 6 лет назад +1

    very well explained sir ... thank u soo much

  • @nilanjanmukherjee7942
    @nilanjanmukherjee7942 3 года назад

    22:15
    Sir, is it like Early binding in c++??

  • @Samridhivlgs
    @Samridhivlgs 7 лет назад +1

    sir jab abstract class hai hi then interface ka kya kam I mean interface k function ko override kr k define krna hi padta hai then what is the need of it can u explain it with daily life example

  • @kinginthenorth5539
    @kinginthenorth5539 4 года назад +1

    OP sir❤

  • @ishanvarshney9054
    @ishanvarshney9054 7 лет назад +1

    Great job!

  • @shantigupta5377
    @shantigupta5377 6 лет назад

    sir video me explaination bahut understanding hai ,sir or example bataiye na interface ke bare me ,or interface real life me kaha kaha use hota hai like development etc

  • @aniketsakalley5374
    @aniketsakalley5374 4 года назад

    great video sir

  • @dharmendrasinghchouhan242
    @dharmendrasinghchouhan242 Год назад

    Great Lecture

  • @LALANKumar-en5rv
    @LALANKumar-en5rv Год назад

    you can have constructors in an abstract class, the reason you can't have constructors in an interface is not primarily related to static member variables. The fundamental reason is that interfaces serve a different purpose than abstract classes, and they do not represent concrete objects or provide instantiation.
    Here are the key reasons:
    Purpose of Interfaces: Interfaces in Java are meant to define a contract, a set of method signatures that classes must implement. They define what methods a class that implements the interface must have, but they don't contain any state or behavior of their own. Because of this, they don't need constructors for initialization.
    No State or Behavior: Interfaces do not have fields (state) or method implementations (behavior). They are pure abstractions, only specifying method signatures. They don't contain any attributes that need initialization.
    No Object Instantiation: You cannot create instances of an interface using the new keyword. Interfaces are not intended to represent concrete objects that can be instantiated. The responsibility for object initialization belongs to the classes that implement the interface.
    Responsibility of Implementing Classes: When a class implements an interface, it is responsible for providing concrete implementations for all the methods declared in the interface. If an implementing class needs any initialization, it should provide its own constructors to handle that.
    Multiple Inheritance: Java allows a class to implement multiple interfaces. If interfaces had constructors, it could lead to ambiguity and complications when a class implements multiple interfaces, as there would be a question of which constructor(s) to call during instantiation.

  • @logvedio
    @logvedio 7 лет назад +1

    Nice xplanation 👌👌

  • @Jai-xq5hi
    @Jai-xq5hi 4 года назад

    Thank you sir for this online course 🙏

  • @GyandeepDasGupto5566
    @GyandeepDasGupto5566 7 лет назад +1

    Wonderful videos..... Thank u sir....

  • @riyagupta2840
    @riyagupta2840 4 года назад

    great explanation

  • @sanjayssoni5015
    @sanjayssoni5015 7 лет назад +1

    Great Sir,, Video are very informative and helpful to understand the Very Basic concept ..
    Are U planning to Upload the Video Regarding Big Data , Hadoop ?

  • @dr.rajkumar353
    @dr.rajkumar353 7 лет назад

    Thanks so much for all topics I easily understood it

  • @neetishchandrakar5316
    @neetishchandrakar5316 3 года назад

    Bahut achcha samjhae sar ji apne

  • @amitmanna5322
    @amitmanna5322 8 лет назад

    your teaching is so good sir thank you thank you thank you

  • @kaus05
    @kaus05 3 года назад

    About the reference variable of interface part is it only a thing for interface and abstract class? Because i remember playing around practicing polymorphism and did this -> classA obj=new classB();
    obj was able to call methods from classB

    • @kaus05
      @kaus05 3 года назад

      Looking back it was because method for class b was overriding the method from class a reason why it was happening

  • @gamingakhada6516
    @gamingakhada6516 2 года назад

    Well explained

  • @Reequat
    @Reequat 5 лет назад

    sir u are excellent

  • @Storyonmountains
    @Storyonmountains Год назад

    Helpful video ..

  • @chintalshah7473
    @chintalshah7473 4 года назад

    Awesome

  • @upmabaranwal5672
    @upmabaranwal5672 7 лет назад

    bahot acha h

  • @shreyanshgoyal7559
    @shreyanshgoyal7559 6 лет назад

    Sir, abstract class ki subclass ko abstract class ke fields ko bhi override Karna padta hai kya object banane ke liye

  • @Hafizabubakar873
    @Hafizabubakar873 9 лет назад +1

    Excellent Sir

  • @radigitech745
    @radigitech745 4 года назад

    Good job

  • @abhi34776
    @abhi34776 Год назад

    Love you sir dil se

  • @rkp8234
    @rkp8234 8 лет назад

    thank u sir..your videos are really helpfull..

  • @vinaylodhi6475
    @vinaylodhi6475 5 лет назад

    Sir, what is the difference between reference variable and obj ?
    Dono same type se ban rahe hai?

  • @sahilpathan.07
    @sahilpathan.07 5 лет назад

    Sir, hum interface me default function banakar uska use kar sakte hai
    Aur default function ki body bhi interface mr likh sakte hai

  • @parimore6266
    @parimore6266 7 лет назад +1

    Excllent sir. thank u

  • @neerajbisht7505
    @neerajbisht7505 6 лет назад

    sir please make a video in runtime polimorphism and compile time polimorphism.

  • @nargeesansari6337
    @nargeesansari6337 6 лет назад

    watcung it in 2019 .. please sir provide more videos ,.. nore coding please reply.. thank u

  • @souravmorya7097
    @souravmorya7097 4 года назад

    Plss make a video on object tyoe casting

  • @MGtvMusic
    @MGtvMusic 3 года назад

    Amazing

  • @niteshchauhan8402
    @niteshchauhan8402 7 лет назад

    sir why we store object id of child class in parent class reference variable ??what is the benefit ?and what is the benefit of Interface?

  • @imranansari3178
    @imranansari3178 4 года назад

    Sir I m very thankful to you for urs online courses.
    I have a question that I have implemented an interface in my class and I have redefine each of function of interface in my class. Now If a extends my class with a subclass then , Is interface functions need to be redefine in subclass too or not??

    • @umangverma3660
      @umangverma3660 4 года назад

      Or bhai tickorr....
      Fir is baar nhi karoge report caary ki video

  • @adityatelang5547
    @adityatelang5547 7 лет назад

    Sir, what is the use of upcasting?
    reference variable of base class, and reference variable of derived class will ultimately call the overidden method of derived class.. Then what is the use of reference variable of base class? Please help sir

  • @anuragprakash7256
    @anuragprakash7256 6 лет назад

    Very helpful !

  • @zaheeruddin1928
    @zaheeruddin1928 4 года назад

    Sir ,if student class doesn't need to use some functions of interface person, then what will we do, because you said that we have to define all of the functions of interface?

  • @shubhamtalokar4591
    @shubhamtalokar4591 7 лет назад

    interface and extend in java super ,this new funln video plz sir

  • @hemantsood9579
    @hemantsood9579 8 лет назад

    why we can't assign the value in varieble in interface by the initializer ???