You can create arrays ,like all objects,using the new keyword.For example to create an array of a primitive type.
s=new char[26];
The first line creates an array of 26 char values.After the creation the values are initialized to the default value(''\u0000' for charecters).
No comments:
Post a Comment