system . out . println(str);
buffered writer out = new buffered writer(new FileWriter(" F:\ \ out . txt "));
out . append(str);