METHODS OF A THREAD CLASS - JAVA PROGRAMMING

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

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

  • @Rajat-Sharma1
    @Rajat-Sharma1 5 лет назад +37

    Timestamps for the implementation part.
    Skip to these directly if you know the basics.
    17:51 getID()
    18:30 getName()
    19:32 setName()
    21:04 sleep()
    24:29 getPriority()
    25:24 setPriority()
    26:41 join()
    28:05 important tip
    30:51 isAlive()

  • @mayankkaushik7553
    @mayankkaushik7553 4 года назад +2

    Amazing teaching skills like WNROOM
    WILL NOT RUN OUT OF MIND.

  • @guptayash4
    @guptayash4 5 лет назад +9

    Your way of explaining is detailed and impressive. Thank you for the amazing content and keep up the good work! :D

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

    Ur teaching is very good comparing the others.Keep uploading more videos 👌

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

    NICE SUPER EXCELLENT MOTIVATED

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

    what a way of explaination👏👏 very good👍

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

    A big thanks for u sir.thank so much

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

    💯💯💯

  • @FactsDude01
    @FactsDude01 9 месяцев назад +1

    Awesome sir ❤❤❤

  • @reenabarsaiyan481
    @reenabarsaiyan481 4 года назад +3

    Sir please make a seperate vedio for collection too in java....

  • @priyanandinijain9467
    @priyanandinijain9467 3 года назад +1

    Thankyou sir.

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

    Thank you sir....

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

    Great explanation ✨

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

    Thank you sir

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

    Loved your videos

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

    Thanku so much sir

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

    Suprb explanation 🥰

  • @vishnupriyas9657
    @vishnupriyas9657 3 года назад +5

    nice explanation sir but why we are using Thread t= currentThread();

    • @r.sakthishree7743
      @r.sakthishree7743 3 года назад +3

      Bcoz we are creating object that why he has written Thread t=currentThread(); but it can also be written as Thread t= newThread()

  • @dinkarinjosh
    @dinkarinjosh 5 лет назад +1

    Sundeep, I guess you should have rather not used t.sleep, as sleep is a static function as you told and now you are accessing that function via an object? It will work but it's not the convention. All the best, good teaching, I am learning from you.

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

    thank you. sir.. i doubt Is clear

  • @mekala.prashamsasanthoshku2259
    @mekala.prashamsasanthoshku2259 3 года назад

    Tq sir. 👌👌

  • @bharathchandra5228
    @bharathchandra5228 3 года назад +1

    sir! we don't know which thread will be going to execute first and next then what is the use of priority sir.

  • @santhoshkumarreddy1389
    @santhoshkumarreddy1389 4 года назад +5

    Can you please explain Java JDBC.

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

    Can you share any pdf of this concept sir pls?? In waiting for your answer...

  • @saiavinash1200
    @saiavinash1200 5 лет назад +2

    Sir u said join is static method but here u used object to call join method instead of using class name, can u pls explain

  • @varshikpalvai1481
    @varshikpalvai1481 4 года назад +2

    when two threads are created and performing run method it is printing twice an you explain in detail?

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

    Hii sir
    In the above program we get getId() value as 8 so how we got that 8 that is my dought so plese say
    i was waiting for u r answer

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

    Sir... Join() is static
    . So why should we using object to acees it

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

    Sir please make a another video on user defined exception

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

    In this coding, what do sleep method sir?I can't understand.we use sleep method but no changes in our output..please explain me sir..

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

      Hey, the sleep function will stop the execution for some time, and once the time completes it continues its execution.

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

    Sir gow to use when there are 3 or 4 Threads

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

    hi sir, please provide the array concepts

  • @mandhe_idhiantha....7751
    @mandhe_idhiantha....7751 3 года назад

    Jai lbrce😎😎😎😎✌😃😃

  • @umeshbagade1060
    @umeshbagade1060 4 года назад +2

    join () is not the static method

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

    I have one doubt sir,we are extending the Thread from Th then where is the Th class sir?

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

    how did we get ID as 8?

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

    sir total how many tutorial videos are there in java?

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

    Sir what is thread...

  • @roshanc.3543
    @roshanc.3543 4 года назад

    Why do we write sleep () and join () in try - catch block

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

      Because exceptions will be raised when calling these methods

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

    why thread id is 8

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

    How thread I'd is 8

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

    sir can u please post the code in comment section?? please someone keep the code here

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

    Please open gate cse coaching online

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

    Multiple threading example not explained well.