Start networking and exchanging professional insights

Register now or log in to join your professional community.

Follow

Why doesn't java support static array?

user-image
Question added by AJEET SINGH AJEET SINGH
Date Posted: 2017/04/12
Priscilla Raju
by Priscilla Raju , Office Admin , SCOPE India

Java is dynamic. So we have to develop new apps using java. its not static

Muhammad Osama
by Muhammad Osama , Digital Marketing , Nomadic Advertising

Who told you java dont support static array. There are many approaches to define a static array in Java for example:

String[] suit = new String[] { "ferari", "toyota", "honda", "audi" };

More Questions Like This