Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- static ArrayList<String> afficherTous(String texte) {
- ArrayList<String> texteTraduit = new ArrayList<String>();
- String text= "";
- int nb_charact = texte.length();
- for(int ii =0 ; ii<=25 ; ii++)
- {
- for(int i = 0 ; i<nb_charact ; i++)
- {
- text+=(char)(texte.charAt(i)+ii);
- }
- texteTraduit.add(text);
- text="";
- }
- return texteTraduit;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement