Nao esta faltando um this ai no aprovado nao? Mas o q vc quer fazer?
Faz um get e set pra aprovado e dentro do set vc testa se a media eh maior q 7 e seta o valor do atributo... []'s On Sun, Apr 11, 2010 at 10:17 PM, Gustavo Rodrigues < [email protected]> wrote: > Estou com um problema no uso da variavel do tipo boolean, sempre esta sendo > retornando "false"... > Não sei se posso usar ela dentro de um construtor, mas quando tentei tirar, > ocorreu diversos erros. > > O código: http://pastebin.com/jcbRWTS4 > > Obs: A primeira parte é um trecho do Aluno, e a outra do TestaAluno. > > -- > You received this message because you are subscribed to the Google Groups > "Comp 2 - Geral" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]<comp2-geral%[email protected]> > . > For more options, visit this group at > http://groups.google.com/group/comp2-geral?hl=en. > -- Zaedy Dantas Sayão Graduando em Ciência da Computação DCC/UFRJ http://www.manufato.com.br/ MSN: [email protected] -- You received this message because you are subscribed to the Google Groups "Comp 2 - Geral" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/comp2-geral?hl=en.
