12.07.2015 Views

Exercices (Chaînes de caractères) - Fabrice Rossi

Exercices (Chaînes de caractères) - Fabrice Rossi

Exercices (Chaînes de caractères) - Fabrice Rossi

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

1.2 Manipulations42 System.out.println(concat1(sb));43 System.out.println(sb);44 sb=newStringBuffer("---");45 System.out.println(concat2(sb));46 System.out.println(sb);47 }48 }1.2 ManipulationsExercice 1.3 :On considère la métho<strong>de</strong> suivante :1 public static String e(String a) {2 String r="";3 for(int i=0;i

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!