On Jun 25, 9:02 am, "function(phil)" <[email protected]> wrote: > Howdy. I just need some clarification. The way the pdf points to two > ways to declare an array. > > int name[] = new int [100]; > and > int[] name = new int[100]; > > Is this a matter of preferance or are there more specifics involved? Both statements are legal. I suspect it is a legacy issue. I prefer the latter as it could be more readable: // Notice plural form of the noun. int[] integers=new int[100]; > > There there is not a specific instance one should use one over the > other, why does Java have this option? > Is it a carry over from another language? > Stuff like this just drives me nuts! > > Thanks in advance ya'll
--~--~---------~--~----~------------~-------~--~----~ 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/javaprogrammingwithpassion?hl=en -~----------~----~----~----~------~----~------~--~---
