Java Tutorial: Variables and Data Types in Java Programming

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

ความคิดเห็น • 9K

  • @CodeWithHarry
    @CodeWithHarry  4 ปีที่แล้ว +1369

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

    • @CryptoYuvi
      @CryptoYuvi 4 ปีที่แล้ว +21

      1st one to comment 12sec ago video

    • @ujenbasi9495
      @ujenbasi9495 4 ปีที่แล้ว +9

      Thank you Harry bhai

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

      Sir aap php Kai login or handling ka source code dalenge to acha hoga sir please reply and amazing java types

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

      Brilliant 👍🏻

    • @RahulSharma-ow5ue
      @RahulSharma-ow5ue 4 ปีที่แล้ว +2

      Great sir

  • @rishabkumar3973
    @rishabkumar3973 3 ปีที่แล้ว +2731

    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 ปีที่แล้ว +9

      True

    • @v3nomoussamrat701
      @v3nomoussamrat701 3 ปีที่แล้ว +39

      Please don't compare elon

    • @rishabkumar3973
      @rishabkumar3973 3 ปีที่แล้ว +50

      @@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 ปีที่แล้ว +1447

    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 ปีที่แล้ว +56

      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

  • @AdiBhaiyaYT
    @AdiBhaiyaYT ปีที่แล้ว +523

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

  • @anujchaudhary5295
    @anujchaudhary5295 9 หลายเดือนก่อน +26

    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😇❣

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

      Hii

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

      Tell me something

  • @abufarhaz2306
    @abufarhaz2306 3 ปีที่แล้ว +176

    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 3 ปีที่แล้ว +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 ปีที่แล้ว +139

    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

  • @dishasinghania
    @dishasinghania 8 หลายเดือนก่อน +10

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

  • @631singh
    @631singh 4 ปีที่แล้ว +56

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

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

      😂😂😂😂waah

  • @asmitagumber7407
    @asmitagumber7407 3 ปีที่แล้ว +42

    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

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

      right

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

      If we put n=3 condition false

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

      @@surajyadav289 there will not be n=3 in datatypes

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

      @@surajyadav289 only even values are put

  • @ayandutta9844
    @ayandutta9844 3 ปีที่แล้ว +217

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

  • @Billionaire-wh5fp
    @Billionaire-wh5fp 10 หลายเดือนก่อน +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

  • @KajalSingh-xg8jp
    @KajalSingh-xg8jp 2 ปีที่แล้ว +97

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

    • @satishurewar2564
      @satishurewar2564 ปีที่แล้ว +35

      There is a correction, minus sign
      - ((2^(8n))/2) to ((2 ^(8n))/2) - 1
      i.e -128 to 127

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

      @@satishurewar2564 thanks bhai

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

      ((-2^8n))/2) to ((2^8n)/2) -1

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

      ​@@pritampritam3458🎉

  • @nileshsuthar3894
    @nileshsuthar3894 3 ปีที่แล้ว +115

    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 3 ปีที่แล้ว +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 3 ปีที่แล้ว +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 3 ปีที่แล้ว +2

      @arpit he has followed exponent rule

  • @monikavarshney5029
    @monikavarshney5029 4 ปีที่แล้ว +62

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

  • @srinukannedi6824
    @srinukannedi6824 ปีที่แล้ว +35

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

  • @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 4 ปีที่แล้ว

      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 4 ปีที่แล้ว

      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

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

      -(2^/2 to 2^/2​)-1@@ApexFr777

  • @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

  • @abhinavshesware9122
    @abhinavshesware9122 3 ปีที่แล้ว +39

    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.

  • @chocolate_milkshake007
    @chocolate_milkshake007 4 หลายเดือนก่อน +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.

  • @masst1961
    @masst1961 3 ปีที่แล้ว +23

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

  • @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.

  • @vikaskaushik7055
    @vikaskaushik7055 4 ปีที่แล้ว +59

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

  • @Himanshu-jf1oc
    @Himanshu-jf1oc 4 หลายเดือนก่อน +62

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

    • @sohamsaha3404
      @sohamsaha3404 3 หลายเดือนก่อน +1

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

    • @Himanshu-jf1oc
      @Himanshu-jf1oc 3 หลายเดือนก่อน

      @@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 3 หลายเดือนก่อน

      Yes

    • @ramdangi5335
      @ramdangi5335 3 หลายเดือนก่อน +3

      started today

    • @Himanshu-jf1oc
      @Himanshu-jf1oc 3 หลายเดือนก่อน

      @@ramdangi5335 all the best bro!

  • @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)

  • @knowatease5315
    @knowatease5315 4 ปีที่แล้ว +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 2 หลายเดือนก่อน +3

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

  • @Veerbahadur-wq7zz
    @Veerbahadur-wq7zz 4 ปีที่แล้ว +419

    Online course: paid
    Harry course : free

    • @dhairyavijay266
      @dhairyavijay266 4 ปีที่แล้ว +7

      @deshbhakt much better than few paid

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

      @deshbhakt ulta bola🙄

    • @namanshaw7103
      @namanshaw7103 4 ปีที่แล้ว +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 .

  • @KajalSinghshine
    @KajalSinghshine 3 ปีที่แล้ว +67

    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.

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

      Amazing Java code

    • @ShubhamSingh-fk8fm
      @ShubhamSingh-fk8fm 2 ปีที่แล้ว

      n bytes to the data types, the value range from -2^n/2 to 2 ^n/2 -1

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

      @@meghagore4518 dude it is not java code it is a formula

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

      If we put n= 3 conditions false

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

      @@surajyadav289 its true

  • @KoushikDas2005
    @KoushikDas2005 ปีที่แล้ว +52

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

    • @mohitarora9092
      @mohitarora9092 8 หลายเดือนก่อน +4

      thats my birthday

    • @KoushikDas2005
      @KoushikDas2005 8 หลายเดือนก่อน +1

      @@mohitarora9092 and SSR's demise date too 🥹

    • @insizegamer
      @insizegamer 6 หลายเดือนก่อน +1

      Aa gyi kya bhai coding

    • @KoushikDas2005
      @KoushikDas2005 6 หลายเดือนก่อน +2

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

    • @KoushikDas2005
      @KoushikDas2005 6 หลายเดือนก่อน +2

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

  • @MahakSahu-c1k
    @MahakSahu-c1k 10 หลายเดือนก่อน +2

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

  • @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...

  • @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 11 หลายเดือนก่อน +3

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

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

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

    • @Faded_999
      @Faded_999 9 หลายเดือนก่อน +3

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

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

      Why is it divided by 2?

    • @Heheheheheheok
      @Heheheheheheok 6 หลายเดือนก่อน +2

      Bhai tum dono maths pad ke aao yrr

  • @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 💓💓💓

  • @mohammedimaz3879
    @mohammedimaz3879 4 ปีที่แล้ว +158

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

  • @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

  • @Quazisworld
    @Quazisworld ปีที่แล้ว +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

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

    You really teach like a experienced teacher.

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

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

  • @Anjaliprasad-wv7np
    @Anjaliprasad-wv7np ปีที่แล้ว +2

    Sir you are wonderful teacher for java !! It helped me a lot to master java language!!

  • @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

  • @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

  • @sandyvoice007
    @sandyvoice007 ปีที่แล้ว +40

    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.

  • @mohitdhiman9879
    @mohitdhiman9879 7 หลายเดือนก่อน +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);
    }
    }

  • @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.

  • @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 .

  • @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.

  • @tanveerqurashi__56
    @tanveerqurashi__56 หลายเดือนก่อน +57

    Anyone is here in 2024😅

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

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

  • @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

    • @AnoopJ2008
      @AnoopJ2008 ปีที่แล้ว +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.

  • @ffmind9951
    @ffmind9951 4 หลายเดือนก่อน +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

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

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

  • @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 4 ปีที่แล้ว +1

      @@sujatajena267 really nice & thanks

  • @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"

  • @TanishaGarg-s6b
    @TanishaGarg-s6b 4 หลายเดือนก่อน +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..

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

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

  • @257_jangidmahesh6
    @257_jangidmahesh6 3 ปีที่แล้ว +48

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

  • @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.... 😎😎

  • @CodeBytes_Official
    @CodeBytes_Official หลายเดือนก่อน +1

    I'm 2nd year student and by next year I have placements and now I started my Java course on 25/10/24 and hopefully manifesting to complete by 3 months ! ❤❤❤❤

  • @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!

  • @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

  • @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?

  • @nileshnatubhai8634
    @nileshnatubhai8634 5 หลายเดือนก่อน +2

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

  • @viplawkumaraniket7526
    @viplawkumaraniket7526 4 ปีที่แล้ว +101

    You deserve 1 trillion subscribers.

  • @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.

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

    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.

  • @JavaCodingwithRaju-kv7xc
    @JavaCodingwithRaju-kv7xc ปีที่แล้ว +2

    Amazing Java Course by Harry Bhai.

  • @MuhammadAhmed-bd8zv
    @MuhammadAhmed-bd8zv 3 ปีที่แล้ว +8

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

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

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

  • @PrajwalYakathpure-so6wj
    @PrajwalYakathpure-so6wj 3 หลายเดือนก่อน +1

    A thorough scholar, your sacrifices don't go unnoticed 🤗

  • @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.

  • @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

  • @joshithahari2836
    @joshithahari2836 9 หลายเดือนก่อน +1

    thank god i found your channel , learning java became easy

  • @lovelymishra2949
    @lovelymishra2949 9 หลายเดือนก่อน +1

    Dear Harry, why did I not watched your channel before.... I think I'm too late to watch your videos but now I'm not going to stop. Thankyou 🥹

  • @deku1851
    @deku1851 3 ปีที่แล้ว +10

    Amazing Java Course

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

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

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

    Amazing Java Course. Thanks Sir

  • @Priyanka-zt7ff
    @Priyanka-zt7ff 8 วันที่ผ่านมา +1

    formula for the range for n bytes will be -2^(8*n)/2 to (2*(8*n)/2) - 1

  • @malaylayek816
    @malaylayek816 4 ปีที่แล้ว +12

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

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

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

  • @shivamsinghraj_ssr
    @shivamsinghraj_ssr 4 ปีที่แล้ว +9

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

  • @ArghyadeepDas-k5c
    @ArghyadeepDas-k5c 2 หลายเดือนก่อน

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

  • @bilalhussain6954
    @bilalhussain6954 3 ปีที่แล้ว +9

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

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

    Amazing Java Course ❤️

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

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

  • @XYSTER-
    @XYSTER- 3 หลายเดือนก่อน +1

    -(2^8n)/2 to (2^8n)/2-1 , amazing course btw

  • @prayasmore7816
    @prayasmore7816 4 ปีที่แล้ว +69

    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!!!

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

    "Amazing Java Course"

  • @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 11 หลายเดือนก่อน

      Notes download kaha se kare java ke

  • @ProarjGamer
    @ProarjGamer 7 หลายเดือนก่อน +14

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

    • @kkgamingkingyt221
      @kkgamingkingyt221 7 หลายเดือนก่อน +1

      Me too

    • @statusforyou8698
      @statusforyou8698 6 หลายเดือนก่อน +8

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

    • @departurer121
      @departurer121 3 หลายเดือนก่อน +2

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

    • @nireekshakamath1635
      @nireekshakamath1635 3 หลายเดือนก่อน +1

      @@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 3 หลายเดือนก่อน +1

      @@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.

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

    1/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 not here yesterday because I had gone for an outing. Anyways, starting my work again now from this month's beginning with full energy.
    Going to note down the source code of this lecture. Thanks a lot.❤❤

  • @anaghatri1004
    @anaghatri1004 4 ปีที่แล้ว +9

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

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

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

  • @mayamardi7609
    @mayamardi7609 5 หลายเดือนก่อน +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 😁😁

  • @rohitupadhyay1066
    @rohitupadhyay1066 4 ปีที่แล้ว +159

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

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

    Amazing Java Course
    😍

  • @sagarikatalukdar57
    @sagarikatalukdar57 4 หลายเดือนก่อน +1

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

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

    Tons of thank you! For such videos 🙂

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

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

  • @Frazer_98
    @Frazer_98 2 หลายเดือนก่อน +6

    (2 to power n * 8) / 2 to (2 to power n * 8) / 2 - 1. Who is studying this course in 2024. I am learning this course right now I am learning variables and datatypes in java...anyone still learning

    • @happify7412
      @happify7412 24 วันที่ผ่านมา +1

      you forgot the - sign

    • @nitinSharma-yi1pd
      @nitinSharma-yi1pd 19 วันที่ผ่านมา

      Yes I am also learning

    • @Frazer_98
      @Frazer_98 18 วันที่ผ่านมา

      @nitinSharma-yi1pd how much did you learn