ariestamirra

Str1

Apr 3rd, 2014
80
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 0.17 KB | None | 0 0
  1. class Str1{
  2. public static void main(String [] args){
  3.     String s=new String("Bicycle");
  4.     int iBegin=1;
  5.     char iEnd=3;
  6.     System.out.println(s.substring(iBegin,iEnd));
  7.   }
  8. }
Advertisement
Add Comment
Please, Sign In to add comment