After, having tried to expand my program beyond the very basic stuff you showed us in this tutorial, I have come to find that the Formatter utility is pretty bad... You cannot use it to append to files that already exist. You can't even write multiple lines with it. I found the FileReader and FileWriter utilities much more adept at manipulating and reading files.
if you want to make a universal directory that anyone can use use this $USER
what I mean is normally you would do User/alec/Desktop <---- but this doesnt work for anyone else unless there login is alec type it like this User/$USER/Desktop
there u have FILE* , fopen,fwrite,fread,fseek and all the rest are pretty much needless why does java have so much stuff
anyway that's just my opinion and it comes from a guy that the first semester of programming in java couldn't even understand it (even the simplest programs)XD
They named them exceptions because they're not the same as errors. Errors refer to things like failures caused by running out of memory or a hard disk malfunction. Exceptions are things like trying to run a method on a null object.
Ahhh! thanks for the exception preview Boss. I'm getting better with mine. Now I made my own exception and all but now I get a section does not throw and exception error message when I compile. I eagerly await your exception tutorial. Thanks
Im sick as well... BUDDIES
brandonpkingking 1 day ago in playlist Java (Beginner) Programming Tutorials
Yay I'm sick too! Sick Buddies. :]
ashadow0309 1 week ago
I found out why it didn't find anything. The file was in fact created, it just didn't show up in the search because it's an empty file.
So if you're using a Mac, and wonder why a Finder search doesn't find your file, it's because it's empty.
Kennyshirts 3 weeks ago in playlist Java (Beginner) Programming Tutorials
Doesn't work for me. It tells me that the file is created, however when I search for the file it doesn't find anything. I'm using a Mac.
Can anybody help me with this?
Kennyshirts 3 weeks ago
made a infinite txt file generator.
bad move
fredme98 1 month ago in playlist Java Programming Tutorials 2
could you create a java class file with the code to create another java class file with the code to create another java class file? Fileception O_o
VirtualPineapple 1 month ago in playlist Java Programming Tutorials
dani786z 2 months ago
@4:15 Haha, he said crested. . .See i made fun of him :)
Ayplus 3 months ago in playlist Favorite videos
Please Read!
Formatter has a risk of deleting the contents of your previous file too!!
e :- if you already have a fred.txt in you directory, then all its contents will be formatted!
so always give a new file name :-)
ikemefunaikemefuna 3 months ago in playlist Bucky's Java Tutorial
make infinite for loop
get infinite txt files
JKTCGMV13 3 months ago in playlist Java Programming Tutorials 2
i love your tutorials man, i have learned a lot from you and i am the best student of gramming in class now, i love you man
jordao350 3 months ago
:D
yourock129 4 months ago in playlist Java Programming Tutorials
you crested a file
shreshrej 4 months ago in playlist Java Programming Tutorials
Goodl..
gksalex 5 months ago in playlist More videos from thenewboston
This has been flagged as spam show
“Hey idiot, input a number not a letter.”
tuhin94 5 months ago
Comment removed
tuhin94 5 months ago
bucky you dont need to tell in every video to subscribe.. every youtuber that went so far with your tuts is definitely a loyal follower of yours!!!
MusicRevelance 5 months ago
lol@ Try and catch you later :)
autom4 6 months ago
I'm confused. Is your name Greg or Bucky? Or Fred?
DrizztII 6 months ago
@DrizztII His real name is greg his internet name is Bucky
DazKins 5 months ago
Rofl, "They just had to name it exception cuz they had to be different..."
Wildcherrysoda 6 months ago
After, having tried to expand my program beyond the very basic stuff you showed us in this tutorial, I have come to find that the Formatter utility is pretty bad... You cannot use it to append to files that already exist. You can't even write multiple lines with it. I found the FileReader and FileWriter utilities much more adept at manipulating and reading files.
DemocraWatch 6 months ago in playlist Bucky's Java 2
Comment removed
DemocraWatch 6 months ago in playlist Bucky's Java
Make fun of me bid deal "Ok", you crested a file :D
Bananapoopman 7 months ago
hear al those grass hoppers, are you casting fom your backyard or something like that? sorry for any broken english btw.
robinbuit 8 months ago
lol my teacher makes ur videos part of our curriculum.
imtihanahmed 8 months ago 4
EVERYONE THAT IS USING MAC OR LINUX
if you want to make a universal directory that anyone can use use this $USER
what I mean is normally you would do User/alec/Desktop <---- but this doesnt work for anyone else unless there login is alec type it like this User/$USER/Desktop
thumbs this up so others can see
anthropamorphic 8 months ago 5
btw, just something, the last video said you can not create files with java.io.File, well, wrong.
if(!(file.exists()){file.createNewFile();}
DreadKyller 9 months ago
LOL @"to create that file where you want it, like in a folder or something..." 5:30 xD
haudace 9 months ago
Every time i try to find some Java help
Nothing works but you :-)
LFSDK 9 months ago
YEAH! CREST THOSE FILES BUCKY!!! WHOO!! YOU ROCK SIR!!
zldamstr 9 months ago
so can you make a folder for the file???
xXEffsyXx 9 months ago in playlist Java Programming Tutorials
Why not use :
x.createNewFile() ?
Sediqwe 10 months ago
how do you access the error text when you get an exception?
tyebillion 10 months ago
"If a user tries to divide by 0"
There is no error for that... The consequence is only death. And possibly the end of the world.
jakeywakey27 11 months ago 3
@jakeywakey27 It does throw an exception, and there is something to catch it.
Shegg77 3 months ago
The grass hoppers and crickets were really helpful also! lol
MrBlockersPro 11 months ago
why does this seem soo much harder than c
there u have FILE* , fopen,fwrite,fread,fseek and all the rest are pretty much needless why does java have so much stuff
anyway that's just my opinion and it comes from a guy that the first semester of programming in java couldn't even understand it (even the simplest programs)XD
great videos btw ;)
Meneltour27 11 months ago
What did I just heard @ 1:20???
"I'll give you guys a quick one too..."
LPSlasher 11 months ago
This didn't work right for me. It created a new file, but if i ran the program again it didn't print out the error. Why is that? In on Ubuntu.
mihek 1 year ago
@mihek If you run it again, it basically replaces the file again. Check the Date Modified on the file, it would have changed.
lakers34kb 11 months ago
They named them exceptions because they're not the same as errors. Errors refer to things like failures caused by running out of memory or a hard disk malfunction. Exceptions are things like trying to run a method on a null object.
theinquisitor 1 year ago
crested AHAHHA
osafiiracit 1 year ago
They named them Exceptions because the name is longer!, and sound more fancy.
gudenaurock 1 year ago
awesome world of warcraft and age of empires 3 good taste in games!
neilcarberry10 1 year ago
This has been flagged as spam show
Online marriage service from Asia lushfmlk.info
helaribuska 1 year ago
bucky have one or two huge enemies ... they always vote negative ... tell us who is that and we will take care of them :)
Sighduf 1 year ago 9
@Sighduf Probbaly some real cocky pro-programmers who're jealous that they don't got the fame!
ErichLancaster 1 year ago
He knows hot to make a programming exciting!
ephix231 1 year ago 3
Hey how can you make it so it comes up with a box to tell you where to save it?
mangopearandapples 1 year ago
@mangopearandapples JFileChooser from Swing
S2h6699 1 year ago
thanx Bucky you save my ass again
rockyscarlet 1 year ago
thanks for teaches of how to CREST a file. Next time teach us how to CREATE a file
LearnTechTv 1 year ago
video is not working,
please refresh video...
erdugen 1 year ago
sounds dirty....crested...
kyle2120 1 year ago
just my 2cents:
System.err.println();
is useful for printing errors in your catch exception.
ie. you can ouput errors eventually to error.log and System.out.println() to output.log
thehcd 1 year ago
hey idiot input a letter not a number lol
naxjud 1 year ago
@naxjud, you stole my comment. Now what am I going to say?
BUCKY RULES!!!
Fbiman93 1 year ago
everytime trying to ask question i didn't get what am asking i just need more assistance in this site
mn7855 1 year ago
thx a lot bucky good stuff !
however and error and an exception are not the same things for java - exceptions can be handled - and errors cant (at least not really properly)
specimon 1 year ago
thanks for showing us how to crest a file.
lol
:-)
yasuodances 2 years ago 4
Bucky pwns
kincaid87 2 years ago 4
thnx a ton :)..keep them coming plzzz
realmadridblr 2 years ago
Ahhh! thanks for the exception preview Boss. I'm getting better with mine. Now I made my own exception and all but now I get a section does not throw and exception error message when I compile. I eagerly await your exception tutorial. Thanks
ytgodzilla 2 years ago
I learn more from you than i do from my 10th grade computer science teacher. You are the reason i have an A in that class!
Cheers!
mcgarrybd 2 years ago 80
@mcgarrybd Congrats for going the extra mile
MrMelonBread 1 year ago
@mcgarrybd You're learning java in Grade 10...?
xlaFax 1 year ago 3
@xlaFax - we started since grade 8
dtymnn 1 year ago
@dtymnn luckyyyyy
xlaFax 1 year ago
@dtymnn obviously bucky started java programming in kindergarten since he makes lots of grammar mistakes :)))
osafiiracit 1 year ago
nice, ty Bucky!
68kaspar 2 years ago 2
epic vid >:)
Lol i cant beleive i worked my way through all tutorials already :O
gold1055555 2 years ago 75