Professional Documents
Culture Documents
File;
import java.io.FileNotFoundException;
import java.io.FileReader;
import java.io.FileWriter;
import java.io.IOException;
import java.io.RandomAccessFile;
import java.util.ArrayList;
import java.util.Scanner;
import java.util.logging.Level;
import java.util.logging.Logger;
/*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
/**
*
* @author lucat
*/
public class Laboratorio03 {
/**
* @param args the command line arguments
*/
public static void main(String[] args) {
// TODO code application logic here
String path="C:\\Users\\lucat\\Desktop\\Luca\\Scuola\\Luca.txt";
File f=new File(path);
Scanner sc=new Scanner(System.in);
FileReader fr;
FileWriter fw;
String[]s1=new String[lista.size()];
for(int i=0;i<lista.size();i++){
s1[i]=lista.get(i);
}
}
}
if(b){
System.out.println("Non sono state trovate parole così");
}else{