Not getting O/P in expected way-java


 
Thread Tools Search this Thread
Top Forums Programming Not getting O/P in expected way-java
# 8  
Old 05-30-2018
Now, I'm not at all familiar with java, so please take my advice cum grano salis. Try adding a f.write(10); before closing the file.
Login or Register to Ask a Question

Previous Thread | Next Thread

1 More Discussions You Might Find Interesting

1. Programming

Java not getting in expected way

Hi i am new to java and written a below code on linux platform which is working fine but not getting the output on terminal as expected vi A.java import java.io.FileOutputStream; class A { public static void main (String args) { byte c= {'a','e','i','o','u'}; try {... (1 Reply)
Discussion started by: scriptor
1 Replies
Login or Register to Ask a Question