Are You Feeling any difficulity while writing Core-Java Programs. Send those to me Here.
Showing posts with label String functions. Show all posts
Showing posts with label String functions. Show all posts

Thursday, 15 August 2013

Small Simple code to cover all String built in functions in java

Program:

import java.util.*;
class str1
{
    public static void main(String args[])
    {
        String s1 = "Bhagirath";
        System.out.println("S1 = " + s1);
        int length = s1.length();