No video

Java Tutorial: Variables and Data Types in Java Programming

  Рет қаралды 2,740,116

CodeWithHarry

CodeWithHarry

Күн бұрын

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 200
@CodeWithHarry
@CodeWithHarry 4 жыл бұрын
I am doing my best to create the best Java Course for you. Please do your part by sharing this video! Access the Playlist: kzbin.info/aero/PLu0W_9lII9agS67Uits0UnJyrYiXhDS6q Instagram: Instagram.com/CodeWithHarry
@CryptoYuvi
@CryptoYuvi 4 жыл бұрын
1st one to comment 12sec ago video
@ujenbasi9495
@ujenbasi9495 4 жыл бұрын
Thank you Harry bhai
@techandentertainment5680
@techandentertainment5680 4 жыл бұрын
Sir aap php Kai login or handling ka source code dalenge to acha hoga sir please reply and amazing java types
@HoXDipannew
@HoXDipannew 4 жыл бұрын
Brilliant 👍🏻
@RahulSharma-ow5ue
@RahulSharma-ow5ue 4 жыл бұрын
Great sir
@rishabkumar3973
@rishabkumar3973 3 жыл бұрын
THIS PERSON IS MORE IMPORTANT THAN ELON MUSK.
@rishabkumar3973
@rishabkumar3973 3 жыл бұрын
@Attitude girl shivangi your new song with Inder Chahal is great
@bitcoincypher
@bitcoincypher 3 жыл бұрын
True
@v3nomoussamrat701
@v3nomoussamrat701 3 жыл бұрын
Please don't compare elon
@rishabkumar3973
@rishabkumar3973 3 жыл бұрын
@@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 жыл бұрын
lol no
@aditya-pandey-16
@aditya-pandey-16 Жыл бұрын
18:14 - The generic form for the range will be from - ( (2^(N*8)) / 2 ) to + ( ( (2^(N*8)) / 2 ) - 1 )
@FF_Official___221
@FF_Official___221 5 ай бұрын
🤡👍
@FF_Official___221
@FF_Official___221 5 ай бұрын
19:52
@CyberByte044
@CyberByte044 2 ай бұрын
Noice 🙌
@Himanshu-jf1oc
@Himanshu-jf1oc 28 күн бұрын
Whoever starting it in 2024 plz leave your reviews here! According to me this is the course you need nothing else.😃
@sohamsaha3404
@sohamsaha3404 10 күн бұрын
bro im new in programming can u tell me is it the best channel to learn java from beginning
@Himanshu-jf1oc
@Himanshu-jf1oc 9 күн бұрын
@@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 6 күн бұрын
Yes
@ramdangi5335
@ramdangi5335 4 күн бұрын
started today
@Himanshu-jf1oc
@Himanshu-jf1oc 3 күн бұрын
@@ramdangi5335 all the best bro!
@srinukannedi6824
@srinukannedi6824 10 ай бұрын
Never commented on KZbin but Harry deserves it Such a great work 👏 Amazing course
@abheygupta2332
@abheygupta2332 4 жыл бұрын
He is literally putting his most efforts. He deserves billions.
@programmer4047
@programmer4047 4 жыл бұрын
Not billions ... There are other tutors who are much better than him
@abheygupta2332
@abheygupta2332 4 жыл бұрын
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 жыл бұрын
@@abheygupta2332 is absolutely right
@shivmangalsingh8825
@shivmangalsingh8825 4 жыл бұрын
Absolutely he will deserve that.
@shubhamsongs8746
@shubhamsongs8746 4 жыл бұрын
Right
@ayandutta9844
@ayandutta9844 3 жыл бұрын
If n bytes. Then 1st n*8=8n Range is : -{(2^8n)/2} to [{(2^8n)/2}-1]
@pravojeetchatterjee6473
@pravojeetchatterjee6473 3 жыл бұрын
Right
@veerpallchauhan2876
@veerpallchauhan2876 3 жыл бұрын
Awesome
@kira_light7725
@kira_light7725 3 жыл бұрын
Great
@kumaratul2865
@kumaratul2865 3 жыл бұрын
@@kira_light7725 same here!!!
@karankrash9033
@karankrash9033 3 жыл бұрын
same here
@chocolate_milkshake007
@chocolate_milkshake007 16 күн бұрын
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.
@anujchaudhary5295
@anujchaudhary5295 6 ай бұрын
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😇❣
@Veerbahadur-wq7zz
@Veerbahadur-wq7zz 4 жыл бұрын
Online course: paid Harry course : free
@dhairyavijay266
@dhairyavijay266 3 жыл бұрын
@deshbhakt much better than few paid
@incognito4041
@incognito4041 3 жыл бұрын
@deshbhakt ulta bola🙄
@namanshaw7103
@namanshaw7103 3 жыл бұрын
Please learn me also
@coding1998
@coding1998 3 жыл бұрын
@8115_DhairyaVijay best of all paid courses
@wadewilson6695
@wadewilson6695 2 жыл бұрын
yeah .and the course given by harry is more easy to understand yet knowledgeble .
@ffmind9951
@ffmind9951 Ай бұрын
// 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
@dishasinghania
@dishasinghania 5 ай бұрын
The way you have explained basics is beyond excellent. I find myself lucky to have come across your course.
@631singh
@631singh 3 жыл бұрын
System.out.println("amazing java course"); System.out.println("best teacher on youtube");
@muskansingh8125
@muskansingh8125 Жыл бұрын
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 Жыл бұрын
@@2shorts408 kya taqleef hai bhai is sajjan ko..??
@RiseShine_Channel
@RiseShine_Channel Жыл бұрын
@@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
@WAJAHATNAZIR-vw9un
@WAJAHATNAZIR-vw9un 3 күн бұрын
n=int(input("enter number of bytes:")) a=-2**(n*8-1) b=2**(n*8-1)-1 print("the value of ",n,"bytes ranges from",a,"to",b) pthton program to check the range of value in different number of bits
@user-ry8te6lc6i
@user-ry8te6lc6i 6 ай бұрын
For n bytes -(2^n*8)/2 to (2^n*8)/2 -1 ❤❤❤❤ Thank you sir For this playlist ❤❤❤
@29_jaypadhiyar91
@29_jaypadhiyar91 3 жыл бұрын
18:10 Formula: -(2^(n*8))/2 to (2^(n*8))/2-1
@rohans3447
@rohans3447 3 жыл бұрын
Correct
@29_jaypadhiyar91
@29_jaypadhiyar91 3 жыл бұрын
@@rohans3447 Thanks 🤟🤟🤟
@adityatotade9823
@adityatotade9823 3 жыл бұрын
Same Answer No Difference
@ujjwalartsiit
@ujjwalartsiit 3 жыл бұрын
My answer is also same no difference 😅
@LiegeMaximo
@LiegeMaximo 3 жыл бұрын
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.
@abufarhaz2306
@abufarhaz2306 3 жыл бұрын
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 жыл бұрын
Brother can you help me in learning programming language please
@neeraj4561
@neeraj4561 2 жыл бұрын
@@varunsharma2507 nahi😛
@ayush2221
@ayush2221 2 жыл бұрын
@@neeraj4561 kr le
@XYSTER-
@XYSTER- 2 күн бұрын
-(2^8n)/2 to (2^8n)/2-1 , amazing course btw
@ProarjGamer
@ProarjGamer 4 ай бұрын
Hello Harry I am Arjun from class 6th I am learning Java during my summer vacation.
@kkgamingkingyt221
@kkgamingkingyt221 3 ай бұрын
Me too
@statusforyou8698
@statusforyou8698 3 ай бұрын
Hmai tou 6th me pta tha ki 10th pass krne k baad mazai hi mazai hai. 🥴🥴🤣🤣🤣
@departurer121
@departurer121 13 күн бұрын
Bro, don't! Don't burden yourself with this, enjoy your childhood!
@nireekshakamath1635
@nireekshakamath1635 6 күн бұрын
@@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 6 күн бұрын
@@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.
@nileshsuthar3894
@nileshsuthar3894 3 жыл бұрын
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 2 жыл бұрын
Right!
@mania20
@mania20 2 жыл бұрын
It's divided by 2 so yeah youbcan write that as well
@arpitpandey726
@arpitpandey726 2 жыл бұрын
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 жыл бұрын
@@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 жыл бұрын
@arpit he has followed exponent rule
@asmitagumber7407
@asmitagumber7407 2 жыл бұрын
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 Жыл бұрын
@@surajyadav289 only even values are put
@abomi499
@abomi499 11 ай бұрын
I am learning JAVA in 2023. Even after 3 years this course is best from all the other courses.❤❤❤❤❤❤❤❤❤❤❤❤❤
@unknwondestroyedff6686
@unknwondestroyedff6686 6 ай бұрын
ab tak kitna sikha ?
@mohitdhiman9879
@mohitdhiman9879 4 ай бұрын
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); } }
@KoushikDas2005
@KoushikDas2005 Жыл бұрын
June 14 2023 Completed it. Will be there again tomorrow for revision. Consistency is the challenge ❤
@mohitarora9092
@mohitarora9092 5 ай бұрын
thats my birthday
@KoushikDas2005
@KoushikDas2005 5 ай бұрын
@@mohitarora9092 and SSR's demise date too 🥹
@insizegamer
@insizegamer 3 ай бұрын
Aa gyi kya bhai coding
@KoushikDas2005
@KoushikDas2005 3 ай бұрын
@@insizegamer chal rhi hai 1 saal ho chuka ab toh tab beginner tha
@KoushikDas2005
@KoushikDas2005 3 ай бұрын
@@mohitarora9092 and that's the death anniversary of SSR
@abhiaryan07
@abhiaryan07 4 жыл бұрын
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 жыл бұрын
@@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
@sagarikatalukdar57
@sagarikatalukdar57 29 күн бұрын
Size: n bytes; Then value range: -(2^8n)/2 to {(2^8n)/2}-1
@RajwardhanChavan-vb9mr
@RajwardhanChavan-vb9mr 2 ай бұрын
public class Main { public static void main(String[] args){ int num1=8; int num2=4; int num3=7; System.out.println(num1+num2+num3); } }
@KajalSingh-xg8jp
@KajalSingh-xg8jp Жыл бұрын
For n bytes, range will be from ((2^(8n))/2) to ((2 ^(8n))/2) - 1
@satishurewar2564
@satishurewar2564 Жыл бұрын
There is a correction, minus sign - ((2^(8n))/2) to ((2 ^(8n))/2) - 1 i.e -128 to 127
@pritampritam3458
@pritampritam3458 Жыл бұрын
@@satishurewar2564 thanks bhai
@laharikattamuri2061
@laharikattamuri2061 Жыл бұрын
((-2^8n))/2) to ((2^8n)/2) -1
@motivational12304
@motivational12304 11 ай бұрын
​@@pritampritam3458🎉
@sankalpnepak4820
@sankalpnepak4820 3 жыл бұрын
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
@TanishaGarg-s6b
@TanishaGarg-s6b Ай бұрын
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..
@vikaskaushik7055
@vikaskaushik7055 4 жыл бұрын
Nice video sir , you are the best teacher in my whole life 😍😍😍😍😍
@KajalSingh-if4uu
@KajalSingh-if4uu 3 жыл бұрын
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 жыл бұрын
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 жыл бұрын
@@meghagore4518 dude it is not java code it is a formula
@surajyadav289
@surajyadav289 2 жыл бұрын
If we put n= 3 conditions false
@sweetlifeishappiness
@sweetlifeishappiness 2 жыл бұрын
@@surajyadav289 its true
@Quazisworld
@Quazisworld 10 ай бұрын
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
@mayamardi7609
@mayamardi7609 2 ай бұрын
Great job sir. Your way of explaination is simple and i would recommend this channel to all the coders out there . AMAZING COURSE !!!!! 🎉 🎉
@masst1961
@masst1961 3 жыл бұрын
Yes is a real coder,teacher , helper , and a god gift. Pls pls pls share his playlists
@python6277
@python6277 Жыл бұрын
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 ай бұрын
bro ye (n) ka matlab kia hota h could please explain me
@prettyyou3848
@prettyyou3848 7 ай бұрын
​@@vishal_34n is the number of bytes taken by the data type
@Faded_999
@Faded_999 6 ай бұрын
@@vishal_34 n means natural number, kuch bhi le sakte hain app
@jinsouls_bead
@jinsouls_bead 3 ай бұрын
Why is it divided by 2?
@thehackerstore1824
@thehackerstore1824 3 ай бұрын
Bhai tum dono maths pad ke aao yrr
@Billionaire-wh5fp
@Billionaire-wh5fp 7 ай бұрын
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
@PrajwalYakathpure-so6wj
@PrajwalYakathpure-so6wj 11 күн бұрын
A thorough scholar, your sacrifices don't go unnoticed 🤗
@abhinavshesware9122
@abhinavshesware9122 3 жыл бұрын
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 жыл бұрын
Kaha sa notes mila bhai musjko bhi chaiye the notes
@harshkeshri3544
@harshkeshri3544 2 жыл бұрын
@@ShubhamSingh-fk8fm description Mein website k link h unka. Downloads k option Mein Pura notes available h.
@nileshnatubhai8634
@nileshnatubhai8634 2 ай бұрын
Formula of range for n bytes -(2^8n)/2 to (2^8n)/2 -1
@masterofphotons1130
@masterofphotons1130 4 ай бұрын
21:21 class sum { public void summation(int a,int b, int c) { int add= a + b + c; System.out.println("Sum of three numbers is: "+ add); } }
@arkodeepray6730
@arkodeepray6730 3 жыл бұрын
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)
@monikavarshney5029
@monikavarshney5029 4 жыл бұрын
Udemy - All of the cost of lunch CodeWithHarry - Lesser than a price of toffee That's why Harry is legend
@joshithahari2836
@joshithahari2836 6 ай бұрын
thank god i found your channel , learning java became easy
@Anjaliprasad-wv7np
@Anjaliprasad-wv7np 9 ай бұрын
Sir you are wonderful teacher for java !! It helped me a lot to master java language!!
@viplawkumaraniket7526
@viplawkumaraniket7526 3 жыл бұрын
You deserve 1 trillion subscribers.
@ytvideoedit7055
@ytvideoedit7055 3 жыл бұрын
Bhai Earth ki population 7 billion hai , Alien se bhi subscribe karwaega kya.
@AshishKumar-nj3yk
@AshishKumar-nj3yk 3 жыл бұрын
@@ytvideoedit7055 ji
@AnjaliSharma-jj8lq
@AnjaliSharma-jj8lq Жыл бұрын
​@@ytvideoedit7055😂😂
@asimaliasimali4740
@asimaliasimali4740 Жыл бұрын
​@@ytvideoedit7055😂😂😂
@asimaliasimali4740
@asimaliasimali4740 Жыл бұрын
And also angels
@maheshasati2211
@maheshasati2211 4 жыл бұрын
Hey dislikers, what else do you want? He's tries his level best in his every course!
@piyushchoudhary6221
@piyushchoudhary6221 4 жыл бұрын
I think they want us to kick their asses make them our slaves....
@ridashah5183
@ridashah5183 3 жыл бұрын
They are haters chill
@fastcar544
@fastcar544 3 жыл бұрын
they dont have a life
@mahigupta8505
@mahigupta8505 3 жыл бұрын
@@fastcar544 jindagi se pareshan
@mahigupta8505
@mahigupta8505 3 жыл бұрын
ho sakta hai jaisa unne aspect kiya tha vaisa unhe na milla aur aisa bhi ho sakta hai ki coching institude vale ho?
@adarshvishwakarma3372
@adarshvishwakarma3372 3 ай бұрын
18:15 for integer taking "n" bytes the formula becomes:- {-(2^n)/2 } to {(2^n)/2 - 1}
@JavaCodingwithRaju-kv7xc
@JavaCodingwithRaju-kv7xc 10 ай бұрын
Amazing Java Course by Harry Bhai.
@implementation8489
@implementation8489 4 жыл бұрын
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.... 😎😎
@rohitupadhyay1066
@rohitupadhyay1066 4 жыл бұрын
Jo jo Harry bhai se PURA MySQL shikna chaheta Hain woh like kare🙏
@Irshad0786alam
@Irshad0786alam 9 ай бұрын
18:06 if any data type takes n bytes then, then, range= -(2^n*8)/2 to ((2^n*8)/2-1).
@subhankarkanrar9494
@subhankarkanrar9494 8 ай бұрын
For n bits, the generalized formula is--> -2^(n-1) to +2^(n-1) - 1. We have to remember 1byte=8bits.
@knowatease5315
@knowatease5315 3 жыл бұрын
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? "
@UttamDas-ub5ow
@UttamDas-ub5ow 4 жыл бұрын
I was waiting for this Java course for a year in this channel . And now finally he started. Love you Harry bhai 💓💓💓
@Payal_Ojha
@Payal_Ojha Ай бұрын
-(2^8n)/2 to {(2^8n)/2-1} . . This will be the generalized formula to calculate range . I hope this is correct🤞🏻
@Prachee__
@Prachee__ 11 ай бұрын
public class Main{ public static void main (String [] args){ System.out.print("Amazing Java course") } }
@tawseeftaher9109
@tawseeftaher9109 3 жыл бұрын
18:10 Formula: -(2^(totalBit*8))/2 to ((2^(totalBit*8))/2)-1
@hazzi27
@hazzi27 2 жыл бұрын
18:30 For integers consuming n bytes the formula can be: -(2^8xn)/2 to (2^8xn)/2 -1
@mohammadneshar5738
@mohammadneshar5738 2 жыл бұрын
You're right
@maazansari1812
@maazansari1812 2 жыл бұрын
It is not true for byte range (n=1)
@FFSHAGGY
@FFSHAGGY 4 күн бұрын
18:16 -(2^n) /2 to(2^n) /2-1
@Unknownperson99191
@Unknownperson99191 5 ай бұрын
Amazing java course!!!
@mohammedimaz3879
@mohammedimaz3879 3 жыл бұрын
This man's effort should be appreciated... He puts in a lot of work with Quality content
@vibhu613
@vibhu613 3 жыл бұрын
❤❤
@santoshgajar1102
@santoshgajar1102 3 жыл бұрын
Realy
@devendravishwas876
@devendravishwas876 2 жыл бұрын
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
@AdityaPundir.
@AdityaPundir. 13 күн бұрын
for n bytes 2^(8n - 1) to 2^(8n - 1) - 1 at 18:10
@StudyNidhi-ni5uv
@StudyNidhi-ni5uv Ай бұрын
You're the best coding teacher ever 😊❤
@FaizanKhan-vb9tp
@FaizanKhan-vb9tp 3 жыл бұрын
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...
@exampoint293
@exampoint293 Жыл бұрын
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 Жыл бұрын
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 Жыл бұрын
@@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.
@shayan3354
@shayan3354 3 ай бұрын
Thanks a lot I am starting to learn Java and this playlist is helping a lot for someone who have very less knowledge on programming language
@lovelymishra2949
@lovelymishra2949 5 ай бұрын
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 🥹
@baklolyou8571
@baklolyou8571 20 күн бұрын
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 17 күн бұрын
Bhai ek langauge sikhne mai approx kitne time lga
@smitpatel1623
@smitpatel1623 2 жыл бұрын
18:25 For integers taking n bytes according to the data type, value will range from-(2^(n*8))/2 to (2^(n*8))/2-1
@257_jangidmahesh6
@257_jangidmahesh6 3 жыл бұрын
Your teaching style is amazing. You deserve millions of likes.❤️
@shubhajindal1855
@shubhajindal1855 2 жыл бұрын
Toh dete kyu nahi hoo
@ethereumhitman9518
@ethereumhitman9518 2 жыл бұрын
sahi baat hai bro
@Tech_Code
@Tech_Code 29 күн бұрын
int num1 = 12, num2 = 10, num3 = 20, sum; sum = num1 + num2 + num3; System.out.println("The Sum of 3 variables are: "); System.out.println(sum);
@Satishday18
@Satishday18 4 ай бұрын
Sir mujhe kam samjh me aa raha hai par video dekhne me kuch sikhne ko mil raha hai
@darshiii_photos
@darshiii_photos 2 ай бұрын
Same bro
@bhavitgrover
@bhavitgrover Жыл бұрын
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 Жыл бұрын
Ya same problem for me too. I had also began programming from python.😅
@pranjiljain4500
@pranjiljain4500 Жыл бұрын
@@KoushikDas2005 where do you guys work
@KoushikDas2005
@KoushikDas2005 Жыл бұрын
@@pranjiljain4500we are students
@akusarma686
@akusarma686 4 жыл бұрын
You really teach like a experienced teacher.
@tanweeramjad4458
@tanweeramjad4458 3 ай бұрын
package zstronic; public class Main { public static void main(String[] args) { int a = 400 , b = 400 ; int sum = a + b ; int sub = a - b ; int mul = a * b ; int div = a / b ; System.out.println("sum of the value : "+sum); System.out.println("sub of the value : "+sub); System.out.println("mul of the value : "+mul); System.out.println("div of the value : "+div); }
@tejatejaswini8551
@tejatejaswini8551 5 ай бұрын
Best explanation ever
@KoushikDas2005
@KoushikDas2005 Жыл бұрын
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 Жыл бұрын
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 Жыл бұрын
@@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 Жыл бұрын
@@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 Жыл бұрын
@@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 .
@sujatajena267
@sujatajena267 4 жыл бұрын
18:08 ANSWER -(2^n*8)/2 to ((2^n*8)/2)-1
@Unknown-Stranger
@Unknown-Stranger 4 жыл бұрын
put n*8 in bracket
@sujatajena267
@sujatajena267 4 жыл бұрын
@@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 жыл бұрын
@@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 жыл бұрын
@@sujatajena267 really nice & thanks
@K-Vibes1323
@K-Vibes1323 10 ай бұрын
-(2^8n)/2 to (2^8n)/2-1 is the general formula.
@garvitgoyal2694
@garvitgoyal2694 Ай бұрын
If n bytes then 8*n bits Value ranges from -(2)^(n-1) to (2^(n))-1
@abdullahimran798
@abdullahimran798 3 жыл бұрын
Wondorful . Tried to learn java from others but was totally confused. But now I have a clear mind. Amazing Java Course. You deserve Millions
@ankitrambhiya5919
@ankitrambhiya5919 3 жыл бұрын
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"
@SadiqaKhanums
@SadiqaKhanums 22 күн бұрын
Bhai you are the god gifted child bro 🙏 ise hi life me successful ben ke raho. Aur hum jaisi logon ko bhi successful banaooo❤
@user-oh8qz7ss8y
@user-oh8qz7ss8y 9 ай бұрын
Amazing Java course
@digantamaity7235
@digantamaity7235 2 жыл бұрын
Best teacher in my life for coding... Thanks Harry Vai/sir ... 🙏🙏🙏
@ayan9530
@ayan9530 4 жыл бұрын
Amazing Java course. Infact I learnt everything from u only..
@tulsikumari6756
@tulsikumari6756 11 ай бұрын
-{(2^8n)/2} to + [{(2^8n)/2} - 1] is the generalised formula for calculating range of a datatype when it takes n bytes
@nkdox5
@nkdox5 Ай бұрын
public class AddThreeNum { public static void main(String[] args){ byte num1 = 5, num2 = 4, num3 = 9; int sum = num1 + num2 + num3; System.out.println("The sum of three numbers is: " + sum); } }
@aneekyadav4053
@aneekyadav4053 Жыл бұрын
Generalized formula: - Firstly consider the how many bytes that particular data type takes, suppose taking 'int' as an example, it take 4 bytes which is equals to (8*4 = 32 bits) [1 byte = 8 bit] so the generalized formula will be [-2^n/2 to 2^n/2 -1], here n is the number of bits..... Considering our example of int data type the generalized formula will be [-2^32/2 to 2^32-1] on further calculation it will be ranging between [-2147483648 to 2147483647]. Hope it helps :D
@borahae9531
@borahae9531 Жыл бұрын
it will be 2^8n/2 coz the power comes by multiplying 8 bits and "n". n means bytes taken by each data type takes, Let's take - int as an example it takes 4 bytes we will convert 4 bytes into bits by multiplying it with 8 bits so it will be 32. hope this helps although a bit confusing
@aneekyadav4053
@aneekyadav4053 Жыл бұрын
@@borahae9531 nicely done thanks
@atulpal2207
@atulpal2207 2 жыл бұрын
18:19 formula for calculating the range of integer taking n bytes to store -(2^n)/2 to ((2^n)/2)-1
@soumyaranjansahu9926
@soumyaranjansahu9926 11 күн бұрын
{(2^8n)/2} to [{(2^8n)/2}-1] If n bytes
@Billionaire-wh5fp
@Billionaire-wh5fp 7 ай бұрын
Amazing Java Course
@ayush2221
@ayush2221 2 жыл бұрын
For integers taking n bytes according to the data type, value will range from (-2^(n*8))/2 to ((2^(n*8))/2)-1.
@kritithakur5380
@kritithakur5380 2 жыл бұрын
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.
@ishqlines63
@ishqlines63 Ай бұрын
Really amazing java course ❤
@VishnuKumar-fo2rl
@VishnuKumar-fo2rl 25 күн бұрын
Lets start another amazing playlist by CodeWithHarry
@swarnimamitra5501
@swarnimamitra5501 3 жыл бұрын
If any datatype takes n bytes then the formula to find its range is : -(2^8n/2) to {(2^8n/2)-1}
@sumitsaha6533
@sumitsaha6533 2 жыл бұрын
Yes ,you are right
@faisalpathan01
@faisalpathan01 2 жыл бұрын
This is not right this time because begginer have not knowledge about operator
Java Tutorial: Literals in Java
16:34
CodeWithHarry
Рет қаралды 1,8 МЛН
Which Operating System I use and Why 💻
14:57
CodeWithHarry
Рет қаралды 109 М.
Survive 100 Days In Nuclear Bunker, Win $500,000
32:21
MrBeast
Рет қаралды 161 МЛН
Вы чего бл….🤣🤣🙏🏽🙏🏽🙏🏽
00:18
Java Tutorial: Getting User Input in Java
15:38
CodeWithHarry
Рет қаралды 1,9 МЛН
DSA & ₹1.2 Crore Per Annum Jobs - The Truth? (No Offence)
12:22
CodeWithHarry
Рет қаралды 609 М.
Java Tutorial: Operators, Types of Operators & Expressions in Java
15:59
CodeWithHarry
Рет қаралды 1,2 МЛН
Python vs JavaScript | What to Choose? | ft. Toolify.ai
9:23
CodeWithHarry
Рет қаралды 91 М.
How to become a Data Analyst? | Complete Roadmap for Data Analyst🔥
15:20
Generative AI Roadmap For Absolute Beginners 🔥
15:13
CodeWithHarry
Рет қаралды 76 М.
How much HTML, CSS and JavaScript is Enough to get a Job 🔥
14:32
CodeWithHarry
Рет қаралды 195 М.
Survive 100 Days In Nuclear Bunker, Win $500,000
32:21
MrBeast
Рет қаралды 161 МЛН