Question: One way to initialize a `charsequence[]` is

```
charsequence[] item = {"abc", "def"};

```

but I don't want to initialize it this way. Can someone please suggest some other way like the way we initialize `string[]` arrays?

Answer: 
This is the way you initialize a string array. You can also have:

```
CharSequence[] ar = new String[2];

```
[CharSequence](http://download.oracle.com/javase/1.4.2/docs/api/java/lang/CharSequence.html) is an interface you can't initialize like `new CharSequence[]{....}`

Initialize it with it's implementations:

```
CharSequence c = new String("s");
System.out.println(c) // s

CharSequence c = new StringBuffer("s");
System.out.println(c) // s

CharSequence c = new StringBuilder("s");
System.out.println(c); // s

```

and their's arrays

```
CharSequence[] c = new String[2];
c = new StringBuffer[2];
c = new StringBuilder[2];

```