Pessoal, peço perdão pela confusão.
Não precisa colocar Valor da hora para os assalariados.

Jonathan

Para o trabalhador assalariado, use o toString de Trabalhador, não precisa
incluir o

2010/4/25 Peter P. Lupo <[email protected]>

> Ah, "de todos" e não "de cada". Vc quer pra calcular a média...
>
> Veja, não é apropriado pq a média de salário não é atributo de UM
> trabalhador...
>
> Sugiro que vc faça isto fora, na folha de pagamento, onde vc estará
> operando sobre os salários dos trabalhadores.
>
> Abraço
>
> Peter P. Lupo
> http://craftnicely.blogspot.com - http://sites.google.com/site/pplupo
> MPS.BR Authorized Implementation Practitioner - Certified ScrumMaster
> Sun Certified Java Associate - Java Brown Belt
> +55 (021) 81742487
>
>
> 2010/4/25 Peter P. Lupo <[email protected]>
>
> Sim mas acredito que não seja necessário visto que vc tem o valor das horas
>> e o total de horas trabalhadas.
>>
>> Abraço
>>
>> Peter P. Lupo
>> http://craftnicely.blogspot.com - http://sites.google.com/site/pplupo
>> MPS.BR Authorized Implementation Practitioner - Certified ScrumMaster
>> Sun Certified Java Associate - Java Brown Belt
>> +55 (021) 81742487
>>
>>
>> 2010/4/25 Renan Machado <[email protected]>
>>
>> para guardar o valor do pagamento de todos os funcionarios eu posso
>>> criar uma variavel de instancia na classe trabalhador ?
>>>
>>> --
>>> 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.
>>>
>>>
>>
>  --
> 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.
>

-- 
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.

Responder a