Комментарии:
public class Main {
public static void main(String[] args) {
// FileReader = read the contents of a file as a stream of characters. One by one
// read() returns an int value which contains the byte value
// when read() returns -1, there is no more data to be read
try {
FileReader reader = new FileReader("art.txt");
int data = reader.read();
while(data != -1) {
System.out.print((char)data);
data = reader.read();
}
reader.close();
} catch (FileNotFoundException e) {
// TODO Auto-generated catch block
e.printStackTrace();
} catch (IOException e) {
// TODO Auto-generated catch block
e.printStackTrace();
}
}
}
commenting for engagement. w video.
ОтветитьTysm i'm going to my final exam with understanding from your codes
ОтветитьThank you Bro from Morocco : )
Ответитьdope video
Ответитьwhy cant i use the read method
ОтветитьU are a Hero
Ответитьthanks
ОтветитьYo just wanna say that GOD loved the world so much he sent his only begotten
son Jesus to die a brutal death for us so that we can have eternal life
and we can all accept this amazing gift this by simply believing in him (Jesus) asking for the forgiveness of your sins
and forming a relationship with heavenly father.
Thanks bro.
Ответить😀
ОтветитьThanks, Bro!
ОтветитьThanks ;)
ОтветитьNice
Ответитьgg
ОтветитьRead About Islam Bro
Ответитьahhh it just shows a bunch of number instead of words
Ответитьthanks
ОтветитьAmazing video, would you consider doing a json reader?
ОтветитьHi Brroooooo! You are the best
ОтветитьThank!
Ответитьdrop a comment below!!
ОтветитьLeaving a comment for the algorithm
Ответитьanyone know why after i run this the image is shown for like a second and then it disapperead?
i even tried it with bro's code and it didnt work
I like my lectures like I like my beer: clear and inspiring
Ответитьnope all file video lessons not working :(, to bad this happens
I follow step by step no file in java folder can be seeing but he there
no output on console
awesome channel! thanks!
Ответитьi have a problem in my eclipse the auto generated doesn't appear i have to write it anyone can help me
Ответитьsuper
ОтветитьHey man doubt you will see this, u have been very helpful to me, but this just wont work for me, it just keeps saying it cannot find the file. I have no idea what to do and I’ve been struggling in this 6 week summer class for college!
ОтветитьThanks again, bro 😎
Ответитьcan't run even if i copy your program and created same file
Ответить(●'◡'●)
ОтветитьAdding comment for support.
Ответитьdamn that ending HEY YOU got me
LIKED
Thanks
ОтветитьReally amazing work!
Ответитьthanks bro
Ответитьthanks bro
ОтветитьNice
Ответитьikhjgfdz
';lkjhgfxfl';
';lkjhgvjbkl;"
";'lk;jlhjghvjhbkjlk;l';'
;lbkvnbm,n./l:"
;'lk;jlklkl;';;l
'k;lbL:kjl;kll;';k;lkl'l
;'
lk'
l;kl
l';k'l;
l
Nice short of video, easy to learn. 👍👍
ОтветитьAppreciated work❤
ОтветитьHe makes Java very easy to understand thanks bro keep writing code!!!
Ответитьthanks
ОтветитьI would like the video butt, u know, 420
ОтветитьBagus sekali penjelasannya. 👍👍😎
Ответить