/* package whatever; // don't place package name! */
importjava.util.*;
importjava.lang.*;
importjava.io.*;
/* Name of the class has to be "Main" only if the class is public. */
class output {publicstaticvoid main(String args[]){String c ="Hello i love java";int start =2;int end =9;char s[]=newchar[end-start]; c.getChars(start,end,s,0);System.out.println(s);}}