Knowing the basics of dart made this super super super easy.. My friend a computer science graduate once told me that if you know one programming language, The other's are going to be so easy to learn. You are only going to struggle with the first one.
thanks thanks thanks a lot these videos are a lot a lot clear and detailed the coomparision u did here is just awesome . we truly need this kind of videos
++i != i++ my friend, in Java the precedence starts from left to right, so ++i means that i will be incremented by one and then used in the equation, i++ means you'll use the old i first in the equation then get it incremented by 1.
True but that's in an equation. If you're looking at i++ as itself it is the same as ++i, both will increase i by 1. In an equation, it matters because the i value used might be different.
I missed class the day we went over this, and was totally confused about how this worked... now that I see it, I feel stupid for not understanding it sooner
Sir.. I'm doing BTech form electronic and communications branch but I interested in android devlopment that's why I'm learning java but I confused that what i learn first opps or core java ,and i have no programing experience instead of c language . Plz sugges me .. and also sugges if you have any playlist related to opps or core . And I'm watching your java playlist sir your teaching style is very osm And you are great sir 💝😍
If you are good at C, Java will be very easy for you. Learn Core Java first, like Primitives, Objects, Classess, Inheritance, Data structures, and those stuff. It will take you couple weeks since you know C. If you have any challenging questions about Java, please post, I might be able to help you.
Yes hello will be printed five times, but it was print ( " hello " + I) where I = 6. It's because when it reached 6 in the loop, the loop stopped printing stuff
Yes, for each loop is shorter form of the long for loop. Here is an example String[] names = {"Bob", "John", "Adam", "Sarah"}; // long for loop System.out.printf("%4s%15s ", "Index", "Name"); System.out.println(); for (int i = 0; i < names.length;i++){ System.out.printf("%4s%15s ", i, names[i]); } // For each form for (String name : names ){ System.out.println("Name: " + name); }
Yes, for each loop is shorter form of the long for loop. Here is an example String[] names = {"Bob", "John", "Adam", "Sarah"}; // long for loop System.out.printf("%4s%15s ", "Index", "Name"); System.out.println(); for (int i = 0; i < names.length;i++){ System.out.printf("%4s%15s ", i, names[i]); } // For each form for (String name : names ){ System.out.println("Name: " + name); }
Just have to say, you're a legend. Thanks for all the videos brother! You are helping a student in need.
Indeed. He’s helping a lot of students. He’s a good man.
You’re good at explaining. Concise and articulate.
I've been on for loops for almost 2 weeks now. You sir explained it brilliantly. I felt like a genius when the light bulb went on 😄.
Sir, you are teaching better than my teacher
I am learning Loops right now and I thank you for explaining so well!
I am understanding these concepts easily after learning C
Why system .out +i
MG bro😂😂😂🎉🎉
MG bro🎉🎉🎉😂😂
Knowing the basics of dart made this super super super easy..
My friend a computer science graduate once told me that if you know one programming language, The other's are going to be so easy to learn. You are only going to struggle with the first one.
a better example of for loop than I got at uni........thanks bro
That is best explanation I have ever seen
thanks thanks thanks a lot these videos are a lot a lot clear and detailed the coomparision u did here is just awesome . we truly need this kind of videos
Great explanation!!! Thanks for helping me understand better!!!
you explain better than my professor, thank you
incredibly thorough video. Thank you!!
Such a life saver!!! THANK YOU THANK YOU THANK YOU
++i != i++ my friend, in Java the precedence starts from left to right, so ++i means that i will be incremented by one and then used in the equation, i++ means you'll use the old i first in the equation then get it incremented by 1.
True but that's in an equation. If you're looking at i++ as itself it is the same as ++i, both will increase i by 1. In an equation, it matters because the i value used might be different.
@@LearnJava_Programming So you are proving what I was saying, they are not the same.
@@Altair.1187 true but only in an equation.
Great explanation, excellent work.
Thank you so much for teaching you're amazing and may Allah bless you Jazakallah
Tq..you made it more easier
damn I never even thought that I could understand loop in just 8 minutes, better than my prof
I swear me too!
simply legendary.
Thank you pal! God bless you
Well explained .Thank you .keep it Up !
I don;t know what to say. Very helpful indeed
"As you can see" gets me too much🤣 though thank you for making it easy to understand!
thank you.
Great sir. Really useful
I missed class the day we went over this, and was totally confused about how this worked... now that I see it, I feel stupid for not understanding it sooner
this helps a lot
Well explain thnku for this video
Thanks, I got it so nicely😊😉
Excellent discusssion it was really clear. tho at 7:05 will adding a return i; to the body of the loop be redundant or add no additional value?
Thank you so much this helps me lot
Excellent Explaination
Why out put is hello 6
Thanks so much!
Best explanation ever!
7:25 i have a problem like if i want to print "Hello" say, 15 times how do i do it?
i wrote the code as: for( ; i
if you are using a condition then the variable should be initialized first.
can we d use float/double variable for looping purpose ???
double[] inches = {1.3,4.2,59.4, 112.9, 88.7};
float[] bigNumbers = {1000000000,2000000000, 300000000, 400000000};
System.out.printf("%4s%15s", "Index", "Value");
System.out.println();
for (int i = 0; i < bigNumbers.length;i++){
System.out.printf("%4s%16s
", (i+1), bigNumbers[i]);
}
for (int i = 0; i < inches.length;i++){
System.out.printf("%4s%16s
", (i+1), inches[i]);
}
Sir..
I'm doing BTech form electronic and communications branch but I interested in android devlopment that's why I'm learning java but I confused that what i learn first opps or core java ,and i have no programing experience instead of c language .
Plz sugges me .. and also sugges if you have any playlist related to opps or core .
And I'm watching your java playlist sir your teaching style is very osm And you are great sir 💝😍
If you are good at C, Java will be very easy for you. Learn Core Java first, like Primitives, Objects, Classess, Inheritance, Data structures, and those stuff. It will take you couple weeks since you know C. If you have any challenging questions about Java, please post, I might be able to help you.
If you want to learn Java ..First u need to learn the OOP's and then go for core Java ..it might be easy for u if u have knowledge in C..
Data type variable:type
incredible video
Very good tutorial. but the output "Hello" will be printed five times not six times.
Yes hello will be printed five times, but it was print ( " hello " + I) where I = 6. It's because when it reached 6 in the loop, the loop stopped printing stuff
Wonderful ✨🙏🏾
You are just awesome!! 😭
Helpful
Best explanations !
Thanks
Idk how to say Thank You, but thanks well explained
Bro!!!!!! your too good
thanks man
great video! thank you
the outputs you gave were wrong
Are there power point documents for subscribers on the site ?
A great video ❤
Thank you.
Right!
Thanks, but I have exam on April 1, please download videos before it🥺
What problems do you have?
The Blind Programmer I already done with exams, passed from all, thanks for asking🥳
@@normangasan Good to hear, I just wanted to help. If you have any Java-related question/challange feel free to ask.
ur explanation is Fucking incredible
can you please make a video on "for each " loop.....????
Yes, for each loop is shorter form of the long for loop. Here is an example
String[] names = {"Bob", "John", "Adam", "Sarah"};
// long for loop
System.out.printf("%4s%15s
", "Index", "Name");
System.out.println();
for (int i = 0; i < names.length;i++){
System.out.printf("%4s%15s
", i, names[i]);
}
// For each form
for (String name : names ){
System.out.println("Name: " + name);
}
You can find it on arfisto! Wish you happy learning
@@theblindprogrammercan u say which programming language u have used here ?
In java
for(int i = 0 ; i
@@melitajm4286 I used Java, which language do you want me to write?
Make a video for each loop
Yes, for each loop is shorter form of the long for loop. Here is an example
String[] names = {"Bob", "John", "Adam", "Sarah"};
// long for loop
System.out.printf("%4s%15s
", "Index", "Name");
System.out.println();
for (int i = 0; i < names.length;i++){
System.out.printf("%4s%15s
", i, names[i]);
}
// For each form
for (String name : names ){
System.out.println("Name: " + name);
}
Superb..
Good 👌
Gotta love that heavy Arabic accent.
Better then Cydeo...
habibi!!!!!
nice❤️👍
Java will be free.
We open braces😬