Posts

Showing posts from February, 2016

Full String Class Method is Java

Here is the List of Methods than can be applicable With String class . please Check Below Programme =============================================================== /*  * To change this license header, choose License Headers in Project Properties.  * To change this template file, choose Tools | Templates  * and open the template in the editor.  */ package Com.interview; import java.util.Locale; /**  *  * @author anand  */ public class StringFullMethod {          public static void main(String[] args) {                  String s = "Anand";         System.out.println(s.charAt(1));         System.out.println(s.chars());         System.out.println(s.codePointAt(1));         System.out.println(s.codePointBefore(2));         System.out.println(s.codePointCount(1, 3));         System.out.println(s.codePoints());         System.out.println(s.compareTo("Antrish"));         System.out.println(s.compareToIgnoreCase("anand"));         Syste