package teste; public class Aluno { private int cep; private String cpf; private double numero; public Aluno (int cep, String cpf, double numero){ this.cep = cep; this.cpf= cpf; this.numero = numero; } public int getCep() { return this.cep ; } public void setCep (int cep) { this.cep = cep; } public String getCpf () { return this.cpf; } public void setCpf (String cpf) { this.cpf = cpf; } public double getNumero () { return this.numero; } public void setNumero (double numero) { this.numero= numero; } } ===== package teste; import java.util.Scanner; public class AlunoTeste { public static void main(String [] args) { Aluno paulo = new Aluno(111111, "10000a", 19.0); Scanner ph = new Scanner(System.in); System.out.println("digita ae"); String cpf = ph.nextLine(); System.out.println(cpf); } }