Mensagem de erro - construtor

1 resposta
M

SEGUINTE OLHE A SEGUINTE LINHA:

Atendente atd1 = new Atendente(“[CPF removido]”, “José”, true, 2, ger1 );

DAE QUERO TIRAR O DADOS : “[CPF removido]”, “José”, true, 2, ger1

PARA FICAR Atendente atd1 = new Atendente();
[b]
DAE APARECE A SEGUINTE MSG:

CRIAR CONSTRUTOR CLIENTE EM BANCO_ADS . CLIENTE[/b][size=18] [/size][color=darkblue] [/color]

UMA VEZ QUE MEU CONSTRUTOR JA ESTA CRIADO:

CONSTRUTOR DA CLASSE ATENDENTE

public class Atendente extends Funcionario {

    
    Fields
    
     COMPOSIÇÃO
    Gerente Chefe;

    
     Constructors
    
    public Atendente(String cpf, String nome, boolean trabalhador, int mat, Gerente chefe) {
        super(cpf, nome, trabalhador, mat);
        this.Chefe = chefe;
    }

CLASSE PRINCIPAL

Atendente atd1 = new Atendente("[CPF removido]", "José", true, 2, ger1 );
        JOptionPane.showInputDialog  ( "Atendente 1: " + atd1.getNome() + "\n" +
                            "CPF: " + atd1.getCPF() + "\n" +
                            "Trabalha: " + atd1.getTrabalhador() + "\n" +
                            "Matrícula: " + atd1.getMatricula() + "\n" +
                            "Chefe: " + atd1.getChefe().getNome()+ "\n");

O QUE ESTA ACONTECENDO???[b][color=darkred] [/color]

1 Resposta

Luiz_Aguiar

Bloqueado porque esta escrito tudo em maiúsculo (inclusive o título)!

Criado 15 de novembro de 2010
Ultima resposta 15 de nov. de 2010
Respostas 1
Participantes 2