這是Herr Deng桑的教學blog,主要處理作業與班導事務,另外還有數位小品。
public class ex2 { public static void main(String[] args) { String x="this is an exercise. A happy Day"; System.out.println(x); System.out.println(x.replace(" ","")); x=x.replace(" ",""); System.out.println(x.replace("a","@")); x=x.replace("a","@"); System.out.println(x.replace("e","您")); x=x.replace("e","您"); System.out.println(x.toUpperCase()); x=x.toUpperCase(); System.out.println(x.substring(4,9)); x=x.substring(4,9); char xx[]=x.toCharArray(); for(int i=xx.length-1; i>=0; i--) System.out.print(xx[i]); }}
public class Z { public static void main(String[] args) { String x ="this is an exercise. A happy Day"; System.out.println(x.replace(" ", "")); x=x.replace(" ", ""); x=(x.replace("a", "@")); System.out.println(x.replace("e","您")); x=x.replace("e","您"); System.out.println(x.toUpperCase()); x=x.toUpperCase(); System.out.println(x.substring(4, 9)); x=x.substring(4, 9); char []xx=x.toCharArray(); for(int i=x.length()-1;i>=0;i--) System.out.print(xx[i]); }}
public class exex09 {public static void main(String[] args) { String X="this is an exercise. A happy Day"; X=X.replace(" ", ""); System.out.println(X); X=X.replace('a','@'); X=X.replace('e','您'); System.out.println(X); X=X.toUpperCase(); System.out.println(X); X=X.substring(4,9); System.out.println(X); char []XX=X.toCharArray(); for(int i=XX.length-1; i>=0; i--) System.out.print(XX[i]); System.out.println();
public class a1204 {public static void main(String[] args) { String X="this is an exercise. A happy Day"; X=X.replace(" ",""); System.out.println(X); X=X.replace('a','@'); X=X.replace('e','您'); System.out.println(X); X=X.toUpperCase(); System.out.println(X); X=X.substring(4,9); System.out.println(X); char []XX=X.toCharArray(); for(int i=XX.length-1; i>=0; i--) System.out.print(XX[i]); System.out.println(); }}}
public class a1204 {public static void main(String[] args) { String X="this is an exercise. A happy Day"; X=X.replace(" ",""); System.out.println(X); X=X.replace('a','@'); X=X.replace('e','您'); System.out.println(X); X=X.toUpperCase(); System.out.println(X); X=X.substring(4,9); System.out.println(X); char []XX=X.toCharArray(); for(int i=XX.length-1; i>=0; i--) System.out.print(XX[i]); System.out.println(); }}
package gg;public class as9 {public static void main(String[] args) { String x="this is an exercise. A happy Day"; System.out.println(x); x=x.replace(" ",""); x=x.replace("a","@"); x=x.replace('e','你'); x=x.toUpperCase(); x=x.substring(4,9); System.out.println(x); char []xx=x.toCharArray(); for(int i=xx.length-1;i>=0;i--){// System.out.println(xx[i]); xx[i]=x.charAt(x.length()-1-i); } String x2= new String (xx); System.out.println(x2); }}
package gg;public class as9 {public static void main(String[] args) { String x="this is an exercise. A happy Day"; System.out.println(x); x=x.replace(" ",""); x=x.replace("a","@"); x=x.replace('e','你'); x=x.toUpperCase(); x=x.substring(4,9); System.out.println(x); char []xx=x.toCharArray(); for(int i=xx.length-1;i>=0;i--){ xx[i]=x.charAt(x.length()-1-i); } String x2= new String (xx); System.out.println(x2); }}
public class ex1204 {public static void main(String[] args) { // TODO Auto-generated method stub String X="this is an exercise. A happy Day"; X=X.replace(" ",""); System.out.println(X); X=X.replace('a', '@'); X=X.replace('e', '您'); System.out.println(X); X=X.toUpperCase(); System.out.println(X); System.out.println(X=X.substring(4, 9)); char XX[]=new char[X.length()]; for(int i=0; i<XX.length; i++){ XX[i]=X.charAt(X.length()-1-i); } String X2=new String(XX); System.out.println(X2); StringBuffer Xb=new StringBuffer(X); Xb.reverse(); X=Xb.toString(); System.out.println(X); }}
public class d1204 {public static void main(String[] args) { // TODO Auto-generated method stub String X="this is an exercise. A happy Day"; X=X.replace(" ",""); System.out.println(X); X=X.replace('a','@'); X=X.replace('e','您'); System.out.println(X); X=X.toUpperCase(); System.out.println(X); System.out.println(X=X.substring(4,9)); char XX[]=new char[X.length()]; for(int i=0; i<X.length(); i++){ XX[i]=X.charAt(X.length()-1-i); } String X2=new String(XX); System.out.println(X2); StringBuffer Xb=new StringBuffer(X); Xb.reverse(); X=Xb.toString(); System.out.println(X); }}
public class ex02 { public static void main(String[] args) { String x="this is an exercise. A happy Day"; System.out.println(x); System.out.println(x.replace(" ","")); x=x.replace(" ",""); System.out.println(x.replace("a","@")); x=x.replace("a","@"); System.out.println(x.replace("e","您")); x=x.replace("e","您"); System.out.println(x.toUpperCase()); x=x.toUpperCase(); System.out.println(x.substring(4,9)); x=x.substring(4,9); char xx[]=x.toCharArray(); for(int i=xx.length-1; i>=0; i--) System.out.print(xx[i]); }}
張貼留言
30 則留言:
public class ex2 { public static void main(String[] args) { String x="this is an exercise. A happy Day"; System.out.println(x); System.out.println(x.replace(" ","")); x=x.replace(" ",""); System.out.println(x.replace("a","@")); x=x.replace("a","@"); System.out.println(x.replace("e","您")); x=x.replace("e","您"); System.out.println(x.toUpperCase()); x=x.toUpperCase(); System.out.println(x.substring(4,9)); x=x.substring(4,9); char xx[]=x.toCharArray(); for(int i=xx.length-1; i>=0; i--) System.out.print(xx[i]); }}
public class Z { public static void main(String[] args) { String x ="this is an exercise. A happy Day"; System.out.println(x.replace(" ", "")); x=x.replace(" ", ""); x=(x.replace("a", "@")); System.out.println(x.replace("e","您")); x=x.replace("e","您"); System.out.println(x.toUpperCase()); x=x.toUpperCase(); System.out.println(x.substring(4, 9)); x=x.substring(4, 9); char []xx=x.toCharArray(); for(int i=x.length()-1;i>=0;i--) System.out.print(xx[i]); }}
public class exex09 {
public static void main(String[] args) { String X="this is an exercise. A happy Day"; X=X.replace(" ", ""); System.out.println(X); X=X.replace('a','@'); X=X.replace('e','您'); System.out.println(X); X=X.toUpperCase(); System.out.println(X); X=X.substring(4,9); System.out.println(X); char []XX=X.toCharArray(); for(int i=XX.length-1; i>=0; i--) System.out.print(XX[i]); System.out.println();
public class a1204 {
public static void main(String[] args) { String X="this is an exercise. A happy Day"; X=X.replace(" ",""); System.out.println(X); X=X.replace('a','@'); X=X.replace('e','您'); System.out.println(X); X=X.toUpperCase(); System.out.println(X); X=X.substring(4,9); System.out.println(X); char []XX=X.toCharArray(); for(int i=XX.length-1; i>=0; i--) System.out.print(XX[i]); System.out.println(); }
}
}
public class a1204 {
public static void main(String[] args) { String X="this is an exercise. A happy Day"; X=X.replace(" ",""); System.out.println(X); X=X.replace('a','@'); X=X.replace('e','您'); System.out.println(X); X=X.toUpperCase(); System.out.println(X); X=X.substring(4,9); System.out.println(X); char []XX=X.toCharArray(); for(int i=XX.length-1; i>=0; i--) System.out.print(XX[i]); System.out.println(); }
}
public class a1204 {
public static void main(String[] args) { String X="this is an exercise. A happy Day"; X=X.replace(" ",""); System.out.println(X); X=X.replace('a','@'); X=X.replace('e','您'); System.out.println(X); X=X.toUpperCase(); System.out.println(X); X=X.substring(4,9); System.out.println(X); char []XX=X.toCharArray(); for(int i=XX.length-1; i>=0; i--) System.out.print(XX[i]); System.out.println(); }
}
public class a1204 {
public static void main(String[] args) { String X="this is an exercise. A happy Day"; X=X.replace(" ",""); System.out.println(X); X=X.replace('a','@'); X=X.replace('e','您'); System.out.println(X); X=X.toUpperCase(); System.out.println(X); X=X.substring(4,9); System.out.println(X); char []XX=X.toCharArray(); for(int i=XX.length-1; i>=0; i--) System.out.print(XX[i]); System.out.println(); }
}
public class a1204 {
public static void main(String[] args) { String X="this is an exercise. A happy Day"; X=X.replace(" ",""); System.out.println(X); X=X.replace('a','@'); X=X.replace('e','您'); System.out.println(X); X=X.toUpperCase(); System.out.println(X); X=X.substring(4,9); System.out.println(X); char []XX=X.toCharArray(); for(int i=XX.length-1; i>=0; i--) System.out.print(XX[i]); System.out.println(); }
}
public class a1204 {
public static void main(String[] args) { String X="this is an exercise. A happy Day"; X=X.replace(" ",""); System.out.println(X); X=X.replace('a','@'); X=X.replace('e','您'); System.out.println(X); X=X.toUpperCase(); System.out.println(X); X=X.substring(4,9); System.out.println(X); char []XX=X.toCharArray(); for(int i=XX.length-1; i>=0; i--) System.out.print(XX[i]); System.out.println(); }
}
public class a1204 {
public static void main(String[] args) { String X="this is an exercise. A happy Day"; X=X.replace(" ",""); System.out.println(X); X=X.replace('a','@'); X=X.replace('e','您'); System.out.println(X); X=X.toUpperCase(); System.out.println(X); X=X.substring(4,9); System.out.println(X); char []XX=X.toCharArray(); for(int i=XX.length-1; i>=0; i--) System.out.print(XX[i]); System.out.println(); }
}
public class a1204 {
public static void main(String[] args) { String X="this is an exercise. A happy Day"; X=X.replace(" ",""); System.out.println(X); X=X.replace('a','@'); X=X.replace('e','您'); System.out.println(X); X=X.toUpperCase(); System.out.println(X); X=X.substring(4,9); System.out.println(X); char []XX=X.toCharArray(); for(int i=XX.length-1; i>=0; i--) System.out.print(XX[i]); System.out.println(); }
}
public class a1204 {
public static void main(String[] args) { String X="this is an exercise. A happy Day"; X=X.replace(" ",""); System.out.println(X); X=X.replace('a','@'); X=X.replace('e','您'); System.out.println(X); X=X.toUpperCase(); System.out.println(X); X=X.substring(4,9); System.out.println(X); char []XX=X.toCharArray(); for(int i=XX.length-1; i>=0; i--) System.out.print(XX[i]); System.out.println(); }
}
package gg;
public class as9 {
public static void main(String[] args) { String x="this is an exercise. A happy Day"; System.out.println(x); x=x.replace(" ",""); x=x.replace("a","@"); x=x.replace('e','你'); x=x.toUpperCase(); x=x.substring(4,9); System.out.println(x); char []xx=x.toCharArray(); for(int i=xx.length-1;i>=0;i--){// System.out.println(xx[i]); xx[i]=x.charAt(x.length()-1-i); } String x2= new String (xx); System.out.println(x2); }}
package gg;
public class as9 {
public static void main(String[] args) { String x="this is an exercise. A happy Day"; System.out.println(x); x=x.replace(" ",""); x=x.replace("a","@"); x=x.replace('e','你'); x=x.toUpperCase(); x=x.substring(4,9); System.out.println(x); char []xx=x.toCharArray(); for(int i=xx.length-1;i>=0;i--){ xx[i]=x.charAt(x.length()-1-i); } String x2= new String (xx); System.out.println(x2); }}
public class ex1204 {
public static void main(String[] args) { // TODO Auto-generated method stub String X="this is an exercise. A happy Day"; X=X.replace(" ",""); System.out.println(X); X=X.replace('a', '@'); X=X.replace('e', '您'); System.out.println(X); X=X.toUpperCase(); System.out.println(X); System.out.println(X=X.substring(4, 9)); char XX[]=new char[X.length()]; for(int i=0; i<XX.length; i++){ XX[i]=X.charAt(X.length()-1-i); } String X2=new String(XX); System.out.println(X2); StringBuffer Xb=new StringBuffer(X); Xb.reverse(); X=Xb.toString(); System.out.println(X); }
}
public class d1204 {
public static void main(String[] args) { // TODO Auto-generated method stub String X="this is an exercise. A happy Day"; X=X.replace(" ",""); System.out.println(X); X=X.replace('a','@'); X=X.replace('e','您'); System.out.println(X); X=X.toUpperCase(); System.out.println(X); System.out.println(X=X.substring(4,9)); char XX[]=new char[X.length()]; for(int i=0; i<X.length(); i++){ XX[i]=X.charAt(X.length()-1-i); } String X2=new String(XX); System.out.println(X2); StringBuffer Xb=new StringBuffer(X); Xb.reverse(); X=Xb.toString(); System.out.println(X); }}
public class ex02 { public static void main(String[] args) { String x="this is an exercise. A happy Day"; System.out.println(x); System.out.println(x.replace(" ","")); x=x.replace(" ",""); System.out.println(x.replace("a","@")); x=x.replace("a","@"); System.out.println(x.replace("e","您")); x=x.replace("e","您"); System.out.println(x.toUpperCase()); x=x.toUpperCase(); System.out.println(x.substring(4,9)); x=x.substring(4,9); char xx[]=x.toCharArray(); for(int i=xx.length-1; i>=0; i--) System.out.print(xx[i]); }}
public class ex2 { public static void main(String[] args) { String x="this is an exercise. A happy Day"; System.out.println(x); System.out.println(x.replace(" ","")); x=x.replace(" ",""); System.out.println(x.replace("a","@")); x=x.replace("a","@"); System.out.println(x.replace("e","您")); x=x.replace("e","您"); System.out.println(x.toUpperCase()); x=x.toUpperCase(); System.out.println(x.substring(4,9)); x=x.substring(4,9); char xx[]=x.toCharArray(); for(int i=xx.length-1; i>=0; i--) System.out.print(xx[i]); }}
public class ex2 { public static void main(String[] args) { String x="this is an exercise. A happy Day"; System.out.println(x); System.out.println(x.replace(" ","")); x=x.replace(" ",""); System.out.println(x.replace("a","@")); x=x.replace("a","@"); System.out.println(x.replace("e","您")); x=x.replace("e","您"); System.out.println(x.toUpperCase()); x=x.toUpperCase(); System.out.println(x.substring(4,9)); x=x.substring(4,9); char xx[]=x.toCharArray(); for(int i=xx.length-1; i>=0; i--) System.out.print(xx[i]); }}
public class ex2 { public static void main(String[] args) { String x="this is an exercise. A happy Day"; System.out.println(x); System.out.println(x.replace(" ","")); x=x.replace(" ",""); System.out.println(x.replace("a","@")); x=x.replace("a","@"); System.out.println(x.replace("e","您")); x=x.replace("e","您"); System.out.println(x.toUpperCase()); x=x.toUpperCase(); System.out.println(x.substring(4,9)); x=x.substring(4,9); char xx[]=x.toCharArray(); for(int i=xx.length-1; i>=0; i--) System.out.print(xx[i]); }}
public class ex1204 {
public static void main(String[] args) { // TODO Auto-generated method stub String X="this is an exercise. A happy Day"; X=X.replace(" ",""); System.out.println(X); X=X.replace('a', '@'); X=X.replace('e', '您'); System.out.println(X); X=X.toUpperCase(); System.out.println(X); System.out.println(X=X.substring(4, 9)); char XX[]=new char[X.length()]; for(int i=0; i<XX.length; i++){ XX[i]=X.charAt(X.length()-1-i); } String X2=new String(XX); System.out.println(X2); StringBuffer Xb=new StringBuffer(X); Xb.reverse(); X=Xb.toString(); System.out.println(X); }}
public class ex2 { public static void main(String[] args) { String x="this is an exercise. A happy Day"; System.out.println(x); System.out.println(x.replace(" ","")); x=x.replace(" ",""); System.out.println(x.replace("a","@")); x=x.replace("a","@"); System.out.println(x.replace("e","您")); x=x.replace("e","您"); System.out.println(x.toUpperCase()); x=x.toUpperCase(); System.out.println(x.substring(4,9)); x=x.substring(4,9); char xx[]=x.toCharArray(); for(int i=xx.length-1; i>=0; i--) System.out.print(xx[i]); }}
public class ex2 { public static void main(String[] args) { String x="this is an exercise. A happy Day"; System.out.println(x); System.out.println(x.replace(" ","")); x=x.replace(" ",""); System.out.println(x.replace("a","@")); x=x.replace("a","@"); System.out.println(x.replace("e","您")); x=x.replace("e","您"); System.out.println(x.toUpperCase()); x=x.toUpperCase(); System.out.println(x.substring(4,9)); x=x.substring(4,9); char xx[]=x.toCharArray(); for(int i=xx.length-1; i>=0; i--) System.out.print(xx[i]); }}
public class ex2 { public static void main(String[] args) { String x="this is an exercise. A happy Day"; System.out.println(x); System.out.println(x.replace(" ","")); x=x.replace(" ",""); System.out.println(x.replace("a","@")); x=x.replace("a","@"); System.out.println(x.replace("e","您")); x=x.replace("e","您"); System.out.println(x.toUpperCase()); x=x.toUpperCase(); System.out.println(x.substring(4,9)); x=x.substring(4,9); char xx[]=x.toCharArray(); for(int i=xx.length-1; i>=0; i--) System.out.print(xx[i]); }}
public class ex2 { public static void main(String[] args) { String x="this is an exercise. A happy Day"; System.out.println(x); System.out.println(x.replace(" ","")); x=x.replace(" ",""); System.out.println(x.replace("a","@")); x=x.replace("a","@"); System.out.println(x.replace("e","您")); x=x.replace("e","您"); System.out.println(x.toUpperCase()); x=x.toUpperCase(); System.out.println(x.substring(4,9)); x=x.substring(4,9); char xx[]=x.toCharArray(); for(int i=xx.length-1; i>=0; i--) System.out.print(xx[i]); }}
public class ex2 { public static void main(String[] args) { String x="this is an exercise. A happy Day"; System.out.println(x); System.out.println(x.replace(" ","")); x=x.replace(" ",""); System.out.println(x.replace("a","@")); x=x.replace("a","@"); System.out.println(x.replace("e","您")); x=x.replace("e","您"); System.out.println(x.toUpperCase()); x=x.toUpperCase(); System.out.println(x.substring(4,9)); x=x.substring(4,9); char xx[]=x.toCharArray(); for(int i=xx.length-1; i>=0; i--) System.out.print(xx[i]); }}
public class ex2 { public static void main(String[] args) { String x="this is an exercise. A happy Day"; System.out.println(x); System.out.println(x.replace(" ","")); x=x.replace(" ",""); System.out.println(x.replace("a","@")); x=x.replace("a","@"); System.out.println(x.replace("e","您")); x=x.replace("e","您"); System.out.println(x.toUpperCase()); x=x.toUpperCase(); System.out.println(x.substring(4,9)); x=x.substring(4,9); char xx[]=x.toCharArray(); for(int i=xx.length-1; i>=0; i--) System.out.print(xx[i]); }}
public class ex02 { public static void main(String[] args) { String x="this is an exercise. A happy Day"; System.out.println(x); System.out.println(x.replace(" ","")); x=x.replace(" ",""); System.out.println(x.replace("a","@")); x=x.replace("a","@"); System.out.println(x.replace("e","您")); x=x.replace("e","您"); System.out.println(x.toUpperCase()); x=x.toUpperCase(); System.out.println(x.substring(4,9)); x=x.substring(4,9); char xx[]=x.toCharArray(); for(int i=xx.length-1; i>=0; i--) System.out.print(xx[i]); }}
public class ex2 { public static void main(String[] args) { String x="this is an exercise. A happy Day"; System.out.println(x); System.out.println(x.replace(" ","")); x=x.replace(" ",""); System.out.println(x.replace("a","@")); x=x.replace("a","@"); System.out.println(x.replace("e","您")); x=x.replace("e","您"); System.out.println(x.toUpperCase()); x=x.toUpperCase(); System.out.println(x.substring(4,9)); x=x.substring(4,9); char xx[]=x.toCharArray(); for(int i=xx.length-1; i>=0; i--) System.out.print(xx[i]); }}
public class ex2 { public static void main(String[] args) { String x="this is an exercise. A happy Day"; System.out.println(x); System.out.println(x.replace(" ","")); x=x.replace(" ",""); System.out.println(x.replace("a","@")); x=x.replace("a","@"); System.out.println(x.replace("e","您")); x=x.replace("e","您"); System.out.println(x.toUpperCase()); x=x.toUpperCase(); System.out.println(x.substring(4,9)); x=x.substring(4,9); char xx[]=x.toCharArray(); for(int i=xx.length-1; i>=0; i--) System.out.print(xx[i]); }}
張貼留言