License Public Domain
Lines 1
Keywords
array (4) initialized (1) new (1)
Included in this Library
Permissions
Group Owner: Java Basics
Viewable by Everyone
Editable by All Siafoo Users

Declaring new pre-initialized array Atom Feed 0

In Brief Simple snippet to show how to declare pre-initialized array in java.
# 's
1String[] oneDimArray = { "abc","def","xyz" };

Simple snippet to show how to declare pre-initialized array in java.