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
Hide
Siafoo is here to make coding less frustrating and to save you time. Join Siafoo Now or Learn More

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.