Java Tutorial: Variables and Data Types in Java Programming

Поділитися
Вставка
  • Опубліковано 18 вер 2024
  • Java Tutorial (Variables and Data Types): This Java tutorial for beginners will teach you about primitive and non primitive data types in java programming from scratch. This complete java course will help you master all the concepts you need to learn in Java.
    ►This playlist is a part of my Complete Java Course playlist: • Java Tutorials For Beg...
    ►Source Code + Notes - codewithharry....
    ►Ultimate Java CheatSheet: codewithharry....
    ►Checkout my English channel here: / programmingwithharry
    ►Click here to subscribe - / @codewithharry
    Best Hindi Videos For Learning Programming:
    ►Learn Python In One Video - • Python Tutorial In Hin...
    ►Python Complete Course In Hindi - • Python Tutorials For A...
    ►C Language Complete Course In Hindi -
    • C Language Tutorials I...
    ►JavaScript Complete Course In Hindi -
    • JavaScript Tutorials I...
    ►Learn JavaScript in One Video - • JavaScript Tutorial
    ►Learn PHP In One Video - • Learn Php In One Video...
    ►Django Complete Course In Hindi -
    • Python Django Tutorial...
    ►Machine Learning Using Python - • Machine Learning Tutor...
    ►Creating & Hosting A Website (Tech Blog) Using Python - • [Hindi] Web Developmen...
    ►Advanced Python Tutorials - • Intermediate/Advanced ...
    ►Object Oriented Programming In Python - • Object Oriented Progra...
    ►Python Data Science and Big Data Tutorials - • Python Data Science an...
    Follow Me On Social Media
    ►Website (created using Flask) - www.codewithhar...
    ►Facebook - / codewithharry
    ►Instagram - / codewithharry
    ►Personal Facebook A/c - / geekyharis
    Twitter - / haris_is_here

