Don't like ads? PRO users don't see any ads ;-)
Guest

Untitled

By: a guest on May 6th, 2012  |  syntax: None  |  size: 0.30 KB  |  hits: 16  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. //Anna Rojek
  2. package ch10;
  3.  
  4. public class covertName
  5. {
  6.         public static void main(String args)
  7.         {
  8.                
  9.                
  10.         }
  11.  
  12.         private static String convertName(String string)
  13.         {
  14.                 int pos = string.indexOf(',');
  15.                 String s2= s.substring (pos+2);
  16.      String s3 =s.substring (0,pos);
  17.  
  18.         return string
  19.         {
  20.         }
  21. }