K16 2 Posted June 21, 2015 Alguem me podia ajudar a resolver um problema? Share this post Link to post Share on other sites
ReturnEestevezo 243 Posted June 21, 2015 Não vejo problema nenhum.. Share this post Link to post Share on other sites
Narvikz 496 Posted June 21, 2015 Melhor tópico de sempre, sem dúvida. Eu pedi-te para criares um tópico mas não era algo tipo isto....... Share this post Link to post Share on other sites
K16 2 Posted June 21, 2015 O erro que tenho é este: Share this post Link to post Share on other sites
Narvikz 496 Posted June 21, 2015 Estás a criar um objeto público a partir duma classe privada. Como queres que funcione? Share this post Link to post Share on other sites
K16 2 Posted June 21, 2015 podes ajudar a resolver isso Share this post Link to post Share on other sites
Narvikz 496 Posted June 21, 2015 podes ajudar a resolver isso Mastiguei-te e dei-te a papa à boca. Agora é o teu dever digerires. 1 zWooty reacted to this Share this post Link to post Share on other sites
K16 2 Posted June 21, 2015 Eu nao percebo muito de classes Share this post Link to post Share on other sites
Multi do Bizarro 15 Posted June 21, 2015 Pão com pão, cereais com cerais. Share this post Link to post Share on other sites
Narvikz 496 Posted June 21, 2015 Eu nao percebo muito de classes lol. Tu estás a instanciar como público um objecto duma classe privada. Isso vai contra todas as regras dos níveis de acesso.. Share this post Link to post Share on other sites
K16 2 Posted June 21, 2015 Pff alguem me podia ajudar nisso urgentemente? Share this post Link to post Share on other sites
RachadoPT 140 Posted June 21, 2015 Tornas a classe em que estás a instanciar o objeto em pública Share this post Link to post Share on other sites