Lecture 41 Synchronizing multiple threads in Java Hindi

Sdílet
Vložit
  • čas přidán 29. 08. 2024
  • Like, Comments, Share and SUBSCRIBE

Komentáře • 236

  • @jamalwebdevelopment4841
    @jamalwebdevelopment4841 Před 4 lety +15

    Sir, you really deserve respect for providing your lectures free.Thank you

  • @viveknepal8959
    @viveknepal8959 Před 4 lety +5

    At 26:25 : D Sir, Bade bade programs mein chhote chhote mistakes hote rehte hai
    Really worthy to watch this playlist even in 2020 :-) Finally watched 40 videos upto now....
    All of them are quite informative, and are explained deeply with simplest possible explanation...
    Thank you so much for this

  • @ayushraghuwanshi9794
    @ayushraghuwanshi9794 Před 3 lety +5

    How anyone can teach at extreme level ? Sir u are superb , legend !! At 2020 I am studying java with ur videos. Thanks a lot for these videos.👍

  • @pankajhazra3241
    @pankajhazra3241 Před 6 lety +1

    I had been confused as of how Synchronization works !!! Now i have a clear picture!!! Thanks!!!

  • @tapanjeetroy8266
    @tapanjeetroy8266 Před 5 lety +9

    Thanks a lot for uploading it... You are doing a great job..
    Please friends let me know how this poem is-
    I am alone...-
    I am alone,
    In my life.
    I am alone,
    In my way.
    No one here,
    To call as dear.
    No one there,
    To call as fair.
    Everything scattered nothing set,
    Just to bear,never to get ?
    -By Tapanjeet Roy

  • @gulzeibkhan17
    @gulzeibkhan17 Před 8 lety +39

    SIR u r great ...lots of prayer for you...thanks for all videos..can u plz upload lectures about database connection with java???

  • @rohitnayak4610
    @rohitnayak4610 Před 6 lety

    Sir aapka padane ka tarika bahut acha h jese ki aap phle live example dekar samja dete. Ho and baad m usi ko point m likh dete ho jisse ki student apni copy m note kr sake or baad m rivision kr sake jisse ki sari information subconscious mind m store ho jaye
    thank you sir
    Vande matram

  • @amitmaurya5589
    @amitmaurya5589 Před 4 lety

    ONE OF THE BEST EXPLANATION ON CZcams FOR FREE THANK YOU SIR.
    YOU ARE THE GOD IN TODAY'S ERA.

  • @terabaapfragmaster4723
    @terabaapfragmaster4723 Před 5 lety +4

    sir you are great ...
    your teaching method is awesome....
    lots of prayer for you....

  • @sanddy1911
    @sanddy1911 Před 7 lety +2

    You're the best teacher. Best explanation for everything. Thanks for the videos.
    PS: The paint section is really ugly please replace it with something else.

  • @sushmagoswami3661
    @sushmagoswami3661 Před 4 lety

    Ye to khatarnaak he explanation tha. All the doubts got extremely cleared.

  • @sayantandas4057
    @sayantandas4057 Před 4 lety

    Sir you have given the bestest explanation of synchronization of multiple threads. Thanks sir

  • @movie_mania9684
    @movie_mania9684 Před 4 lety +1

    Love you sir clearly understand the problem and how to handle it thanks sir love from nagpur 💯

  • @SmartProgramming
    @SmartProgramming Před 6 lety +2

    sir very good explanation, nice 👍🙂

  • @shouviksinha7613
    @shouviksinha7613 Před 5 lety

    you are a good man sir and a great teacher. i wis uwere our college faculty in our Computer Science department.Our departmet really needs you and your teaching

  • @YouTubeloveSachin
    @YouTubeloveSachin Před 5 lety +1

    sir, you are the best one I have seen so many videos on youtube but you are the best... the way of explaining awesome sir....really thank you so much....please make some videos on how to get a job as java developer as fresher...step by step with some important question ...please sir, its humble request sir...thanks

  • @SaurabhSingh-kz5jv
    @SaurabhSingh-kz5jv Před 7 lety +5

    Your explainations are really awesome.....hat's off.

  • @vedantgodhamgaonkar7896
    @vedantgodhamgaonkar7896 Před 7 lety +5

    Have one doubt.. we are using threading for parallel run of a code. But using Synchronized we are anyhow stopping one thread and running the other one. So aren't we indirectly following linear execution for certain time? I am aware that it will be so fast that we can't even see this difference but just quoting a doubt in general...!! Btw thanks a lot for these amazing videos...!!

    • @be_like__prateek
      @be_like__prateek Před 5 lety +1

      i also have this doubt.... anyone pls help

    • @nitinhirve7854
      @nitinhirve7854 Před 3 lety +2

      Your code might have 1000 lines and only 5 lines of code needed shared resources, so rather than executing whole 1000 lines in linear fashion you can just synchronize that 5 lines.

  • @kookaburra2374
    @kookaburra2374 Před 4 lety +1

    This is called concept!!!!

  • @AnuragRawat01
    @AnuragRawat01 Před 8 měsíci

    One of the best teacher❤

  • @arijitdey534
    @arijitdey534 Před 7 lety +5

    Sir,
    First thank you so much for uploading this video.
    I can't understand 'Private Account account'.Can you please explain?
    and one more thing,Can you please provide the full code in comment section?

  • @aryankalra5640
    @aryankalra5640 Před 4 lety

    You are very determined!
    Thank you for all of your efforts!!!

  • @harshjoshi6257
    @harshjoshi6257 Před 5 lety +48

    Always gotta speed it up to 2x 😅

  • @YashDEVELOPER12
    @YashDEVELOPER12 Před 2 lety

    very nice explanation sir with example... really you are a great teacher

  • @gourabofficial1373
    @gourabofficial1373 Před 27 dny

    really sir ! great teaching style , Thank u sir

  • @codelearner419
    @codelearner419 Před 2 lety +1

    sir you are genius

  • @jankirawat6610
    @jankirawat6610 Před 6 lety +1

    sir, i really really like your each videos & your teaching and your doing great work. i have share this channel to my colleagues friends . sir i have a request can u upload a easy readable notes for every programming language u teach. and i feel like there should be a professor like you in every IT colleges .

  • @sohamnavadiya1717
    @sohamnavadiya1717 Před 8 lety +4

    Thanks for share video, I like your approach to explain concept in very easy manner. I request you to upload video of collection framework in JAVA.

  • @priteshkumar659
    @priteshkumar659 Před 6 lety

    Problem solving approach is excellent...sir

  • @aloksrivastava1090
    @aloksrivastava1090 Před 8 lety +2

    Respected sir i Salute you sir.You are very awesome.
    I beg you sir please tell about Applet Class, Architecture, Skeleton, Display Methods. Swings: Japplet, Icons, labels, Text Fields, Buttons, Combo Boxes.

    • @javabysaurabhshuklasir3459
      @javabysaurabhshuklasir3459  Před 8 lety +4

      +Alok Srivastava they are in the pipeline, coming very soon. I am currently uploading one video per day, but planning to upload 2 videos per day. Please visit www.mysirg.com for all updates

  • @Akaashlawande
    @Akaashlawande Před 6 lety

    sir u r so so so...... Great.... i really appreciate .
    Don't say share .... already share this video in my Whatsapp Group.

  • @jk2346
    @jk2346 Před 4 lety +1

    Thank You from 2020

  • @vibhudixit8336
    @vibhudixit8336 Před 4 lety

    Sir jab code thoda bada ho jaye to ek baar upar se niche poora show kr Diya kijiye. This helps in making notes.

  • @SaadAli-bb7jd
    @SaadAli-bb7jd Před 5 lety

    You are a great person May God bless you

  • @darshitvachhani9790
    @darshitvachhani9790 Před 5 lety +4

    26:18 sir maje ke mood me hain !!!!

  • @pravinkumar-ug8bg
    @pravinkumar-ug8bg Před 4 lety

    Thank you very much sir. You have cleared all my doubts.

  • @UnknownFacts339
    @UnknownFacts339 Před 5 lety

    so so............ awesome sir mind-blowing explained way

  • @UniqueBansal44
    @UniqueBansal44 Před 4 lety +1

    Mja aagya dekh ke 😁😁

  • @sehajdhingra5426
    @sehajdhingra5426 Před 8 lety +3

    sir you r excellent lecturer,....

  • @AbhiSharma-pp8dh
    @AbhiSharma-pp8dh Před 5 lety

    shaandaar, Jabardast , Zindabaad

  • @NITINSHARMA-ug8up
    @NITINSHARMA-ug8up Před 8 lety

    sir u r d best..........ap acha kaam kar re hai

  • @abhishekgoel2127
    @abhishekgoel2127 Před 5 lety

    Great person

  • @RahulZampanbai
    @RahulZampanbai Před 3 lety +1

    you upload this video Dec 28, 2015 i take advantage in 20-12-2020

  • @SHUBHAMSINGH-sw6kz
    @SHUBHAMSINGH-sw6kz Před 4 lety

    Sir U r great, no words for giving thanku to u

  • @numananjum1861
    @numananjum1861 Před 7 lety

    Sir you are great man...God Bless U

  • @mintukumar-vj7ox
    @mintukumar-vj7ox Před 7 lety +1

    thank you sir aap ke samjhane ka tarika supar hai
    aap se request hai ki android ka lecture v upload kijiye

  • @sharvarithakar6137
    @sharvarithakar6137 Před 6 lety +5

    Confused in line( private Account account )

  • @SonuKhan-mp2yn
    @SonuKhan-mp2yn Před 5 lety

    Legendary Teacher

  • @shobhitbajaj9667
    @shobhitbajaj9667 Před 7 lety +1

    aap bahut achha kam kar rahe ho

  • @mr_pawar_3
    @mr_pawar_3 Před 4 lety

    Gajab hai sir

  • @shobhitbajaj9667
    @shobhitbajaj9667 Před 7 lety +3

    thank you sirg.

  • @mdishtiyaquehussain9564

    #GREAT_SIR

  • @zeeshanhashmi868
    @zeeshanhashmi868 Před 7 lety

    Great sir.. really commendable work... Kindly share videos relevant to android app development if possible..

  • @Rahulranavlogs-gp1hy
    @Rahulranavlogs-gp1hy Před 7 lety

    sir you are very nice teacher and thnx for good explaning.
    Sir plz upload a video of inter-thread communication, transient and volatile modifiers

  • @Apurvsankhyadhar
    @Apurvsankhyadhar Před 5 lety

    Kaaafi gazab video, thanks sir!

  • @dattamugale9663
    @dattamugale9663 Před 4 lety

    Thanks a lot sir

  • @syedraghib7670
    @syedraghib7670 Před 3 lety

    No need to study in college when saurabh sir is here💖💖💖

  • @SonuKhan-mp2yn
    @SonuKhan-mp2yn Před 5 lety

    Sir aapse to koi bewakoof bhi mahan ban Sakta hai
    Thank You very much Sir

  • @38_radheshyam78
    @38_radheshyam78 Před 4 lety

    Thanks sir🙏🙏🙏

  • @sachinhissaria2766
    @sachinhissaria2766 Před 5 lety +1

    Java by Saurabh Shukla Sir sir in dis video.in which line u hve made the object of class account ??

  • @dgankitgaming1872
    @dgankitgaming1872 Před 4 lety

    Thanks sir

  • @sumitsharma-zt3ru
    @sumitsharma-zt3ru Před 8 lety

    sir aap great hai really.

  • @katw434
    @katw434 Před rokem

    thanks sir

  • @harshraj8776
    @harshraj8776 Před 5 lety

    Sir you are Great

  • @dailyusegadgets789
    @dailyusegadgets789 Před 6 lety

    Thanks alot sir.
    So amazing voice

  • @sansk7767
    @sansk7767 Před 6 lety

    sir plzz make video on notify, notifyAll, wait, sleep method in detail with practical example..and what is deadlock, and how to cross calling in synchronised..

  • @Manish_Sahu
    @Manish_Sahu Před 2 lety

    thankyou sir.

  • @harshuchadiya9976
    @harshuchadiya9976 Před 3 lety

    Thank you so much sir, For this video still helpful to me and will helpful to us in future ❤️, And also sir let me know I want to develop *IOS Developer* Then what should I learn to become it ??

  • @snehlatasarode1957
    @snehlatasarode1957 Před 4 lety

    very nice explanation sir 🙏🙏🙏

  • @mohdwasim6138
    @mohdwasim6138 Před 2 lety

    nice shukla g..

  • @faslesubhan2746
    @faslesubhan2746 Před 6 lety

    you are the great sir g

  • @sanjaychaudhary3028
    @sanjaychaudhary3028 Před 6 lety

    good session sir...i like.
    thank you so......much..

  • @zenshyam
    @zenshyam Před 5 lety

    Amazing explanation sir

  • @purnimadwivedi1645
    @purnimadwivedi1645 Před 5 lety

    Mind blowing sir

  • @vishwasrock4809
    @vishwasrock4809 Před 7 lety +2

    sir
    private Account account
    ye samajh ni aaya
    plz help me

    • @priencthakur7602
      @priencthakur7602 Před 7 lety

      It is actually passing the reference of Account class in account and passing this account to a customer.
      cheers

    • @Mayur___Ingale
      @Mayur___Ingale Před 5 lety

      @@priencthakur7602 like whole Account class reference in just one variable ?

  • @namandeep4332
    @namandeep4332 Před 5 lety

    my question is that we should always use synchronization where multiple threads use the same resource at same time.

  • @RajatSingh-rh5hg
    @RajatSingh-rh5hg Před 5 lety +2

    what has been done in the line:
    private Account account;
    i will be thankful if u explain the same

    • @Mayur___Ingale
      @Mayur___Ingale Před 5 lety

      i am also in confusion

    • @YouTubeloveSachin
      @YouTubeloveSachin Před 5 lety +1

      Its private instance variable of Account type... like we make int accNo....in this way..

  • @shakeelhaider9100
    @shakeelhaider9100 Před 7 lety

    Buhut Aaala

  • @surajkhanna1129
    @surajkhanna1129 Před 7 lety

    Great lec!!! had a doubt ,, so in this did we create a Refrence variable "acc" of an object "a1"

  • @superonovar9784
    @superonovar9784 Před 7 lety

    Sir app great ho..

  • @sahil.bundela
    @sahil.bundela Před 6 lety +1

    sir,
    what is a difference between inheritance and passing an object of one class into object of another class

    • @nitinhirve7854
      @nitinhirve7854 Před 3 lety

      In inheritance you are actually extending the existing class , it will be pro version of previous class. Where when you are passing object of one class in another class you are just calling functions of another class through functions of this class. But no direct connections between both classes.

  • @kaushalkishor5443
    @kaushalkishor5443 Před 5 lety

    Love you sir...💜

  • @RohitKumar-dz8dh
    @RohitKumar-dz8dh Před 4 lety

    Sir , please make a video on interthread communication.
    It's humble request to sir..

  • @vijay-sp8kj
    @vijay-sp8kj Před 4 lety

    Thanks so much 😊❤️❤️😊

  • @bareetsingh
    @bareetsingh Před 4 lety

    Thank you, Sir.

  • @SonamSharma-ot9uo
    @SonamSharma-ot9uo Před 4 lety

    Sir why the method void withdrawn of class account is running ,as we have not called it just we have made object we have not written like a1.withdrawn

  • @aishwaryajadhav3569
    @aishwaryajadhav3569 Před 3 lety

    Sir, why this program is so large?
    Thanku for making such lectures, I am beginner

  • @Msguribhangu
    @Msguribhangu Před 6 lety

    thank u sir g u r awesome

  • @VijayKumar-rg8lf
    @VijayKumar-rg8lf Před 5 lety

    Nice sir

  • @snehalsonawane7555
    @snehalsonawane7555 Před 6 lety

    very gr8 video sir!!!

  • @Krishan_Verma
    @Krishan_Verma Před 6 lety

    Sir Still there is a problem in this program that why it's shows in sufficient bal for simran.
    At line no. 16 same instance variable bal is used for both raj and simran I think it must be a formal variable . Like
    int newbal = bal-amt;

  • @pawanofficialmail1688
    @pawanofficialmail1688 Před 6 lety

    Very very thanks sir

  • @mohitjariwala1896
    @mohitjariwala1896 Před 5 lety

    great job man

  • @varunmishra8389
    @varunmishra8389 Před 7 lety

    Sir, what is the concept of MONITOR (also called Semaphore).. in synchronization??
    And also.. MUTUALLY EXCLUSIVE LOCK or MUTEX...??

  • @sunilsahoo2799
    @sunilsahoo2799 Před 5 lety

    Sir with same code , when I am writing" enter amount "inside synchronized block , I am getting thread exception for second object , but if I am writing enter amount outside sync blck it is working

  • @vishwamit
    @vishwamit Před 8 lety

    Hi Saurabh, Can we simply synchronize the withdraw method to achieve same result?

  • @padhaiparcharcha
    @padhaiparcharcha Před 3 lety +1

    Sir is work ko ham join(); se bhi kar sakte hain.

  • @manindersaini4536
    @manindersaini4536 Před 8 lety

    nice video sir g....

  • @manishhooda871
    @manishhooda871 Před 4 lety

    Sir aap bhut acha samjhate ho no doubt...... But threads wale sare topics me aapke code run nhi kr rhe h accordingly........ Ya to java ka compiler upgrade hone ki wajh se h ya fir kuch aur wajh h

  • @shivanitaak6864
    @shivanitaak6864 Před 5 lety

    Nice video