@@ -0,0 +1,359 @@
+//Strings Demo%0Aclass StringDemo%7B%0A%09public static void main(String %5B%5D args)%0A%09%7B%0A%09%09char chr%5B%5D = %7B'j','a','v','a'%7D;%0A%09%09%0A%09%09//Creating string and initilizing it in constructor.%0A%09%09String str = new String(chr);%0A%09%09System.out.println(str);%0A%09%09%0A%09%09//Creating string form particular index%0A%09%09String str1 = new String(chr,1,2);%0A%09%09System.out.println(str1);%0A%09%09%0A%09%09//java %0A%09%09%0A%09%7D%0A%7D%0A

Create StringDemo.java