КОМЕНТАРІ • 8 тис.

  • @CodeWithHarry
    @CodeWithHarry  4 роки тому +1353

    I am doing my best to create the best Java Course for you. Please do your part by sharing this video!
    Access the Playlist: ua-cam.com/play/PLu0W_9lII9agS67Uits0UnJyrYiXhDS6q.html
    Instagram: instagram.com/CodeWithHarry

  • @rishabkumar3973
    @rishabkumar3973 3 роки тому +2644

    THIS PERSON IS MORE IMPORTANT THAN ELON MUSK.

    • @rishabkumar3973
      @rishabkumar3973 3 роки тому +14

      @Attitude girl shivangi your new song with Inder Chahal is great

    • @bitcoincypher
      @bitcoincypher 3 роки тому +8

      True

    • @v3nomoussamrat701
      @v3nomoussamrat701 3 роки тому +38

      Please don't compare elon

    • @rishabkumar3973
      @rishabkumar3973 3 роки тому +49

      @@v3nomoussamrat701 bro it was just a way to show the hard work put by this man.🙄🙄. I also know what Elon is

    • @dotmashrc
      @dotmashrc 3 роки тому +1

      lol no

  • @abheygupta2332
    @abheygupta2332 4 роки тому +1392

    He is literally putting his most efforts. He deserves billions.

    • @programmer4047
      @programmer4047 4 роки тому +14

      Not billions ... There are other tutors who are much better than him

    • @abheygupta2332
      @abheygupta2332 4 роки тому +54

      Programmer 404 There may be but never compare. He is providing notes which he wrote himself. He is providing you with the cheat sheet. He writes everything he explained in his website. He is bringing a full course. Most importantly he explains in such an easy way. Now tell me do others provide you all this for free. I think that they don’t even provide such a valuable material after taking money too.

    • @aqdasak
      @aqdasak 4 роки тому +13

      @@abheygupta2332 is absolutely right

    • @shivmangalsingh8825
      @shivmangalsingh8825 4 роки тому +2

      Absolutely he will deserve that.

    • @shubhamsongs8746
      @shubhamsongs8746 4 роки тому +1

      Right

  • @aditya-pandey-16
    @aditya-pandey-16 Рік тому +490

    18:14 - The generic form for the range will be from - ( (2^(N*8)) / 2 ) to + ( ( (2^(N*8)) / 2 ) - 1 )

  • @srinukannedi6824
    @srinukannedi6824 11 місяців тому +35

    Never commented on UA-cam but Harry deserves it
    Such a great work 👏
    Amazing course

  • @abufarhaz2306
    @abufarhaz2306 3 роки тому +173

    Bro Harry, why did I not see your videos before! I have been struggling to learn Programming for so long. You just made it easy. Thank you so much. Because of your good and hard work people like us get hope. I will always be grateful to you.

    • @varunsharma2507
      @varunsharma2507 2 роки тому +1

      Brother can you help me in
      learning programming language please

    • @neeraj4561
      @neeraj4561 2 роки тому +2

      @@varunsharma2507 nahi😛

    • @ayush2221
      @ayush2221 2 роки тому

      @@neeraj4561 kr le

  • @muskansingh8125
    @muskansingh8125 Рік тому +135

    I've never commented before on a YT video but code with harry deserves it. So much efforts and mad hardwork , last time I saw this video 2 years back when I was doing my btech , now watching it again when I'm switching job. 💯 hats off!!

    • @2shorts408
      @2shorts408 Рік тому

      Hyy

    • @2shorts408
      @2shorts408 Рік тому

      @Muskan Singh hyy

    • @deepakumar01
      @deepakumar01 Рік тому +6

      @@2shorts408 kya taqleef hai bhai is sajjan ko..??

    • @RiseShine_Channel
      @RiseShine_Channel Рік тому +8

      @@deepakumar01 🤣🤣when a girl comment , koi na koi hyy byy karne aa jaata hai jaise ki wo apna address de deyy🤣🤣🤣🤣

    • @sonubharia7001
      @sonubharia7001 Рік тому

      you are not prepare with best CPU mind
      itna achhe se kon btata h yr

  • @631singh
    @631singh 4 роки тому +51

    System.out.println("amazing java course");
    System.out.println("best teacher on youtube");

  • @anujchaudhary5295
    @anujchaudhary5295 7 місяців тому +18

    sir you are the best teacher i have ever seen. i learned html , css , javascript , php , C programing and now i on the way to java and i think this will continue in future also. Thanks a lot sir😇❣

  • @ayandutta9844
    @ayandutta9844 3 роки тому +211

    If n bytes. Then 1st n*8=8n
    Range is :
    -{(2^8n)/2} to [{(2^8n)/2}-1]

  • @KoushikDas2005
    @KoushikDas2005 Рік тому +49

    June 14 2023
    Completed it.
    Will be there again tomorrow for revision.
    Consistency is the challenge ❤

    • @mohitarora9092
      @mohitarora9092 6 місяців тому +4

      thats my birthday

    • @KoushikDas2005
      @KoushikDas2005 6 місяців тому +1

      @@mohitarora9092 and SSR's demise date too 🥹

    • @insizegamer
      @insizegamer 3 місяці тому +1

      Aa gyi kya bhai coding

    • @KoushikDas2005
      @KoushikDas2005 3 місяці тому +2

      @@insizegamer chal rhi hai 1 saal ho chuka ab toh tab beginner tha

    • @KoushikDas2005
      @KoushikDas2005 3 місяці тому +2

      @@mohitarora9092 and that's the death anniversary of SSR

  • @asmitagumber7407
    @asmitagumber7407 2 роки тому +41

    Range of a data type that takes 'n' bytes of space would be : - (2^ n*8)/2 to +[(2^ n*8)/2] -1
    total space it occupies : n bytes
    total bits it can hold : n*8 bits
    total values would be : 2^ (n*8)
    so, range would be : [-2^ (n*8)]/2 to [+2^ (n*8)]/2 -1

  • @Himanshu-jf1oc
    @Himanshu-jf1oc Місяць тому +53

    Whoever starting it in 2024 plz leave your reviews here! According to me this is the course you need nothing else.😃

    • @sohamsaha3404
      @sohamsaha3404 Місяць тому +1

      bro im new in programming can u tell me is it the best channel to learn java from beginning

    • @Himanshu-jf1oc
      @Himanshu-jf1oc Місяць тому

      @@sohamsaha3404 Bro I can bet on it, you will never find anyone better than him.He explains each and every point, I have tried many other channels also but harry is THE BEST!!

    • @sindhudevi201
      @sindhudevi201 Місяць тому

      Yes

    • @ramdangi5335
      @ramdangi5335 Місяць тому +3

      started today

    • @Himanshu-jf1oc
      @Himanshu-jf1oc Місяць тому

      @@ramdangi5335 all the best bro!

  • @vikaskaushik7055
    @vikaskaushik7055 4 роки тому +59

    Nice video sir , you are the best teacher in my whole life 😍😍😍😍😍

  • @Veerbahadur-wq7zz
    @Veerbahadur-wq7zz 4 роки тому +413

    Online course: paid
    Harry course : free

    • @dhairyavijay266
      @dhairyavijay266 3 роки тому +7

      @deshbhakt much better than few paid

    • @incognito4041
      @incognito4041 3 роки тому +2

      @deshbhakt ulta bola🙄

    • @namanshaw7103
      @namanshaw7103 3 роки тому +2

      Please learn me also

    • @coding1998
      @coding1998 3 роки тому

      @8115_DhairyaVijay best of all paid courses

    • @wadewilson6695
      @wadewilson6695 3 роки тому

      yeah .and the course given by harry is more easy to understand yet knowledgeble .

  • @KajalSingh-xg8jp
    @KajalSingh-xg8jp Рік тому +97

    For n bytes, range will be from ((2^(8n))/2) to ((2 ^(8n))/2) - 1

  • @dishasinghania
    @dishasinghania 6 місяців тому +9

    The way you have explained basics is beyond excellent. I find myself lucky to have come across your course.

  • @masst1961
    @masst1961 3 роки тому +23

    Yes is a real coder,teacher , helper , and a god gift. Pls pls pls share his playlists

  • @abhinavshesware9122
    @abhinavshesware9122 3 роки тому +38

    I started learning Java. But there were a lot of courses and books that were available. But you did a fantastic Job of making it simple and providing relevant notes that too free of cost. Hope you have a wonderful career and this channel gets acknowledge for being as fantastic as it already is.

    • @ShubhamSingh-fk8fm
      @ShubhamSingh-fk8fm 2 роки тому +1

      Kaha sa notes mila bhai musjko bhi chaiye the notes

    • @harshkeshri3544
      @harshkeshri3544 2 роки тому +2

      @@ShubhamSingh-fk8fm description Mein website k link h unka. Downloads k option Mein Pura notes available h.

  • @abhiaryan07
    @abhiaryan07 4 роки тому +23

    18:20 The formula for calculating the value range of a data type of n bytes is :-
    Let n'=n*8
    -2^(n'-1) to 2^(n'-1)-1

    • @ApexFr777
      @ApexFr777 3 роки тому

      When its 2^(n-1) then y for byte its 128 . Coz 2^8 is 256. Bt the range of byte is 2^7. Can u pls clear ths doubt. Im a beginner.

    • @steveleekyon1212
      @steveleekyon1212 3 роки тому

      Thank you

    • @Manav0077
      @Manav0077 3 роки тому +2

      @@ApexFr777 see its easy
      1 byte =8 bits(n)
      and the formula is 2^(n-1)[n is the number of bits]
      therefore the range for byte is 2^(8-1)
      =2^7=128

    • @ApexFr777
      @ApexFr777 3 роки тому

      @@Manav0077 thanx brother

  • @chocolate_milkshake007
    @chocolate_milkshake007 Місяць тому +4

    Formula for finding the range of a Data Type = - (2^n)/2 to (2^n)/2 - 1
    Where ,
    'n' denotes the no. of Bits that data type takes , 1 Byte = 8 bits.

  • @monikavarshney5029
    @monikavarshney5029 4 роки тому +61

    Udemy - All of the cost of lunch
    CodeWithHarry - Lesser than a price of toffee
    That's why Harry is legend

  • @nileshsuthar3894
    @nileshsuthar3894 3 роки тому +114

    18:20
    Formula to calculate the range of a data type : -(2^8n-1) to (2^8n-1)-1
    Where n = no. Of bytes it takes

    • @aryansharma0211
      @aryansharma0211 3 роки тому

      Right!

    • @mania20
      @mania20 3 роки тому

      It's divided by 2 so yeah youbcan write that as well

    • @arpitpandey726
      @arpitpandey726 2 роки тому +30

      The formula that you have written above is wrong, the right one is -(2^8*n)/2. to (2^8*n)/2 -1.

    • @arpitpandey726
      @arpitpandey726 2 роки тому +7

      @@mania20 mania the formula that the above person has written is wrong and the right one is what I have written. -(2^8n)/2 to (2^8n)/2-1

    • @shivay2348
      @shivay2348 2 роки тому +2

      @arpit he has followed exponent rule

  • @mohammedimaz3879
    @mohammedimaz3879 3 роки тому +157

    This man's effort should be appreciated... He puts in a lot of work with Quality content

  • @MahakSahu-c1k
    @MahakSahu-c1k 7 місяців тому +2

    For n bytes
    -(2^n*8)/2 to (2^n*8)/2 -1
    ❤❤❤❤
    Thank you sir
    For this playlist ❤❤❤

  • @sankalpnepak4820
    @sankalpnepak4820 3 роки тому +18

    If a data type takes "n" bytes:
    n bytes= 8 * n bits
    range= -(2^8n)/2 to (2^8n/2) - 1
    So, range= - 2^ (8n-1) to [2^ (8n-1)] - 1

  • @29_jaypadhiyar91
    @29_jaypadhiyar91 3 роки тому +159

    18:10 Formula: -(2^(n*8))/2 to (2^(n*8))/2-1

    • @rohans3447
      @rohans3447 3 роки тому +3

      Correct

    • @29_jaypadhiyar91
      @29_jaypadhiyar91 3 роки тому +1

      @@rohans3447 Thanks 🤟🤟🤟

    • @adityatotade9823
      @adityatotade9823 3 роки тому +3

      Same Answer No Difference

    • @ujjwalartsiit
      @ujjwalartsiit 3 роки тому +3

      My answer is also same no difference 😅

    • @LiegeMaximo
      @LiegeMaximo 3 роки тому +6

      A bit of modifications -
      [-(2^(n*8))/2] to {[(2^(n*8))/2]-1}
      Might look a bit complex XD, but it is mathematically correct.

  • @knowatease5315
    @knowatease5315 3 роки тому +7

    I was thinking to take computer classes but after watching your videos I changed my thoughts. I don't know anything about computer but the way you are teaching is commendable. It is easy to understand.
    I want to ask a question that "is this playlist contain complete java's topic? "

  • @rajputfitness8641
    @rajputfitness8641 8 днів тому +2

    exercise done
    public class Main {
    public static void main(String[] args) {
    int a = 5,b=8,c=9;
    System.out.println(a+b+c);
    }
    }

  • @amansinha7586
    @amansinha7586 2 роки тому +15

    18:06 For integers taking n bytes according to the data type, value will range from (-2^(n*8))/2 to ((2^(n*8))/2)-1.

  • @bhavitgrover
    @bhavitgrover Рік тому +33

    I am from python programming, as I'm used to python syntax😅so the semicolon and int and other things make the syntax a bit harder, but Harry bhai explains it so well, it becomes really easy. Good job harry bhai.

    • @KoushikDas2005
      @KoushikDas2005 Рік тому +1

      Ya same problem for me too.
      I had also began programming from python.😅

    • @pranjiljain4500
      @pranjiljain4500 Рік тому

      @@KoushikDas2005 where do you guys work

    • @KoushikDas2005
      @KoushikDas2005 Рік тому +2

      @@pranjiljain4500we are students

  • @UttamDas-ub5ow
    @UttamDas-ub5ow 4 роки тому +10

    I was waiting for this Java course for a year in this channel . And now finally he started. Love you Harry bhai 💓💓💓

  • @ProarjGamer
    @ProarjGamer 5 місяців тому +14

    Hello Harry I am Arjun from class 6th I am learning Java during my summer vacation.

    • @kkgamingkingyt221
      @kkgamingkingyt221 4 місяці тому +1

      Me too

    • @statusforyou8698
      @statusforyou8698 4 місяці тому +8

      Hmai tou 6th me pta tha ki 10th pass krne k baad mazai hi mazai hai. 🥴🥴🤣🤣🤣

    • @departurer121
      @departurer121 Місяць тому +1

      Bro, don't! Don't burden yourself with this, enjoy your childhood!

    • @nireekshakamath1635
      @nireekshakamath1635 Місяць тому

      @@departurer121 I am in 8th grade and i am learning python, Java and HTML.We are not burdening our childhood, we either find it fun to learn or we just want a secure future. And our childhood will be over now if we suffer later we can see the results

    • @departurer121
      @departurer121 Місяць тому

      @@nireekshakamath1635 you won't get it now, I don't mean that you should stop learning this stuff, I began Java when I was in 7th and as soon as I came from school, I would sit on my desk and study Java and Now I regret it. Learn it, it's a very good thing especially with the increasing competition, but make sure that you are not overwhelmed by it.

  • @implementation8489
    @implementation8489 4 роки тому +5

    If a data type take n byte then:
    -(2^n*8/2) to (2^n*8/2)-1
    Answer of your question 😉😉
    If we take a data type like short.
    short = 2 bytes.
    2*8 = 16.
    -(2^16/2) to (2^16/2)-1
    Solution: -(-32,768) to (32,767).
    It so easy thank you.... 😎😎

  • @exampoint293
    @exampoint293 Рік тому +12

    i already have a paid java course but still i m learning here more than paid course........
    thanks for it...........Harry bhai🙂🙂

    • @Ghostly_canvas
      @Ghostly_canvas Рік тому +1

      sorry to disturb u
      but can u tell why we use int there like we could use long and it will still work

    • @AnoopMasterCoder2008
      @AnoopMasterCoder2008 Рік тому +2

      @@Ghostly_canvas Double and long use more space(memory). Also sometimes it's useful to make it clear that the value is an integer and will not have a decimal part.

  • @python6277
    @python6277 Рік тому +44

    For n bytes ,there would be "(n*8)"bits. So the value ranges from "- {2^(n*8)/2}" to {2^(n*8)/2}-1

    • @vishal_34
      @vishal_34 8 місяців тому +3

      bro ye (n) ka matlab kia hota h could please explain me

    • @prettyyou3848
      @prettyyou3848 8 місяців тому

      ​@@vishal_34n is the number of bytes taken by the data type

    • @Faded_999
      @Faded_999 7 місяців тому +3

      @@vishal_34 n means natural number, kuch bhi le sakte hain app

    • @jinsouls_bead
      @jinsouls_bead 4 місяці тому

      Why is it divided by 2?

    • @thehackerstore1824
      @thehackerstore1824 4 місяці тому +2

      Bhai tum dono maths pad ke aao yrr

  • @ArghyadeepDas-k5c
    @ArghyadeepDas-k5c 23 години тому

    never commented on some educational videos
    but without harry i would have failed
    amazing codes thanks harry

  • @arkodeepray6730
    @arkodeepray6730 3 роки тому +5

    18:10 For numbers : formular to calculate for n number of bytes -(2 to the power(n*8))/2, +((2 to the power(n * 8)/2)-1) for charecters : +((2 to the power (n * 8))-1)

  • @viplawkumaraniket7526
    @viplawkumaraniket7526 4 роки тому +101

    You deserve 1 trillion subscribers.

  • @257_jangidmahesh6
    @257_jangidmahesh6 3 роки тому +48

    Your teaching style is amazing.
    You deserve millions of likes.❤️

  • @Quazisworld
    @Quazisworld 11 місяців тому +2

    your teaching way is very different from others there is no hate for any one but you are the best tutor i have seen ever

  • @FaizanKhan-vb9tp
    @FaizanKhan-vb9tp 3 роки тому +5

    AHrry you are the best, I have seen many teachers but the way you teach online that enormous. I haven't realized that I am taking an online class, you have one level up .... Amazing talent buddy...

  • @hazzi27
    @hazzi27 2 роки тому +11

    18:30 For integers consuming n bytes the formula can be: -(2^8xn)/2 to (2^8xn)/2 -1

  • @abomi499
    @abomi499 Рік тому +3

    I am learning JAVA in 2023. Even after 3 years this course is best from all the other courses.❤❤❤❤❤❤❤❤❤❤❤❤❤

  • @KoushikDas2005
    @KoushikDas2005 Рік тому +9

    29/6/23
    I was inconsistent from 2 days. On 27, I was irregular in revising my schedule . But completed my notes of first chapter yesterday. Now revising the lectures again , revising with the source code . Hoping to be consistent again . Thanks Harry again.❤

    • @kb6443
      @kb6443 Рік тому +1

      Hey can we connect on any chat app bcoz i also preparing this language but need consistency and regularity..need some one to work along on same thing ..if u don't mind it btw which branch r u from and which year

    • @KoushikDas2005
      @KoushikDas2005 Рік тому +3

      @@kb6443 I am from CSE branch only , learning this language because it's there in my syllabus curriculum of first semester. I am just going to start my first year.
      I don't know why yt is deleting my comments again and again.
      But ,yes we can connect on telegram but on yt I am unable to share my username with you because of yt chat restrictions.

    • @KoushikDas2005
      @KoushikDas2005 Рік тому +1

      @@kb6443 your second comment is not visible to me. I checked it again so I came to know that you have commented something which is not visible to me.

    • @KoushikDas2005
      @KoushikDas2005 Рік тому +1

      @@kb6443 i can see you have 3 comments on this channel but still only one is visible to me.
      Better you reply me on any other comment of mine of this channel.
      I have several comments on this channel. Reply there .

  • @abdullahimran798
    @abdullahimran798 4 роки тому +13

    Wondorful . Tried to learn java from others but was totally confused. But now I have a clear mind. Amazing Java Course. You deserve Millions

  • @maheshasati2211
    @maheshasati2211 4 роки тому +152

    Hey dislikers, what else do you want? He's tries his level best in his every course!

    • @piyushchoudhary6221
      @piyushchoudhary6221 4 роки тому +6

      I think they want us to kick their asses make them our slaves....

    • @ridashah5183
      @ridashah5183 4 роки тому +3

      They are haters chill

    • @fastcar544
      @fastcar544 3 роки тому +1

      they dont have a life

    • @mahigupta8505
      @mahigupta8505 3 роки тому +3

      @@fastcar544 jindagi se pareshan

    • @mahigupta8505
      @mahigupta8505 3 роки тому +2

      ho sakta hai jaisa unne aspect kiya tha vaisa unhe na milla
      aur aisa bhi ho sakta hai ki coching institude vale ho?

  • @ffmind9951
    @ffmind9951 2 місяці тому +3

    // My first programming in Java.
    Class harry
    {
    public static void main (String args [ ])
    {
    system. out.println ( thanks for education bhiya);
    }
    }
    OUTPUT
    thanks for education bhiya

  • @devendravishwas876
    @devendravishwas876 2 роки тому +13

    08:32 For integers taking n bytes according to the data type , value will range from -(2^(n*8))/2 to (2^(n*8))/2 -1

    • @knavadeep7576
      @knavadeep7576 2 роки тому

      How many lectures did u complete till now

    • @codingmo314
      @codingmo314 2 роки тому

      @@knavadeep7576 currently on this one. What about you

  • @ankitrambhiya5919
    @ankitrambhiya5919 3 роки тому +14

    System.out.println("Loved this course sir. Can't learn java in this much simpler and easy way. Thank you for this playlist");

    • @darshanbothra2673
      @darshanbothra2673 3 роки тому

      you missed the public class Main {
      public static void main(Stirng[] args){
      // from here
      }
      }

    • @darshanbothra2673
      @darshanbothra2673 3 роки тому

      @@manglesh.kumar82747 // from here was to be replaced by the system.out in the comment, and don[t copy "you missed the"

  • @akusarma686
    @akusarma686 4 роки тому +6

    You really teach like a experienced teacher.

  • @kritithakur5380
    @kritithakur5380 2 роки тому +12

    I have learned C C++ Php python and Java all from your playlists. You are doing amazing job. Programming looks easier now thank you so much sir.

  • @v3dantsharma
    @v3dantsharma 3 роки тому +13

    Even though I have studied java 2 years back, this by far is the most easy to understand course on whole youtube. This is helping me out very much in brushing up the basics that were left out when I was learning. Can't wait to finish this and start the Data Structures and Algorithms playlist. Thanks harry! I've shared this playlist with all my peers and siblings who are learning to code. This is GOLD! Hope you cross 2M subs very soon! Keep em coming!

  • @devanshverma3804
    @devanshverma3804 3 роки тому +8

    this is the most interesting and detailed course for java on entire youtube. hats off to you for putting in so much efforts for us! A very big thanks.

  • @baklolyou8571
    @baklolyou8571 Місяць тому +1

    I struggled a lot with java during 12th but now from the help of harry bhai's courses I learned python, c and now learning java . #HARRYBHAIOP❤❤

    • @songify365
      @songify365 Місяць тому

      Bhai ek langauge sikhne mai approx kitne time lga

  • @ayan9530
    @ayan9530 4 роки тому +8

    Amazing Java course. Infact I learnt everything from u only..

  • @Billionaire-wh5fp
    @Billionaire-wh5fp 8 місяців тому +15

    00:02 Java course covers Variable and Data Type
    03:29 The anatomy of a Java program
    06:37 Variables and Data Types in Java
    09:43 Variable Naming Rules in Java
    12:49 Java has eight primitive data types
    15:54 Different Data Types in Java
    18:34 Java Primitive Data Types
    21:24 Java program to add three numbers

  • @sujatajena267
    @sujatajena267 4 роки тому +36

    18:08
    ANSWER
    -(2^n*8)/2 to ((2^n*8)/2)-1

    • @Unknown-Stranger
      @Unknown-Stranger 4 роки тому +1

      put n*8 in bracket

    • @sujatajena267
      @sujatajena267 4 роки тому +3

      @@Unknown-Stranger here n*8 is in 'power to' it's somewhat like 2 raised to the power of n*8

    • @Unknown-Stranger
      @Unknown-Stranger 4 роки тому +2

      @@sujatajena267 i know but to run it without error write like this ==> (2^(n*8))/2

    • @sujatajena267
      @sujatajena267 4 роки тому

      @@Unknown-Stranger Thanks for correcting my mistake

    • @basweshwarbiradar3935
      @basweshwarbiradar3935 3 роки тому +1

      @@sujatajena267 really nice & thanks

  • @praveenshukla8467
    @praveenshukla8467 2 роки тому +13

    Hey Harry,
    I just started to learn java, before came here I watched several videos of different tutors, but as felt your way of teaching is very different than others.
    As i am a beginner and having difficulty to understand each small thing but your video really help me to clear my doubt.

  • @digantamaity7235
    @digantamaity7235 3 роки тому +4

    Best teacher in my life for coding... Thanks Harry Vai/sir ... 🙏🙏🙏

  • @sagarikatalukdar57
    @sagarikatalukdar57 Місяць тому +1

    Size: n bytes; Then value range: -(2^8n)/2 to {(2^8n)/2}-1

  • @mohammadahad7539
    @mohammadahad7539 3 роки тому +15

    it's amazing java course and literally sir putting his most effort so once again sir thanks for providing the java course

  • @KoushikDas2005
    @KoushikDas2005 Рік тому +9

    15/7/23
    Coming after a long time to this lecture. Will have to revise the notes of this lecture.
    Revising it once again so that my basic will be always strong. Repetition, Revision, Reiteration is the mother of learning. Thanks a lot Harry Bhai for this course.❣
    Finally, completed the notes of this lectures, source code ,all concepts and others. Will complete the handwritten notes later as logic building and faster completion is more important than notes.

    • @nabonitaroy15345
      @nabonitaroy15345 Рік тому

      Which college year you are in.. And can you give some tips how can i start my programing journey I am new in this...

    • @KoushikDas2005
      @KoushikDas2005 Рік тому +2

      @@nabonitaroy15345 ITER college Experience(Not tips):- be consistent , I am too in first semester(not started yet), In two months also , I was distracted and was unable to remain consistent, So try to be consistent , and try out different real world projects via applying your learnings rather than just completing the lectures and calling it as learning.

  • @mohitdhiman9879
    @mohitdhiman9879 5 місяців тому +1

    public class primitive {
    public static void main(String []args){
    System.out.print("Sum of three numbers on =");
    int a = 67;
    int b = 67;
    int c = 67;
    int sum = a + b + c;
    System.out.println(sum);
    }
    }

  • @prayasmore7816
    @prayasmore7816 3 роки тому +68

    Apne dimag ko hard disk nahi banana hai, CPU banana hai.
    -- Harry , 2020

    • @TheSharkbeast
      @TheSharkbeast 3 роки тому

      Thats Truly an Idea that can save the world!!!

  • @rugvediwankhede1851
    @rugvediwankhede1851 Рік тому +5

    You are too good man. You solves every doubts and confusions in easy way

  • @FFSHAGGY
    @FFSHAGGY Місяць тому +1

    18:16
    -(2^n) /2 to(2^n) /2-1

  • @rohitupadhyay1066
    @rohitupadhyay1066 4 роки тому +158

    Jo jo Harry bhai se PURA MySQL shikna chaheta Hain woh like kare🙏

  • @MuhammadAhmed-bd8zv
    @MuhammadAhmed-bd8zv 2 роки тому +8

    Best Java tutorial I have ever seen. You are doing a great job. ❤️

  • @ayush2221
    @ayush2221 2 роки тому +4

    For integers taking n bytes according to the data type, value will range from (-2^(n*8))/2 to ((2^(n*8))/2)-1.

  • @TanishaGarg-s6b
    @TanishaGarg-s6b 2 місяці тому +1

    suprb explanation of java course and each and every concept clear..thnq for this sir I was at zero level but after watching your videos ...I am blessed and thankful to you that you teach in free and in proper way ...even not our teachers not like us..

  • @swarnimamitra5501
    @swarnimamitra5501 3 роки тому +11

    If any datatype takes n bytes then the formula to find its range is : -(2^8n/2) to {(2^8n/2)-1}

    • @sumitsaha6533
      @sumitsaha6533 3 роки тому +1

      Yes ,you are right

    • @faisalpathan01
      @faisalpathan01 2 роки тому

      This is not right this time because begginer have not knowledge about operator

  • @anaghatri1004
    @anaghatri1004 3 роки тому +8

    Formula : -(2^n*8)/2 to (2^n*8)/2 - 1
    Amazing Java Course

    • @blackrazor0774
      @blackrazor0774 3 роки тому

      Yep, whatever the size of bytes is, just multiply it by 8(cause 1 byte=8 bits) and put into the formula

  • @lvfmsvm3402
    @lvfmsvm3402 4 роки тому +9

    0:56 -> AMAZING JAVA COURSE 👍👍😱😱🤩🤩🎉🎉

  • @AdityaPundir.
    @AdityaPundir. Місяць тому +1

    for n bytes 2^(8n - 1) to 2^(8n - 1) - 1 at 18:10

  • @KoushikDas2005
    @KoushikDas2005 Рік тому +5

    2/7/23
    Revising it once again so that my basic will be always strong. Repetition, Revision, Reiteration is the mother of learning. Thanks a lot Harry Bhai for this course.❣
    Was unable to complete the source code of this video yesterday as I was tired but completed it today. Will give more time into it. Thanks a lot.

  • @Usama-Nadeem-CodeWards
    @Usama-Nadeem-CodeWards 2 роки тому +37

    you are a legend I only see some peoples like you who wants to educate everyone for free and you want to make our career better❤‍🔥🔥🔥

    • @nidhisaini2911
      @nidhisaini2911 8 місяців тому

      Notes download kaha se kare java ke

  • @mayamardi7609
    @mayamardi7609 3 місяці тому +2

    Great job sir. Your way of explaination is simple and i would recommend this channel to all the coders out there . AMAZING COURSE !!!!! 🎉 🎉

  • @sakshipatidar3931
    @sakshipatidar3931 4 роки тому +5

    Great job , happie to see this playlist 😁😁

  • @parthmehta8984
    @parthmehta8984 2 роки тому +17

    0:00 So far what we see,In simple Java program Anatomy
    0:11 Variable & Data type Intro(Amazing Java course)
    1:07 Component of Java Program
    3:46 Data type without notes
    6:31 Notes
    7:00 Syntax(set of rules in java programming)
    7:44 Variable in notes
    13:00 Data types in notes
    23:11 Quick quiz

  • @deku1851
    @deku1851 3 роки тому +10

    Amazing Java Course

  • @Irshad0786alam
    @Irshad0786alam 10 місяців тому +1

    18:06 if any data type takes n bytes then, then,
    range= -(2^n*8)/2 to ((2^n*8)/2-1).

  • @preetiyadav943
    @preetiyadav943 2 роки тому +8

    very very helpful. no one teaches like you so far .no words to explain your efforts .

  • @sandyvoice007
    @sandyvoice007 Рік тому +39

    Java Statement Types.
    Type of statements in java
    In Java, there are several types of statements that can be used to perform different operations. Some of the most common types of statements in Java include:
    Expression Statements: These statements are used to evaluate an expression and can include method calls, assignments, and other operations.
    Declaration Statements: These statements are used to declare a new variable or constant and specify its type.
    Control Flow Statements: These statements are used to control the flow of execution in a program, including if-else statements, switch statements, loops (for, while, do-while), and try-catch statements.
    Jump Statements: These statements allow the program to jump to a specific part of the code, including break, continue, and return statements.
    Assertion Statements: These statements are used to check assumptions made by the programmer and throw an error if the assertion fails.
    Synchronized Statements: These statements are used to control access to shared resources in a multithreaded environment.
    Labeled Statements: These statements are used to provide a label to a block of code, which can be used for easy navigation and readability.
    Block Statements: These statements are used to group a set of statements together, which can be treated as a single unit for control flow or variable scoping.

  • @manishpathak5108
    @manishpathak5108 2 роки тому +6

    You're a great teacher. Thanks for uploading these videos and putting up so much effort. Love your work. Great JAVA code!

  • @Unknownperson99191
    @Unknownperson99191 6 місяців тому +2

    Amazing java course!!!

  • @karthikrao3198
    @karthikrao3198 3 роки тому +8

    ""Amazing java course Harry bhaiya ☝️💯💥"

  • @shubhamraj4960
    @shubhamraj4960 3 роки тому +6

    Amazing Java Course ❤️

  • @bilalhussain6954
    @bilalhussain6954 3 роки тому +9

    bro your efforts made our life easier! thanks bTW dont ask for like and comment it would be automatically done!

  • @4brothers233
    @4brothers233 7 днів тому +1

    In 18:35 Formula is -2^(8n-1) to +2^(8n-1) - 1

  • @prasoonkumar7799
    @prasoonkumar7799 2 роки тому +6

    Range of datatype for space n = -(2^8n)/2 to (2^8n) -1 /2 📝
    On to the next one ❤

  • @anshulgupta9978
    @anshulgupta9978 Рік тому +6

    Amazing Java Course. Thanks Sir

  • @malaylayek816
    @malaylayek816 4 роки тому +12

    18:08
    Answer :- -(2^n*8)/2 to (2^n*8)/2 -1

  • @RajwardhanChavan-vb9mr
    @RajwardhanChavan-vb9mr 3 місяці тому +1

    public class Main {
    public static void main(String[] args){
    int num1=8;
    int num2=4;
    int num3=7;
    System.out.println(num1+num2+num3);
    }
    }

  • @AashuAashu-tm5in
    @AashuAashu-tm5in 3 роки тому +8

    Best Teacher + Great Hardworker = Harry Sir 💕🙌🏻

  • @codetecher2878
    @codetecher2878 3 роки тому +4

    Amazing Java Course
    😍

  • @AK-iz3qn
    @AK-iz3qn 3 роки тому +18

    9:30 naam me no. Thodi hoti h
    Elon musk's son: are you comedy me
    😂👍nice course bhaiya ❤

  • @nileshnatubhai8634
    @nileshnatubhai8634 3 місяці тому +2

    Formula of range for n bytes
    -(2^8n)/2 to (2^8n)/2 -1

  • @viharbhatt9793
    @viharbhatt9793 4 роки тому +5

    "Amazing Java Course"

  • @ishikamahendra6859
    @ishikamahendra6859 3 роки тому +4

    Tons of thank you! For such videos 🙂