Erro na arraylist

Cliente.java:241: error: illegal start of expression
public ArrayList carregarCliente(Connection conn) {
^
1 error

como eu resolvo esse erro ??

obs: estou usando jgrasp, não posso usar outro

Falai @Portinal, posta por favor o codigo do arquivo cliente.java

Abraços
Max

import java.sql.;
import java.util.
;

public class Cliente {
private int cpf;
private String nome;
private String endereco;
private String rg;
private String email;
private int fone;
private ArrayList cliente;

public Cliente() {
	cliente = new ArrayList<>();
}

public Cliente(int idCliente) {
this.cpf = cpf;
cliente = new ArrayList<>();
}

public Cliente(int cpf, String nome, String endereco, String rg, String email, int fone) {
    this.cpf = cpf;
    this.nome = nome;
    this.endereco = endereco;
    this.rg = rg;
    this.email = email;
    this.fone = fone;
    cliente = new ArrayList<>();
}

public int getCpf() {
    return cpf;
}

public void setCpf(int cpf) {
    this.cpf = cpf;
}

public String getNome() {
    return nome;
}

public void setNome(String nome) {
    this.nome = nome;
}

public String getEndereco() {
    return endereco;
}

public void setEndereco(String endereco) {
    this.endereco = endereco;
}

public String getRg() {
    return rg;
}

public void setRg(String rg) {
    this.rg = rg;
}

public String getEmail() {
    return email;
}

public void setEmail(String email) {
    this.email = email;
}

 public int getFone() {
    return fone;
}

public void setFone(int fone) {
    this.fone = fone;
}


public void setCliente(ArrayList<Cliente> cliente) {
	this.cliente = cliente;
}

	public void adicinarCliente(Cliente cliente) {
	cliente.add(cliente);
}

@Override
public String toString() {
    return "Cliente{" + "cpf=" + cpf + ", nome=" + nome + ", endereco=" + endereco + ", rg=" + rg + ", email=" + email + ", fone = " + fone + '}';
}

 public void inserir (Connection conn) {
  String sqlInsert = "INSERT INTO cliente (cpf, nome, endereco, rg, email, fone) VALUES (?, ?, ?, ?, ?, ?)";
  PreparedStatement stm = null;
  
  
  try {
     stm = conn.prepareStatement(sqlInsert);
     stm.setInt(1, getCpf());
     stm.setString(2, getNome());
     stm.setString(3, getEndereco());
     stm.setString(4, getRg());
     stm.setString(5, getEmail());
     stm.setInt(6, getFone());
     stm.execute();
  } 
  
  catch (Exception e) {
     e.printStackTrace();
     try {
        conn.rollback();
     } catch (SQLException e1) {
        System.out.print(e1.getStackTrace());
     }
  } 
  
  finally {
     if (stm != null) {
        try {
           stm.close();
        } catch (SQLException e1) {
           System.out.print(e1.getStackTrace());
        }
     }
  }

}

public void excluir(Connection conn) {
String sqlDelete = “DELETE FROM cliente WHERE cpf = ?”;
PreparedStatement stm = null;

  try {
     stm = conn.prepareStatement(sqlDelete);
     stm.setInt(1, getCpf());
  
     stm.execute();
  } 
  
  catch (Exception e) {
     e.printStackTrace();
     try {
        conn.rollback();
     } catch (SQLException e1) {
        System.out.print(e1.getStackTrace());
     }
  } finally {
     if (stm != null) {
        try {
           stm.close();
        } catch (SQLException e1) {
           System.out.print(e1.getStackTrace());
        }
     }
  }

}

public void atualizar(Connection conn) {
String sqlUpdate =
“UPDATE cliente SET Cpf = ?, Nome = ?, Endereco = ?, Rg = ?, Email = ?, fone = ?”;
PreparedStatement stm = null;
try {
stm = conn.prepareStatement(sqlUpdate);
stm.setDouble(1, getCpf());
stm.setString(2, getNome());
stm.setString(3, getEndereco());
stm.setString(4, getRg());
stm.setString(5, getEmail());
stm.setInt(6, getFone());

     stm.execute();
  } catch (Exception e) {
     e.printStackTrace();
     try {
        conn.rollback();
     } catch (SQLException e1) {
        System.out.print(e1.getStackTrace());
     }
  } finally {
     if (stm != null) {
        try {
           stm.close();
        } catch (SQLException e1) {
           System.out.print(e1.getStackTrace());
        }
     }
  }

}

  public void carregar(Connection conn) {
  String sqlSelect = "SELECT cpf, nome, endereco, rg, email, fone FROM cliente WHERE cpf = ?";
  PreparedStatement stm = null;
  ResultSet rs = null;
  try {
     stm = conn.prepareStatement(sqlSelect);
     stm.setInt(1, getCpf());
     rs = stm.executeQuery();
     if (rs.next()) {
        setNome(rs.getString("nome"));
        setEndereco(rs.getString("endereco"));
        setRg(rs.getString("rg"));
        setEmail(rs.getString("email"));
        setFone(rs.getInt("fone"));
        
        
     }
  } catch (Exception e) {
     e.printStackTrace();
  
     try {
        conn.rollback();
     } catch (SQLException e1) {
        System.out.print(e1.getStackTrace());
     }
  } finally {
     if (rs != null) {
        try {
           rs.close();
        } catch (SQLException e1) {
           System.out.print(e1.getStackTrace());
         }
     }
     if (stm != null) {
        try {
           stm.close();
        } catch (SQLException e1) {
           System.out.print(e1.getStackTrace());
        }
     }
     
 public ArrayList<Cliente> carregarCliente(Connection conn) {
	String sqlSelect = "SELECT cpf, nome, endereco, rg, email, fone FROM pedido WHERE cpf = ?";
	ArrayList<Cliente> lista = new ArrayList<>();

	try (PreparedStatement stm = conn.prepareStatement(sqlSelect);) {
		stm.setInt(1, getCpf());
		try (ResultSet rs = stm.executeQuery();) {
			
			while (rs.next()) {
				Cliente c = new Cliente();
				c.setCpf(rs.getInt("cpf"));
				c.setNome(rs.getString("Nome"));
				c.setEndereco(rs.getString("endereco"));
				c.setRg(rs.getString("rg"));
				c.setEmail(rs.getString("email"));
				c.setFone(rs.getInt("fone"));
           
           
				lista.add(c);
			}
		} catch (Exception e) {
			e.printStackTrace();
		}
	} catch (SQLException e1) {
		System.out.print(e1.getStackTrace());
	}
	return lista;
}

public String listarPedidos() {
	String listagem = "";
	for (Cliente cliente : cliente) {
		listagem += "\n\t" + cliente.toString();
	}
	return listagem;
}
}

Falai @Portinal, cara acho que seria interessante mudar a parte aonde vc define o arraylist na classe

import java.sql;
import java.util ;

public class Cliente {
private int cpf;
private String nome;
private String endereco;
private String rg;
private String email;
private int fone;
private List<Cliente> cliente;


public Cliente() {
	cliente = new ArrayList<Cliente>();
}


public Cliente(int idCliente) {
this.cpf = cpf;
cliente = new ArrayList<Cliente>();
}


public Cliente(int cpf, String nome, String endereco, String rg, String email, int fone) {
    this.cpf = cpf;
    this.nome = nome;
    this.endereco = endereco;
    this.rg = rg;
    this.email = email;
    this.fone = fone;
    cliente = new ArrayList<Cliente>();
}

Essa outra parte tambem

public void setCliente(List<Cliente> cliente) {
	this.cliente = cliente;
}

Caso deseje ver mais detalhes sobre uso de List e Arraylist da uma olhada nesse post
https://www.guj.com.br/t/por-favor-qual-e-a-diferenca-dentre-arraylist-e-list/69167

Abraços
Max

Vlww, obrigado <3

Por conta da identação zuada do seu código, acho que vc não percebeu que está criando o método carregarCliente dentro do método carregar, pois, vc esqueceu de fechar o corpo do método com }.

Dá uma conferida ai. Flws!