☕Want to master Java? Get my complete Java course: bit.ly/42mQlXE
@ianpan01024 жыл бұрын
I was planning on refreshing my memory on Java and found your playlist -- best thing I've come across this week!
@mycodegist42584 жыл бұрын
Your video quality is top notch. The sound is crispy clear too Keep up the good work, this video was helpful! Cheers!
@KeepOnCoding4 жыл бұрын
Thank you!
@christler8014 жыл бұрын
Good stuff! I am learning Java now and just got through the File I/O section. Last week I was learning exception handling when your video on that came up. Keep it up
@ErionMaxhari4 жыл бұрын
I am learning Java since a year now, and this is the best channel across youtube.
@itheblackwolfofmyfamily4 жыл бұрын
We can also have try with resources because the bufferewriter will be closed automatically. This is good because we may forget to close the bufferwriter.
@vighnesh934 жыл бұрын
Really really helpful. Loved the clarity and simplicity of your content. Please keep posting 🙌🏼
@christophernoble82843 жыл бұрын
This is a great video. Voice tone, editing, it's perfect man thank you.
@marissawebb76713 жыл бұрын
I'm taking Java now and I'm so thankful for this video!
@JLSXMK84 жыл бұрын
I love how you added in a way to copy files instead of just doing a "hey, we're gonna write to a file."; That technique can be VERY handy in case of accidental deletion of a file.
@Dav95id2 жыл бұрын
Bro! I thought i was gonna freak out because of my university excercises, but now I am laughing because you showed me how frickin' easy this is :D Thank you so much!
@kevser17611 ай бұрын
that was the most useful video about file i/o on youtube for me. thanks maaan
@greynade4 жыл бұрын
Expecting you to reach 100k soon! Please keep making such short and specific videos. Maybe a video on CUSTOM THEMES ? like "Custom Dark Theme" , "Default Night Mode" , Custom Brand Color Theme" , etc! Would love a such video
@gothfrog692 жыл бұрын
Clear and concise example of file reader/writer. Thank you.
@nicolapetkovic79104 жыл бұрын
I've found this video useful because you give a solution to a common problem by easy and clear way
@csongorcsizmadia67653 жыл бұрын
thank you so much! They didn't really explain this at the java lecture, so your video was very helpful!
@salmali9039 Жыл бұрын
Do you can solve this: Build Application that has three classes (three user data types). Every class has some of attributes and methods to manipulate the objects of these classes. The objects and their data can be saved permanently into Files. Every class have to save in three forms of files: 1. Object Stream. 2. Data Stream. 3. Random Access File Stream. Data can be brought mainly from csv file. Every record consists of multiple fields, and every line has only one record.
@draculaoppa8344 жыл бұрын
Never put blank or return; in catch block when you use try-catch. You can't know where the error has occured when the project is too large. That's the bad practice!
@giangnguyenbang80733 жыл бұрын
he is demo :3 calm :3
@thatoneuser86003 жыл бұрын
@@giangnguyenbang8073 If you're teaching to newbies-such as in this video-, then that is a profoundly horrible excuse.
@DueSouthWests3 жыл бұрын
So is someone gonna give an example for what a beginner should wright? Like I would really like to know as a beginner.
@draculaoppa8343 жыл бұрын
@@DueSouthWests What I said (Knowing the consequences!) is what all beginners should know about!!! Just listen to understand but not to reply.
@sews57424 жыл бұрын
good quality video, thank you. the only things i would've liked added are how to use bufferedwriter without overwriting the current state of the text file, and how to create a text file just inside the project folder in case it needs to be moved between pcs both of which probably have easy to find solutions online though, so it isnt an issue edit: to anyone with the same questions, you can append instead of overwriting by adding true as a parameter in FileWriter: FileWriter("path", true) and you can write to a file inside the project folder by just typing the file name without a path, like FileWriter("textfile.txt")
@ezequielschmit3 жыл бұрын
Thanks a lot man, it was very helpful
@sews57423 жыл бұрын
@@ezequielschmit glad it helped
@sollee2453 жыл бұрын
how easy this video is!!! Thankyou for sweet explanation XD
@leanobajio4 жыл бұрын
Hey! Awesome video! Could you do a video about your environment setup for coding in java. What IDE do you use/prefer? Maven or Gradle? etc.
@isadorasantos24423 жыл бұрын
Thank you so much for this video. Helped me a lot with my assignment!
@giacomomosele22213 жыл бұрын
I need this for an application to write its log to a file. Thank you so much!
@sekoubasillahcamara57912 жыл бұрын
Damn you made this look very easy. Thanks mate
@ahmadasfour67153 жыл бұрын
Really good as it is to the point and you were easy to understand. Thanks.
@alainj4902 жыл бұрын
Very clear, now I understand. Thank you so much!
@sanchitlodha57704 жыл бұрын
Thank you for getting me started on java io
@Allen-pj7nw Жыл бұрын
Your setup is cool
@djebelqaf52173 жыл бұрын
Thanks for the video, i sleep early tonight
@haphazardhaywire2 жыл бұрын
Which application have you used for programming in this video?
@lilasian38773 жыл бұрын
Great video man! Keep up the good work
@westonpeabody80103 жыл бұрын
Just wondering how you learned Java. I've been kinda self learning for a while. Took a break and I'm kinda having a hard time wrapping my head around some things
@JuanCruz-iu9ul3 жыл бұрын
When My mentor told me we were doing FILE i/o i was kinda scared lmao but it is way easier that what I thought
@elmir.ahadov4 жыл бұрын
Can you please discuss how to find jobs as a Java developer (assuming 0 experience)?
@pooblock40923 жыл бұрын
intern jobs or junior dev jobs for the government are easy to get. Depending on where you live the government is looking for lots of people as developers. It's a great place to start.
@ahsaniqbal41223 жыл бұрын
My men love u, U have explained it beautifully.
@harshalkotkar453111 ай бұрын
Just amazing in easiest way, thank you 👍
@maddy36564 жыл бұрын
Great video. Thank you! 🙌🏾
@yadigaryusifov12793 жыл бұрын
Thanks for the great explanation.
@jaylordjl63372 жыл бұрын
Thankyou sir please post more file Handling
@maxd72284 жыл бұрын
Need More Java content. Great how-to 👍
@ibrahimazam11573 жыл бұрын
I wish my assignments were as simple as this 😪
@pooblock40923 жыл бұрын
Sick video, we were given shit content on this in college and this will help me out with the assignment lol.
@guyteigh337511 ай бұрын
Helpful thank you. Is there a (simple) way to ADD to a file (eg a logfile) using this approach, rather than have it just overwrite each time. I realise there are other ways it can be done, but this seemed simpler than most of the ways I have foiund so far - hence wondering if there was an option / switch / parameter to say "dont overwrite, just append this on to it". Many thanks.
@n95833 жыл бұрын
Amazing video but Is it the same for Mac?
@hafsahmr90104 жыл бұрын
Easy to follow. Great content.
@zozowrites4467 Жыл бұрын
Thanks, was really helpful!😀
@Motivational-Mango8 ай бұрын
very good. i like txt file. i write many thing like about the world and about dogs and cats in the file. i write very good information in the file.
@hernandezmartinezfamily80053 жыл бұрын
Man you are my hero
@Roger-we3co4 жыл бұрын
thank you coach!
@sebastienroux17902 жыл бұрын
Id love to see how you handle server side receiving post requests from a video upload.
@DrSaav-my5ym2 жыл бұрын
I typed exactly what you typed here and I got an error "fileName cannot be resolved to a variable"
@trafalgarGR3 жыл бұрын
Thank you sir! If I want for example couple of users to enter their Names how not to override the first name with the second name, etc etc?
@UyenNguyen-m1m Жыл бұрын
Hi, may u answer my question, I am just curious about the try catch parts, what do it gonna do? also why do we have to handle that exception as well as what will happen if we just dont handle the exception?
@JJJJ-gl2uf Жыл бұрын
Great video. Many thanks.
@joesmall86503 жыл бұрын
Which platform do you use?
@amolsushir31982 жыл бұрын
Excellent stuff!! You solved my problem in 7 mins. Also can pls explain how can I limit the number of characters in a particular cell of a csv file. For example upto 2000. Please help.
@DmytriiPavlichenko3 жыл бұрын
Streams closing in "try" section? So bad practice... Be cleaver, do it in "final" block
@AmandeepPatro7 ай бұрын
just wow
@skud13772 жыл бұрын
worked great thanks
@cityzenctm39324 жыл бұрын
Thanks you're awesome
@ipengiewoo3 жыл бұрын
Nice tutorial!
@altechy73043 жыл бұрын
hey man!... did you ever get the "I want to be like you" ?... LOL Congrats and thank you!
@shanesreal4 жыл бұрын
Well done thumbs up
@monstergamers6532 жыл бұрын
how do I send it to a folder that no one else will likely have? I tried making a folder in my C: drive to send it to but no one else will likely have that folder.
@askin_guy46523 жыл бұрын
so buffered readers and writers are restricted to only one functionality (method)?
@alisherry29322 жыл бұрын
What we should do if we need to edit some information in the saved file without losing the other data?
@yadigaryusifov12793 жыл бұрын
when I wrote backslash, it did not create a new line. Could you clarify me on this problem?
@AnirudhSharma92113 жыл бұрын
Karen, Chad and Becky LMAO
@charlesochanda51114 жыл бұрын
Great video! great quality! great explanation! 👏 but I think most of us enjoy watching non-coding related videos more😄
@CashmereMercenary3 жыл бұрын
nice, thanks for that. However i tried reading from some an excel i created earlier with various columns and rows but i just a lot of binary among other characters. i initially read and wrote to .xls instead of the .txt which worked fine. any ideas?
@noltarferior2 жыл бұрын
I was wandering how do I create a file where the USER can write in it?
@danieloguhebe16694 жыл бұрын
But you didn't cover how to read from excel files using java.io.*;
@nishantjasra52912 жыл бұрын
It Created the file and wrote too, but unable to read the code in IDE by second code
@amalalmuarik51602 жыл бұрын
i don't get why do we need to open a file and write on it are we writing on outer file not ours or my own file ?
@miguelmora21413 жыл бұрын
How do you print out every line in reverse alphabetical order?
@ahmadhasham68903 жыл бұрын
can we write and read from a text file in a single java file?
@waytoallah58312 жыл бұрын
my text is in the same line even when i write
@abukmoha50924 жыл бұрын
thank you very help full....
@yousefalzeer72654 жыл бұрын
i will start to learn cooding soon so what should i learn first python or javascript
@tannerbarcelos68804 жыл бұрын
javascript is good but for its more advanced stuff, including asyncronous coding and such will kinda get confusing when you get to it versus python being a lot more straight forward and easier to learn. I would say learn all the core basics of Python and then get into some JS. Personally, though, I believe learning C++ and Java is best because you will learn proper coding practices and logic for how higher level languages like python and JS work without the verbosity of types, memory management etc. in the lower level languages. Short answer: Python lol
@yousefalzeer72654 жыл бұрын
@@tannerbarcelos6880 thanks man that helps alot👍🏻👍🏻👍🏻
@tannerbarcelos68804 жыл бұрын
@@yousefalzeer7265 no problem! Just don't get discouraged. Whatever you start with, it'll take hard work regardless, but it is not as hard as many make it out to be! Just trust the process.
@yousefalzeer72654 жыл бұрын
@@tannerbarcelos6880 i will but do you know a good youtubers that are very good in making tutorials or lessons
@yousefalzeer72654 жыл бұрын
@@tannerbarcelos6880 thanks so much man i really appreciate it 👍🏻👍🏻
@An-fu9ui2 жыл бұрын
Sir, i want to ask you how to create an object like for example Class Student in file io ?
@Momo-qr3rd2 жыл бұрын
Thanks Bro
@lazarvukosavljevic27303 жыл бұрын
Bro this video is helpfull only if you have like 3 yrs of exp behind you, not beginner frendly
@marryammalik95003 жыл бұрын
Thanks alot
@mo-_-om74753 жыл бұрын
how to check if the words in a text file Palindromes are or not?
@mihirkohli48044 жыл бұрын
Thankss
@Not86903 жыл бұрын
what is it called with how his bw.write(str:) like it's showing you your method/function is a string. I notice that in all his videos that it tells you what it is.
@Not86903 жыл бұрын
nevermind that's not it :/
@Jeff-zc6rr2 жыл бұрын
Append to the file?
@kalashacharya98213 жыл бұрын
The code of #2:46 gave the error. Instead, I have to modify the code as below to run without error. Can anyone explain to me why? import java.io.*; class Main { public static void main(String[] args) { try { BufferedWriter bw = new BufferedWriter(new FileWriter("F:\\JAVA\\InputOutput\\output.txt")); bw.write("karen"); bw.write("\t chad"); bw.write("\t becky"); bw.close(); } catch(Exception e) { return; } } }
@thatoneuser86003 жыл бұрын
Maybe you wrote the absolute path starting at the F drive rather than the C drive?
@rhsliza7023 Жыл бұрын
thanks sir
@shahadhussein97083 жыл бұрын
what if I wanted to print a specific line from a file? can anyone help?
@randomstorywa51074 жыл бұрын
How about integer in Bufferwriter?
@bwb38813 жыл бұрын
What is the meaning of str ?
@DZITSEWISDOM7 ай бұрын
how can i code a bar chart in java
@msnraju973 жыл бұрын
what str. in bw.write line? even without it will work?
@shiroisekai_203 жыл бұрын
is it possible to use this method to make a user password program
@ahmadfx89622 жыл бұрын
if finished the app and then i want to give it to client, how to make path to my client directory ? maven give me this>>Required filename-based automodules detected. Please don't publish this project to a public artifact repository!