Quantcast
Channel: Snipplr - antikscoolgmailcom
Viewing all articles
Browse latest Browse all 40

(Java) Data Appending to file

$
0
0

/* Write a program which will accept a file name from command prompt- if file is existing then it should open the file and display the contents on the screen. Else create a new blank file. After displaying the contents ask user - do you want to append data to file?(y/n) if user types 'y', then read the contents from keyboard and append the data to file. To exit from program user should type “exit” on new line.*/


Viewing all articles
Browse latest Browse all 40

Trending Articles