Lecture 8 Wrapper Classes in Java Hindi

แชร์
ฝัง
  • เผยแพร่เมื่อ 3 พ.ย. 2024

ความคิดเห็น • 242

  • @HarshRaj-fp6pv
    @HarshRaj-fp6pv 5 ปีที่แล้ว +20

    Sir your hierarchy of explaining concepts is very precise and step-by-step... i wish my university professor had explained me these stuff in this way. Thank you sir^_^

  • @soniadeswal8984
    @soniadeswal8984 7 ปีที่แล้ว +80

    sir its a humble request plzz ap jo b chapter pdate h uske bad usi video mei us chapter se related kuch programs b krwaiye so that hume sb aur jyada ache se smj aaye..
    atleast 2-3 programs..

    • @joy-jc1cl
      @joy-jc1cl 7 ปีที่แล้ว +2

      YEAH EXACTLY.....

    • @pragatipathak9241
      @pragatipathak9241 4 ปีที่แล้ว +1

      Yss sir exactly m going to say

    • @pragatipathak9241
      @pragatipathak9241 4 ปีที่แล้ว +1

      Sir plllzzz give some examples related to the topic

    • @vinaymirchandani8231
      @vinaymirchandani8231 4 ปีที่แล้ว +5

      @@pragatipathak9241 idk probably he don't see comments anymore..xd

  • @shivangverma8915
    @shivangverma8915 4 ปีที่แล้ว +5

    Great Sir !!! I was havind doubt in wrapper class , but after watching this video I found that my alldoubt was clear, even i was having more knowledge on wrapper class.
    Thank You Sir !!!

  • @rahulchaubey8988
    @rahulchaubey8988 8 ปีที่แล้ว +5

    Sir your videos are one of the best video available on TH-cam.
    your teaching style is very clear..
    I like your lectures...

  • @arshdeep1898
    @arshdeep1898 6 ปีที่แล้ว +28

    Doing good job sir... but that would be more helpful towards learning if u upload some programs related to lessons.

  • @ritikapanwar3709
    @ritikapanwar3709 5 ปีที่แล้ว +7

    You are doing an amazing job sir. Thankyou so much.

    • @jeet7000
      @jeet7000 3 ปีที่แล้ว +1

      Jaane meri Jaaneman

  • @divineuttrakhand376
    @divineuttrakhand376 5 ปีที่แล้ว +6

    And yes ...your teaching style is really good especially the rate of speech and crisp content on the topic.

  • @AnkitSingh-hi1rm
    @AnkitSingh-hi1rm 4 ปีที่แล้ว +1

    the way of explanation is very good.hope all can easily understand.thank u sir..

  • @SmartProgramming
    @SmartProgramming 6 ปีที่แล้ว +3

    helpful lecture sir, thanks

  • @azammehmood3678
    @azammehmood3678 6 ปีที่แล้ว +2

    Sir u r so Great ! tnx so much.. love from Pakistan ...

  • @GhoostMedia1998
    @GhoostMedia1998 6 ปีที่แล้ว +2

    maashA Allah sir g ap great hen....

  • @oneplus1861
    @oneplus1861 4 ปีที่แล้ว +1

    Thank you!
    This quarantine gonna produce a lot of programmers!

  • @nicksharma1754
    @nicksharma1754 6 ปีที่แล้ว +4

    Valueof() is returning Integer and parseInt() returns int so what is difference????

  • @ravikantkshk
    @ravikantkshk 5 ปีที่แล้ว

    You are genius. Your teaching style is also very good.

  • @ashwinnair2325
    @ashwinnair2325 4 ปีที่แล้ว

    Thanks a lot sir. Aap students ke liye ek programming Messiah ho

  • @bhawika902
    @bhawika902 5 ปีที่แล้ว +5

    Pls add related questions in description

  • @anupamr437
    @anupamr437 หลายเดือนก่อน

    1. valueOf:
    static
    saves a value to reference variable.
    2. parsePrimitive:
    e.g., parseInt
    static
    saves a value to primitive type.

  • @divineuttrakhand376
    @divineuttrakhand376 5 ปีที่แล้ว +1

    It would be great if you can explain a scenario where these are actually will be implemented for example when you are explaining what parseInt does also explain a scenario where it is actually being used

  • @Hafizabubakar873
    @Hafizabubakar873 9 ปีที่แล้ว +5

    bundle of thanks sir

  • @sunnysaini5881
    @sunnysaini5881 8 ปีที่แล้ว

    well videos sir........bohat achi h ye aapki videos..... thanks

  • @sudhakantpanda9343
    @sudhakantpanda9343 3 ปีที่แล้ว

    Thank you so much for providing such amazing quality.

  • @Hirenpatel0593
    @Hirenpatel0593 8 ปีที่แล้ว

    i would like to say big Thanks to your effort of teaching in simple way i have one suggetion though why don't you use an Eclipse in your demonstration. so you can also show an output to make easy to understand

  • @amangupta708
    @amangupta708 3 ปีที่แล้ว

    that a very useful vdo for me and my callics

  • @apoorvatirlapur1457
    @apoorvatirlapur1457 3 ปีที่แล้ว

    Sir thank you so much for such video's , you teach the best !!!!!!!!!

  • @sankalpsachan9199
    @sankalpsachan9199 4 ปีที่แล้ว

    Simply and seamlesly explaination

  • @prithvipanwar
    @prithvipanwar 4 ปีที่แล้ว

    Video is to the point and very well explained sir.
    Thank you for this. Wish you the best ahead!

  • @005abdurrahman8
    @005abdurrahman8 3 ปีที่แล้ว +1

    Sir Jaise aapne C programming padhayi sabhi topics se related program same waise hi java mein bataiye

  • @aviralsrivastava2310
    @aviralsrivastava2310 4 ปีที่แล้ว

    You teach very well of theory but I have one problem of programing.
    Please Do something for programing.
    That's so kind of you

  • @gamevideo1041
    @gamevideo1041 2 ปีที่แล้ว +2

    Very nice

  • @lifewithart
    @lifewithart 4 ปีที่แล้ว +3

    Sir apne bola valueof() static function h to ye object kaise bna rha h Integer class ka

    • @dingdong5820
      @dingdong5820 2 ปีที่แล้ว +1

      Hna or object to new key word ki help se bnega na

    • @chiragsharma1078
      @chiragsharma1078 ปีที่แล้ว

      valueOf() works by invoking the toString() method of the respective data type passed to valueOf().
      Thus any object can be passed to valueOf(), and we would not get any error, as internally, toString() method would get invoked on that object.

  • @devendramishra4197
    @devendramishra4197 6 ปีที่แล้ว

    sir i think in valueof .....O is capital ..great tutorial sir

  • @warishahusain9394
    @warishahusain9394 5 ปีที่แล้ว

    Sir, as you r saying in this lecture that valueOf() is a static method so how can that method make an object of integer class? plzz tell...

  • @mayurvanne9289
    @mayurvanne9289 6 ปีที่แล้ว

    Your lectures are very well explained but anyone who is new in programming needs some basic additional examples about every topic.As you have learnt java so well you can add some examples which you think will be helpful for the beginners.

  • @mahipalsingh-yo4jt
    @mahipalsingh-yo4jt 4 ปีที่แล้ว

    the quality of service provided by sir can not be compared to anyone......

  • @samriddhabasu6006
    @samriddhabasu6006 2 ปีที่แล้ว +2

    Nice

  • @nipunmittal19
    @nipunmittal19 8 ปีที่แล้ว +1

    Sir if in "parseXxx" Xxx is a primitive type then it should be like "parseint" instead of "parseInt".

  • @VinayKumar-zt9xh
    @VinayKumar-zt9xh 4 ปีที่แล้ว +1

    Sir value of is static how it can make object

  • @rahulsinghshekhawat2487
    @rahulsinghshekhawat2487 ปีที่แล้ว

    Great job sir!!

  • @hifzaarooj7301
    @hifzaarooj7301 4 ปีที่แล้ว

    Great work sir

  • @ShivamSharma-bz4js
    @ShivamSharma-bz4js 6 ปีที่แล้ว

    sir ye videos aapko netbeans ya kisi or compiler pe run krwake bhi dikhaane chahiye the....

  • @sphoortipipley4713
    @sphoortipipley4713 6 ปีที่แล้ว

    sir thanks for the videos but plzzz sir ap examples ko run bi kr ke dikhaya kijiye

  • @amolpathakndb
    @amolpathakndb 7 ปีที่แล้ว

    amazing explaination sir superb....

  • @sunilsharma7806
    @sunilsharma7806 7 ปีที่แล้ว

    air please update vedios in advance Java topics like servlet.......

  • @deepanair2252
    @deepanair2252 8 ปีที่แล้ว +5

    But sir, if wrapper class is used as a solution to creating 100% OOP, and if parseXxx( ) and xxxValue( ) are actually meant to be used when primitive datatyped variables have been created, then the concept of 100% OOP will be destroyed again by the wrapper class itself...?
    int a= Integer.parseInt("123");
    int c=i2.intValue( );
    This has created 2 variables {a,c} using primitive datatype

    • @princepethani3252
      @princepethani3252 6 ปีที่แล้ว

      No cause it is using the object made by wrapper class so it isn't destroying Concept of OOP..thank me later

    • @RM_1964
      @RM_1964 6 ปีที่แล้ว

      Not necessary to use int he just used it for simplicity. Telling the functionality of parseInt()

  • @abhishekpandey8239
    @abhishekpandey8239 7 ปีที่แล้ว

    sir ,
    can only through your video lecture we can lean java or require some book if book require then please tell me which book prefer for java .

  • @shabnamparveen6785
    @shabnamparveen6785 3 ปีที่แล้ว

    may you share any example for double type unboxing and double to string conversion.

  • @india_n3156
    @india_n3156 2 ปีที่แล้ว

    Thanks so much sir easy to learn this topic

  • @chetanshintre7355
    @chetanshintre7355 4 ปีที่แล้ว +1

    Sir, we can also write
    Integer i1 = Integer.valueOf("123");
    as
    Integer i1 = 123;
    so then what is the difference?
    And one more doubt
    Integer i1 = Integer.valueOf("123");
    in this i1 is a reference object or is it instance(object) of Integer class?
    If it is reference object then before declaration we haven't used any special symbol like &(C++), So then how compiler will understand whether it is reference or instance of class.
    Please clarify my doubt.

    • @lakshyaberiwal4388
      @lakshyaberiwal4388 3 ปีที่แล้ว

      Integer.i1 hona chaiye tha na ??
      Agr smjh agya to reply krdena bhai

  • @sb____789
    @sb____789 7 ปีที่แล้ว

    please upload some related questions to practice so that we can learn much better :)

  • @pranjal.sharma
    @pranjal.sharma 7 ปีที่แล้ว +1

    sir, whats the difference between valueOf() and parseInt() method they appear to do exactly the same thing to me .
    please explain.

    • @shalu1490
      @shalu1490 3 ปีที่แล้ว +1

      In the ValueOf() function , the result is stored in the object of the Wrapper class whereas in parseInt() function the value is stored in the primitive data types

  • @MythicalSaty
    @MythicalSaty 5 ปีที่แล้ว

    bilkul pasand aare he

  • @Sanatan.addiction.forever
    @Sanatan.addiction.forever 9 ปีที่แล้ว +2

    hello sir
    its very good lecture i like it and it is very useful but i want to learn more about parse() function so plz upload some videos of it.
    thanks sir
    regards,
    sunil jaiswal

  • @harinarayan3133
    @harinarayan3133 2 ปีที่แล้ว

    Sir agar Integer ek class hai to usse hum object bhi to create kr skte hai n??

  • @saravkaur743
    @saravkaur743 5 ปีที่แล้ว

    Hi Saurabh sir,
    Will you please share selenium vedio as well?

  • @katy2956
    @katy2956 9 ปีที่แล้ว +1

    Awesome, thanks a lot.!!!

  • @AmanGupta-sg9nh
    @AmanGupta-sg9nh 5 ปีที่แล้ว +2

    Sir, will you please compile this programme.

    • @Ksriyakanojiya
      @Ksriyakanojiya 5 ปีที่แล้ว

      Koi error aa rahi hai kya ... Actually mera bhi nhi ho raha compile

  • @namantiwari2188
    @namantiwari2188 ปีที่แล้ว +1

    sir aapne pichli video m to btaya hai ki int ko hum instance variable bolte hain mtlb object variable aur isme aapne btaya ki primitive datatype se bn ne wale objects nhi hote🤔🤔🤔

  • @Islamicnoor-09
    @Islamicnoor-09 6 ปีที่แล้ว +1

    you are so ammazingly explainned ...thank you so much sir

  • @Avantika_S_Shelar
    @Avantika_S_Shelar ปีที่แล้ว

    Thank You So Much Sir❤️

  • @shrishchamoli
    @shrishchamoli 8 ปีที่แล้ว +4

    Sir valueOf() agar static function hai to object kaise bana ra hai Integer class ka?

    • @javabysaurabhshuklasir3459
      @javabysaurabhshuklasir3459  8 ปีที่แล้ว +12

      +Shrish Chamoli who says static function can not make objects.
      Concept is --- you need not to make an object to call static function

    • @sp_snow
      @sp_snow 5 ปีที่แล้ว

      valueOf() method means autoboxing...if we only write
      Integer i=10; then after compilation this will be replaced with
      Integer i=Integer.valueOf(10);

    • @dingdong5820
      @dingdong5820 2 ปีที่แล้ว

      @@javabysaurabhshuklasir3459 sir object to new keyword ki help se banta hai na java me.

  • @mrinmoyhalder7293
    @mrinmoyhalder7293 7 ปีที่แล้ว

    Can U please explain wrapping & unwrapping in terms of this concept?

  • @siprasingh7759
    @siprasingh7759 7 ปีที่แล้ว +3

    Sir i1 is the object of Integer class? but how we are not using new keyword here...

    • @Ankitkumar-dy1fs
      @Ankitkumar-dy1fs 6 ปีที่แล้ว

      because it is static in nature , check Static syntax for better understanding...

    • @rachanamunot483
      @rachanamunot483 6 ปีที่แล้ว

      Because I think Integer is predefined class already in Java so no need to again allocate memory using new keyword...

  • @zorawargamelive5859
    @zorawargamelive5859 6 ปีที่แล้ว

    sir kya parse function wrapper class se primtive me jaane ke liye use hota hai

  • @SaifKhan-wm9db
    @SaifKhan-wm9db 6 ปีที่แล้ว

    thank u so much sir its too helpful for me

  • @sanjaypawar6644
    @sanjaypawar6644 5 ปีที่แล้ว

    Good..

  • @the_dark_comment
    @the_dark_comment ปีที่แล้ว

    U R legend sir❤

  • @studioartedesigns
    @studioartedesigns 6 ปีที่แล้ว

    sir thanks teaching us i want more videos

  • @devendramishra4197
    @devendramishra4197 6 ปีที่แล้ว +1

    Hello! Sir I want to know that what is the need of wrapper class if i can achieve same objective using primitive data types

    • @DEEPAKKUMAR-gz2mg
      @DEEPAKKUMAR-gz2mg 5 ปีที่แล้ว +1

      to achieve 100 % object oriented paradigm

  • @anupamchand6186
    @anupamchand6186 3 ปีที่แล้ว

    I have a question..what if we write Integer i=0;
    System.out.print(a);
    then also the program is working.
    what does this mean?
    please try to reply sir

  • @vipinjadon7163
    @vipinjadon7163 2 ปีที่แล้ว

    sper sir

  • @deepaksaini9204
    @deepaksaini9204 7 ปีที่แล้ว

    Sir ye program prui trhe se object oriented nhi h ? Kyo ki isme int s to primitive data type h ? Pls give reply sir and any one

  • @mohammadahmadrocks
    @mohammadahmadrocks 7 ปีที่แล้ว

    thanks saurabh shulla bhai

  • @sauravkumar-ob6xc
    @sauravkumar-ob6xc 7 ปีที่แล้ว

    sir , we should have to import java.lang.* or not in this class

  • @yashpatel3874
    @yashpatel3874 5 ปีที่แล้ว

    What is difference between int or Integer?

  • @Rakesh-qs4ky
    @Rakesh-qs4ky 5 ปีที่แล้ว

    Thanku sir for supporting ...

  • @atulsharma-nb3to
    @atulsharma-nb3to 8 ปีที่แล้ว

    Sir we can make "int" type (primitive) datatype Private, protected,publicHow its possible in wrapper class objects ?

  • @pranoymukherjee2575
    @pranoymukherjee2575 6 ปีที่แล้ว

    what is the difference between valueof() and parsexxx()

  • @chandanikumari9116
    @chandanikumari9116 7 ปีที่แล้ว

    sir valueof() bhi whi kaam kr rha jo parseXxx() to dono me difference kya h

  • @wishikaur8367
    @wishikaur8367 8 ปีที่แล้ว

    nice videos

  • @surajborekar2869
    @surajborekar2869 6 ปีที่แล้ว

    Hello sir apne isse phele ke language me kaha tha ki object new keyword se banta he to phir hamne wrapper me new keyword ka use kyu nahi kiya

  • @sentygaming9601
    @sentygaming9601 4 ปีที่แล้ว

    Sir ,i1 is a object or a reference variable..and can i write [int i1] at the place of [Integer i1]..?

  • @VinayKumar-zt9xh
    @VinayKumar-zt9xh 4 ปีที่แล้ว +1

    Why only Arguments is passed as string

  • @AkashSingh-pw5ip
    @AkashSingh-pw5ip 6 ปีที่แล้ว +1

    Be more precise with upper and lower case syntax like in xxxvalue() the 'v' is capital but in your vedio it's small.

  • @sameerrana3335
    @sameerrana3335 8 ปีที่แล้ว

    Where you explain parameter passing in methods?

  • @LetsCruiseForHarleys
    @LetsCruiseForHarleys 8 ปีที่แล้ว

    then what is the difference between parse and valueof

  • @sanidhyarathore1865
    @sanidhyarathore1865 3 ปีที่แล้ว +1

    what is the difference between int and Integer

    • @manish__g
      @manish__g 3 ปีที่แล้ว

      int is a data type........but Integer is a class

  • @himanshutomar7187
    @himanshutomar7187 7 ปีที่แล้ว

    Why do we use wrapper class when similar work can also be done with primitive datatypes

  • @AtulKumar-sj8bu
    @AtulKumar-sj8bu 7 ปีที่แล้ว

    Sir, how to take input from user in wrapped class.

  • @manjeetchoudhary5860
    @manjeetchoudhary5860 6 ปีที่แล้ว

    sir me pochna chata ho ki app ne jo java ke 75 video's hai ye complete core java h.pleas ansewer

  • @rishikaprasad6409
    @rishikaprasad6409 ปีที่แล้ว

    sir namaste, mera question ye hai ki valueOf to static method to iska object kaise bnaega jaisa aap video me keh rhe h .isko thoda or clerly smjhna tha.🙏

    • @subhanshumohanty5593
      @subhanshumohanty5593 11 หลายเดือนก่อน

      Sir ne classname.method ese value of ko bulaya Integer.valueOf()
      Or yah object return karta hai
      i1 yah object hai

  • @kamleshverma9724
    @kamleshverma9724 ปีที่แล้ว +1

    i did not understand where we will be able to use it.

  • @ayushi7853
    @ayushi7853 4 ปีที่แล้ว +2

    Sir, explain wrapper practically

  • @Radhamadhavshriji
    @Radhamadhavshriji 3 ปีที่แล้ว

    Sir your sound is slow so please increase it

  • @sheetalsingh2794
    @sheetalsingh2794 7 ปีที่แล้ว +1

    sir... parseInt aur intValue me kya differnce hai??????

    • @ashishshukla2833
      @ashishshukla2833 6 ปีที่แล้ว

      parseInt converts the string into int.......nd intvalue is instance method....means convert Integer into int

  • @krunalkp1032
    @krunalkp1032 7 ปีที่แล้ว +1

    Sir plz progrma ko run kijie ...
    Integer i = Integer.valueof("123");
    Ye line se pehle aapne
    Integer i=new Integer() ;
    Kyu nahi likha ?

    • @RealCTN
      @RealCTN 7 ปีที่แล้ว +1

      Actually, Java does the smart work here.
      This facility is provided by java to avoid compile-time error.
      Also, Integer i = 123; will work without any problem.

  • @shobhitranjan3957
    @shobhitranjan3957 5 ปีที่แล้ว +2

    In valueOf() O is capital!

  • @_hulk748
    @_hulk748 ปีที่แล้ว

    Thankyou sir❤❤🙏🙏

  • @abhinandanjain3961
    @abhinandanjain3961 3 ปีที่แล้ว

    Sir , you told that in wrapper class primitive type is written in capital letters . But sir praise is written in small letters why??

  • @mbmotivationfact
    @mbmotivationfact 6 ปีที่แล้ว

    Sir aap konse place per rahte ho

  • @RitikSharma-pc5yj
    @RitikSharma-pc5yj 4 ปีที่แล้ว +1

    Isn't int a wrong at 9:21 because in java wrapper class integer is used instead of int...!!!!!!!!!