This channel is the best thing to happen to my GPA since Chegg
@pastel12133 жыл бұрын
This is incredible bro, can't believe that not a lot of people watch this. That is the way to teach people! Keep it up! Love your videos
@MariaZarinaKay2 ай бұрын
Yeah!!!!!!!!!!!!!!!!!!!!!!!
@JuliHoffman2 жыл бұрын
That broke down the WHY of scanners for me, rather than "because that's just the way it is." Thank you!
@meng-junglee90712 жыл бұрын
Bro you have no idea how long it took me to wonder why I couldn't enter any input with the nextLine after nextInt. You are awesome!!
@1jokerpro7803 жыл бұрын
for strings , when using scanner , its better to use .next(); instead of .nextLine(); to avoid that error , that worked for me at least . and i have to say , great video , thanks for the efforts . this is by far the most beginner friendly , right to the point , including tricks and errors tutorial. i sincerely thank you bro hahahaha
@stephaniehernandez36413 жыл бұрын
Thank you!!! I took a note of this :)
@paia64472 жыл бұрын
Next() keyword won't be able to print the whole text, for like name and tittle at the same time
@ayansiddiqui73832 жыл бұрын
Thanks , it helped a lot
@cubebrick70192 жыл бұрын
helped me thanks
@sairos40572 жыл бұрын
If you use ".next();" instead of ".nextLine();", It will be not possible to type more than one word Example: Joker - works fine Joker pro - error
@BroCodez4 жыл бұрын
// It's good practice to close your scanner when you are done using it. scanner.close(); // I forgot to. So I didn't import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner scanner = new Scanner(System.in); System.out.println("What is your name? "); String name = scanner.nextLine(); System.out.println("How old are you? "); int age = scanner.nextInt(); scanner.nextLine(); System.out.println("What is your favorite food?"); String food = scanner.nextLine(); System.out.println("Hello "+name); System.out.println("You are "+age+" years old"); System.out.println("You like "+food); scanner.close(); } }
@nairaac4 жыл бұрын
thanks for giving it in the comments! also mine kept on saying error on the first line.
@CS_CHILD11 ай бұрын
Umm....I'm having a problem here please It says error..system cannot be resolved to a variable
@Elvin-ne6qq Жыл бұрын
I just discovered your channel, your way of explaining things without too much fuss and in an easy way is amazing, greetings from Honduras and thanks a lot👻.
@cristalpineda41783 жыл бұрын
May God bless you, its has been hard since I started college. Now I can Understand better!!!
@sarthak340111 ай бұрын
Just started this course...super excited to finish it ❤😊
@mailiesathare2 жыл бұрын
I like how you tackled the newline character stuck in the buffer integrated concept (I would still call it an error). I was taught that the buffer needed to be cleared, and I still do not know how to visualize a buffer.
@BahaaMaleb8 ай бұрын
if this guy isn't the best teacher in the world idk who is LOVE YOU BRO
@pavelkvasnicka6856 Жыл бұрын
This is the best Java tutorial for beginners, so you can learn Java and English in one hit. Please keep going! I vote for Java advance tutorial. Thanks a lot Bro
@deepthakur14916 Жыл бұрын
Using this series alongside with my uni course , love u bro 👊
@ratnaverma2661 Жыл бұрын
Hey Bro! I am from India and only your tutorials helped me learn programming even my main language didn't help, Thanks a lot, I am a kid btw
@kubapawowski70354 ай бұрын
This tutorial is fantastic! The explanations are clear and concise, making it easy to follow along. I've been struggling with understanding [specific programming concept], but your examples really helped clarify things. Thank you for breaking down complex topics into manageable steps. Looking forward to more videos like this!
@danrobinlibunao44752 жыл бұрын
eyyy new bro here, I had been dealing with a lot of difficulties on understanding Java and thanks to you it gave me a on point lesson to different difficulties. Keep it up bro I know that you can help more beginner like me.
@zxnnightstalker22894 жыл бұрын
I hope you will get more than 1M views each time you uploaded a new video after one day, in the future.
@unalysuf Жыл бұрын
Your explanations and examples is very clean and easy to learn. Thank you so much for your effort
@TewodrosGetnet-ut6km18 күн бұрын
Bro you use 1% of your knowledge and 99% of your talent to lecture. In one or other way you are the bestest one
@anamika_deb3 жыл бұрын
Finally, get this tutorial that explained this error clearly
@muzzammilsabuwala23982 жыл бұрын
Bro really you made it so easy for me Thanks a lot for that bro Whenever I get stuck I come to your channel and as always I return with a great happy feeling and also with understanding the concept ❤❤❤❤❤❤❤❤❤❤❤❤❤❤
@PaulLein-t9m Жыл бұрын
Great explanation of the mysterious behavior of the Scanner class.
@joshuaasukwo Жыл бұрын
For the first time my code executes without error!! # Thank you so much sir, I love your pattern of writing codes so simple ...
@LincyMcGabby8 ай бұрын
You made it so simple & super easy to understand. Thank you
@ilgar.mp4 Жыл бұрын
Short ☑️ Useful ☑️ Practical ☑️ Life Changing ☑️
@bobfarker4001 Жыл бұрын
The shia Labeouf "Just do it" icon made me subscribe. Thanks bro
@doronfeldman515210 ай бұрын
You are the best programming channel!
@maddinluv3122Ай бұрын
this is what i did on my own after watching import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner x = new Scanner(System.in); System.out.println("Whats your name?"); String name = x.nextLine(); System.out.println("Whats your age?"); int agr = x.nextInt(); x.nextLine(); System.out.println("Whats your favourite food"); String food = x.nextLine(); System.out.println("Hello "+ name); System.out.println("You are " + agr + " yrs old"); System.out.println("Your favourite food is "+ food); } } its a little confusing since its not as user friendly as pyton and java but your videos help quite a bit.
@JustNeutral14.5 ай бұрын
Great tutorial. I like seeing how much java differs from python, which is the tutorial language I learned in school.
@eboylydz11482 жыл бұрын
this is a comprehensive explanation
@medjl60834 жыл бұрын
Very important video of Java for input data by user with keyboard.
@jesterfield50347 ай бұрын
Thank you so much for this playlist! I'm currently reviewing for our Algorithms class, bro and I totally forgot about it all 😭😭😭
@nikitassouvatzis19283 жыл бұрын
Αυτό είναι ένα σχόλιο για το συγκεκριμένο βίντεο. Τι αλγόριθμος και πράσινα άλογα... Αφού ήρθαν οι Έλληνες μη φοβάσαι Bro, η επιτυχία είναι δεδομένη.
@-omarabusnineh51743 жыл бұрын
I'm from Jordan, thank's u Bro code u'r professional
@reynanlamsen20074 ай бұрын
I miss C so much 😭
@DANNZIU-kv2sc4 ай бұрын
Dude your tutorials are the best
@UnknownPerson-t7p9 ай бұрын
Man! You saved my java project! Thank you!
@ajaydalvi1378 Жыл бұрын
Thanks, Bro!! /n explanation was what I was looking for throughout the youtube
@venkat22172 жыл бұрын
Excellent Bro ♥️ , You've earned a couple of subscribers!
@soapeated2 ай бұрын
You are a life saver THANK YOU
@suleimandiveriosallum37563 жыл бұрын
Jesus, you are the best man! I discover your channel today!
@viperproduction64543 жыл бұрын
Nice and smoothly explained
@Techtinkerer3D3 ай бұрын
Bro is the realest of all bros
@calm_bloomer12196 ай бұрын
Thank you for giving us such a great learning material !:)
@ihssanenedjaoui14449 ай бұрын
your videos ara just incredible
@pushankarmakar1783 Жыл бұрын
best java course!
@stanislawunruh90823 жыл бұрын
Love your style bro!
@Anees-qf8so Жыл бұрын
you are a true gigaChad programmer bro!!!
@RahmatullahVahdatWithCod-pl2vh4 ай бұрын
wow brother wow very good realy
@huseinrahiym4634 жыл бұрын
Look at the thumbnail though!!😂😂😂😂
@thelastmuslimsamurai31092 жыл бұрын
Bro is always here for me. Thank you Bro ❤️❤️❤️
@alexandrulolea4631 Жыл бұрын
Thank you for the great video! Keep up the good work!
@RandomUser_5432 жыл бұрын
your videos are so useful, thank you
@marcinzale4 жыл бұрын
Great tutorial! Thanks!
@alifaizi69962 жыл бұрын
You are simply great, Bro!
@wallstreetbets77412 жыл бұрын
thank for teaching. I learnt from you
@souleaterboss22466 ай бұрын
a perfect reviewr ty my dude
@dr.oswald54003 жыл бұрын
Thanks for the help on java, I was using a school computer so I couldn't like or comment. I'm doing that now.
@bartomiejsniadach57952 жыл бұрын
Another lesson that i understood
@jaylordjl63372 жыл бұрын
Sometimes it does not work or maybe i just missing something in my code after i implement the nextLine() method to eat some extra white space; but yeah its very helpful, Thanks bro
@tallapragadamadhaviramalak4540 Жыл бұрын
Hey Bro,I have a question from my school I have an image where can I send the image?Please clarify my doubt of menu based programs🙏
@sharkington70073 ай бұрын
Excuse me, Mr. Bro. Great tutorials you have here, but could you please make more videos about using pygame? I think it would be fun for people who have mastered Python or at least have an intermediate knowledge of the language. Thank you.
@SirKingCAT2 жыл бұрын
Very easy to understand. Thank you :)
@animeforever8508 Жыл бұрын
This is epiccccccccccccccccccccccc loving this.............
@thisisbrewsworld2 жыл бұрын
You are amazing bro. Thank you so much
@alexeybudkovskiy Жыл бұрын
Thanks Bro for a great lesson!
@RuthWondwossen Жыл бұрын
Da best bro in Da entire world
@elkhanmammadli6267 Жыл бұрын
You are the best bro !!
@cesara97472 жыл бұрын
a lot of prayers to the algorithm!
@icm03208 ай бұрын
Great tutirial ever !!!!!
@ap1136-c4m8 ай бұрын
found it very helpful
@likeafallen2620 Жыл бұрын
Super as usually!!
@dogowo2 жыл бұрын
incredible video, thank you bro
@WorkSmarter__3 жыл бұрын
Scanner scanner = new Scanner(System.in); -> you could have explained why System.in is passed here. Anyway your tutorials are awesome
6 ай бұрын
Binge watching this channel till I make it as a software developer.
@beksaylor2 жыл бұрын
I just love your voice, @Bro Code !!
@iuliannita36204 жыл бұрын
bro, i watched ur java tutorial (10, 4 hours) and all i learnt its "its ur bro...ladies and gentlemans" ha ha , jk i liked ur video... and Corvette
@fizykanaty1346 Жыл бұрын
Great video , thanks for the efforts !!!
@mahdirahman99709 ай бұрын
We can also use String food =sc.next(); so that the code doesnt skip that question right?
@MoabiSehapi Жыл бұрын
It was helpful thanks❤
@dawidbudkiewicz4509 Жыл бұрын
Great tutorial bro
@ryannayak57974 жыл бұрын
great video bro!!
@NAVEENBENIWAL3 жыл бұрын
Got an error saying "scanner can not be resolved to a type"☹️ What should I do
@Adam-hz6wk2 жыл бұрын
If you still need this, try put scanner without the capital "S" Like: Scanner scanner = new Scanner(System.in); Not Scanner Scanner = new Scanner.....
@ratnaverma2661 Жыл бұрын
@@Adam-hz6wk is right, my friend got the same error
@shanksshaki Жыл бұрын
this easy learn thanks of course !!!
@Zacharydvd3 жыл бұрын
Great Video, Bro!
@joshuaraymond49962 жыл бұрын
Thanks. good class
@711mobiles4 жыл бұрын
Please make a video on Snake Game and tell us why you make 3 different classes? Why you're putting all details of code in only gamepanel class?
@omersond48913 жыл бұрын
you deserved M views for every video
@ananthan_sreekumar11 ай бұрын
thanks for this tutorial bro
@mathlee123443 жыл бұрын
I tried to make a yes -no question using boolean as a variable but I faild how can I do it
@joshbenjamin11002 жыл бұрын
Great video! One question. I made a program that has an IF/ELSE statement in it, so depending on the user's input of age, it goes to one or the other. The program continues to ask questions and receive input if the user's input leads to the ELSE statement, but if it leads to the IF (i.e., the statement before the ELSE) statement, it stops taking input. Any idea why?
@legendtenzy597Ай бұрын
good explanation bro
@montiito9732 ай бұрын
How they put the characters (transparent looking) that disappear when u click in the input box.
@kirillutsenko93062 жыл бұрын
good lesson, bro
@furiman Жыл бұрын
Is there any reason to use the int age = scanner.nextInt(); scanner.nextLine(); method instead of: System.out.println("How old are you? "); int age = Integer.parseInt(scanner.nextLine());This will remove the need for scanner.nextLine(); as the scanner will convert the string to integer and still give us next line and pause so we can fill the rest of the input.
@ibrahimylmaz83782 жыл бұрын
you are amazing!
@geeteshmalik40236 ай бұрын
I have a quick question..... In the start we write " import java.util.Scanner;" but we can also write " import java.util.*;" Can anyone tell the difference between them........................ And i have another question...... Instead of writing the "scanner.nextLine();" after age can't we just write "scanner.next();" instead of "scanner.nextLine();" everywhere. Does it have any effect on the bigger codes or it is safe to write like this?????
@MrShadow11372 жыл бұрын
Hey bro really love your videos! I just have a question, I think there's a small mistake at 4:28 or at least something that i couldn't get - so you said that this common problem happens if you use .nextLine after .nextint or anything else that's not .nextLine, but how is that possible since if you add .nextLine it does cause a problem? and i assume you do answer what you can add after .nextint I just didn't get there. Thank you very much in advance!
@muimeko2774 Жыл бұрын
He said the problem exist if you use nextInt or anything else that isn't nextLine, not the opposite.
@crisnelacristiano2835 Жыл бұрын
@BroCode how can I save users' information to textfile?