Nem olhei o gabarito....hehe Vou olhar aqui pra opinar tb.
[]s 2011/5/11 Lucian Sturião <[email protected]> > A 4 tá errada não? > > Se você definir um método void *g(int x)*; numa interface, e escrever *void > g(int x) { metodo }* na classe, dá erro de compilação. > se fosse *public void g (int x) { método }*, compilaria e só o g estaria > visível. > > -- > 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. > -- 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.
