Jump to content

Pequena dúvida


Recommended Posts

Posted (edited)

Qual a diferença entre: String[] args e String args[] ?

Edited by Localhost

here since 2009

Posted

em teoria:

- a primeira é uma declaração correcta de uma array de objectos String e a segunda é um erro de compilação

na prática:

- é tudo a mesma coisa, o Java (hoje em dia) come tudo ...

IRC : sim, é algo que ainda existe >> #p@p

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site you accept our Terms of Use and Privacy Policy. We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.