import java.util.*;
class Goover
{
static String s;
public static void main(String[] args)
{
/*System.out.println("list");
ArrayList list = new ArrayList();
list.add("b");
list.add("a");
list.add("c");
//System.out.println(list);
//System.out.println(list.toArray());
//System.out.println(list.toString());
Iterator it = list.iterator();
while(it.hasNext())
{
System.out.println(it.next());
}
System.out.println("set");
Set s = new HashSet();
s.add("b");
s.add("a");
s.add("c");
Iterator it1 = s.iterator();
while(it1.hasNext())
{
System.out.println(it1.next());
}
System.out.println("map");
HashMap hm = new HashMap();
hm.put("j1","b");
hm.put("j2","a");
hm.put("j3","c");
Set set =hm.entrySet();
Iterator it2 = set.iterator();
while(it2.hasNext())
{
Map.Entry me = (Map.Entry)it2.next();
System.out.println("key:"+me.getKey()+"/tvalues:"+me.getValue());
}
//
//char x = 'd';//int x =100, byte x = 100, char x ='d',short x =100;
//switch(conditionType)conditionType:int,char,short,byte
long x=100;
switch(x)
{
case 100:
{
System.out.println("100");
break;
}
case 110:
{
System.out.println("110");
break;
}
}
String s = " hello,world";
System.out.println(s.substring(7,12));
System.out.println("w-index:"+s.indexOf("w"));
System.out.println(s.substring(s.indexOf("w"),12));
System.out.println("s_length:"+s.length());
System.out.println(s.substring(7,s.length()));
boolean boo = true;
if(boo == false)
{
System.out.println("a");
}else
{
System.out.println("b");
}
System.out.println("i="+i);*/
System.out.println(s);
System.out.println(s.charAt(0));
}
}