if(input.startsWith("add"))
{
// Call the add method and pass a string array as argument which does not
// include "add" and has split the remaining...
Type: Posts; User: justyStepi
if(input.startsWith("add"))
{
// Call the add method and pass a string array as argument which does not
// include "add" and has split the remaining...
here is the code with FileWriter
private void add(String[] tokens) throws IOException {
System.out.println("file : ");
if(tokens.length < 5)
{
thats the problem,i don't get any error messages :( that's why I'm so confused
--- Update ---
Well, i found that there is sth wrong with th scanner. I tried to print out the input but it...
Hello i have a question about my code : I'm trying to write a code which would read from command line and then it would create file nd write the input inside:
...