dimanche 28 juin 2015

Why doesn't byte[] b = new byte[8](); work? [duplicate]

I already know that byte[] b = new byte[8]; works fine. But why doesn't byte[] b = new byte[8]; work?

For example, byte b = new byte(); works fine, so an array style also should work but it doesn't. I have no exact idea of this reason. Could someone please explain?

Aucun commentaire:

Enregistrer un commentaire