Monday 23 June 2014

toString()

public String toString()
String is returned.

import java.util.Locale;
class StringToString{
 public static void main(String args[]){
  String str = "eFgHiJkLm";
  
  System.out.println("str = " + str.toString());
 } 
}

Prevoius                                                 Next                                                 Home

No comments:

Post a Comment