herrDeng網內搜尋

自訂搜尋

Ads

2012年3月28日 星期三

反轉字串並小寫改大寫

反轉字串並小寫改大寫

42 則留言:

B10033001 提到...

import java.util.*;
public class StringEx2{
public static void main (String [] args){
Scanner input=new Scanner (System.in);
String X;
X=input.nextLine();
System.out.println(X);
StringBuffer Y=new StringBuffer(X);
Y.reverse();
System.out.println(Y.toString());
}
}

b9733191 提到...

import java.util.*;
public class xxx {

public static void main(String[]args) {
StringBuffer str = new StringBuffer("textbook");
str=str.reverse();
String ttt;
ttt=str.toString();
ttt=ttt.toUpperCase();
System.out.println(ttt);
}

}

B10033020 提到...

import java.util.*;
public class StringEx2 {
public static void main(String[] args) {
Scanner input=new Scanner(System.in);
String X;
X=input.nextLine();
System.out.println(X);
StringBuffer Y=new StringBuffer(X);
Y.reverse();
System.out.println(Y);
}

}

b9733028 提到...

import java.util.*;
public class test {
public static void main(String[] args) {
Scanner input=new Scanner(System.in);
String X;
X=input.nextLine();
System.out.println(X);
StringBuffer Y=new StringBuffer(X);
Y.reverse();
String stt;
stt=Y.toString();
stt=stt.toUpperCase();
System.out.println(stt);
}
}

B10033002 提到...

import java.util.*;
public class hello {
public static void main(String[] args) {
Scanner input=new Scanner(System.in);
String X;
X=input.nextLine();
System.out.println(X);
StringBuffer Y=new StringBuffer(X);
Y.reverse();
System.out.println(Y);
}
}

B10033035 提到...

import java.util.*;
public class hello {
public static void main(String[] args) {
Scanner input=new Scanner(System.in);
String X=input.nextLine();
StringBuffer Y=new StringBuffer(X.toUpperCase());
System.out.println(Y.reverse());
}
}

B10033054 提到...

import java.util.*;
public class hhh{
public static void main(String[] args){
Scanner sc=new Scanner(System.in);
String x=sc.next();
StringBuffer st=new StringBuffer(x);
st=st.reverse();
String sgg;
sgg=st.toString();
sgg=sgg.toUpperCase();
System.out.println(sgg);
}
}

B10033052 提到...

import java.util.*;
public class StringEx2 {
public static void main(String[] args) {
Scanner input=new Scanner(System.in);
String X;
X=input.nextLine();
System.out.println(X);
StringBuffer Y=new StringBuffer(X.toUpperCase());
Y.reverse();
System.out.println(Y);
}

}

B10033013 提到...

import java.util.*;
public class hhh{
public static void main(String[] args){
Scanner sc=new Scanner(System.in);
String x=sc.next();
StringBuffer st=new StringBuffer(x);
st=st.reverse();
String sgg;
sgg=st.toString();
sgg=sgg.toUpperCase();
System.out.println(sgg);
}
}

B10033057 提到...

import java.util.*;
public class hhh{
public static void main(String[] args){
Scanner sc=new Scanner(System.in);
String x=sc.next();
StringBuffer st=new StringBuffer(x);
st=st.reverse();
String sgg;
sgg=st.toString();
sgg=sgg.toUpperCase();
System.out.println(sgg);
}
}

B10033048 提到...

import java.util.*;
public class h {
public static void main(String[] args) {
Scanner input=new Scanner(System.in);
String X=input.nextLine();
StringBuffer Y=new StringBuffer(X.toUpperCase());
System.out.println(Y.reverse());
}
}

B10033020 提到...

import java.util.*;
public class StringEx2 {
public static void main(String[] args) {
Scanner input=new Scanner(System.in);
String X;
X=input.nextLine();

System.out.println(X);
StringBuffer Y=new StringBuffer(X.toUpperCase());
Y.reverse();
System.out.println(Y);


}

}

b10033016 提到...

import java.util.*;
public class b10033{
public static void main(String[] args) {
Scanner inport=new Scanner(System.in);
String X;
X=inport.nextLine();
System.out.println(X);
StringBuffer Y=new StringBuffer(X.toUpperCase());
Y.reverse();
System.out.println(Y.toString());
}
}

B10033025 提到...

import java.util.*;
public class XD {
public static void main(String[] args) {
Scanner input=new Scanner(System.in);
String X;
X=input.nextLine();
System.out.println(X);
StringBuffer Y=new StringBuffer(X.toUpperCase());
Y.reverse();
System.out.println(Y);
}

}

B10033019 提到...

import java.util.*;
public class love {
public static void main(String[] args) {
Scanner input=new Scanner(System.in);
String X;
X=input.nextLine();

System.out.println(X);
StringBuffer Y=new StringBuffer(X.toUpperCase());
Y.reverse();
System.out.println(Y);

}

}

b10033037 提到...

import java.util.*;
public class StringEx2 {
public static void main(String[] args) {
Scanner input=new Scanner(System.in);
String X;
⋯⋯ X=input.nextLine();

System.out.println(X);
StringBuffer Y=new StringBuffer(X.toUpperCase());
Y.reverse();
System.out.println(Y);

}

}

b10033005 提到...

import java.util.*;
public class ee{
public static void main(String[] args) {
Scanner input=new Scanner(System.in);
String X;
X=input.nextLine();

System.out.println(X);
StringBuffer Y=new StringBuffer(X.toUpperCase());
Y.reverse();
System.out.println(Y);

}

}

b10033026 提到...

import java.util.*;
public class ee{
public static void main(String[] args) {
Scanner input=new Scanner(System.in);
String X;
X=input.nextLine();

System.out.println(X);
StringBuffer Y=new StringBuffer(X.toUpperCase());
Y.reverse();
System.out.println(Y);

}

}

b10033009 提到...

import java.util.*;
public class ee{
public static void main(String[] args) {
Scanner input=new Scanner(System.in);
String X;
X=input.nextLine();

System.out.println(X);
StringBuffer Y=new StringBuffer(X.toUpperCase());
Y.reverse();
System.out.println(Y);

}

}

B10033034 提到...

import java.util.*;
public class boy {
public static void main(String[] args) {
Scanner input=new Scanner(System.in);
String X;
⋯⋯ X=input.nextLine();

System.out.println(X);
StringBuffer Y=new StringBuffer(X.toUpperCase());
Y.reverse();
System.out.println(Y);

}

}

B10033007 提到...

import java.util.*;
public class hello {
public static void main(String[] args) {
Scanner input=new Scanner(System.in);
String X;
⋯⋯ X=input.nextLine();

System.out.println(X);
StringBuffer Y=new StringBuffer(X.toUpperCase());
Y.reverse();
System.out.println(Y);

}

}

B9733205 提到...

import java.util*;
public class tousbe

Scanner input = new Scanner(System.in);
String X = input.nextLine();
String Y = new StringBuffer(X.toUpperCase()).reverse().toString();
System.out.println("處理前:" + X);
System.out.println("處理後:" + Y);
}
}

toUpperCase()轉大寫.reverse()反轉.toString()輸出為字串

B10033027 提到...

import java.util.*;
public class StringEx2 {
public static void main(String[] args) {
Scanner input=new Scanner(System.in);
String X;
X=input.nextLine();

System.out.println(X);
StringBuffer Y=new StringBuffer(X.toUpperCase());
Y.reverse();
System.out.println(Y);

}

}

B10033004 提到...

import java.util.*;
public class StringEx2{
public static void main (String[]args){
Scanner input=new Scanner (System.in);
String X;
X=input.nextLine();

System.out.println(X);
StringBuffer Y=new StringBuffer(X.toUpperCase());
Y.reverse ();
System.out.println(Y);
}
}

B10033056 提到...

import java.util.*;
public class hello{
public static void main (String[]args){
Scanner input=new Scanner (System.in);
String X;
X=input.nextLine();

System.out.println(X);
StringBuffer Y=new StringBuffer(X.toUpperCase());
Y.reverse ();
System.out.println(Y);
}
}

B10033001 提到...

import java.util.*;
public class StringEx2 {
public static void main(String[] args) {
Scanner input=new Scanner(System.in);
String X;
X=input.nextLine();

System.out.println(X);
StringBuffer Y=new StringBuffer(X.toUpperCase());
Y.reverse();
System.out.println(Y);

}

}

B10033032 提到...

import java.util.*;
public class StringEx2 {
public static void main(String[] args) {
Scanner input=new Scanner(System.in);
String X;
⋯⋯ X=input.nextLine();

System.out.println(X);
StringBuffer Y=new StringBuffer(X.toUpperCase());
Y.reverse();
System.out.println(Y);

}

}

B10033014 提到...

import java.util.*;
public class StringEx2 {
public static void main(String[] args) {
Scanner input=new Scanner(System.in);
String X;
⋯⋯ X=input.nextLine();

System.out.println(X);
StringBuffer Y=new StringBuffer(X.toUpperCase());
Y.reverse();
System.out.println(Y);

}

}

B10033021 提到...

import java.util.*;
public class StringEx1 {
public static void main(String[] args) {
Scanner input=new Scanner(System.in);
String X;
⋯⋯ X=input.nextLine();

System.out.println(X);
StringBuffer Y=new StringBuffer(X.toUpperCase());
Y.reverse();
System.out.println(Y);

}

}

B10033040 提到...

import java.util.*;
public class StringEx2 {
public static void main(String[] args) {
Scanner input=new Scanner(System.in);
String X;
X=input.nextLine();

System.out.println(X);
StringBuffer Y=new StringBuffer(X.toUpperCase());
Y.reverse();
System.out.println(Y);

}

}

b10033039 提到...

import java.util.*;
public class hello {
public static void main(String[] args) {
Scanner input=new Scanner(System.in);
String X;
X=input.nextLine();

System.out.println(X);
StringBuffer Y=new StringBuffer(X.toUpperCase());
Y.reverse();
System.out.println(Y);

}

}

B10033045 提到...

import java.util.*;
public class hello {
public static void main(String[] args) {
Scanner sca= new Scanner(System.in);
String x=sca.next();
StringBuffer str= new StringBuffer(x);
str=str.reverse();
String stt;
stt= str.toString();
stt=stt.toUpperCase();
System.out.println(stt);
}
}

B10033044 提到...

import java.util.*;
public class hello {
public static void main(String[] args) {
Scanner input=new Scanner(System.in);
String X;
X=input.nextLine();

System.out.println(X);
StringBuffer Y=new StringBuffer(X.toUpperCase());
Y.reverse();
System.out.println(Y);

}

}

B10033011 提到...

import java.util.*;
public class hii{
public static void main(String[] args) {
Scanner inport=new Scanner(System.in);
String X;
X=inport.nextLine();
System.out.println(X);
StringBuffer Y=new StringBuffer(X.toUpperCase());
Y.reverse();
System.out.println(Y.toString());
}
}

B10033010 提到...

import java.util.*;
public class test {
public static void main(String[] args) {
Scanner input=new Scanner(System.in);
String X;
X=input.nextLine();
System.out.println(X);
StringBuffer Y=new StringBuffer(X);
Y.reverse();
String stt;
stt=Y.toString();
stt=stt.toUpperCase();
System.out.println(stt);
}
}

B10033030 提到...

import java.util.*;
public class hello {
public static void main(String[] args) {
Scanner input=new Scanner(System.in);
String X=input.nextLine();
StringBuffer Y=new StringBuffer(X.toUpperCase());
System.out.println(Y.reverse());
}
}

B10033050 提到...

import java.util.*;
public class StringEx2 {
public static void main(String[] args) {
Scanner input=new Scanner(System.in);
String X;
X=input.nextLine();
System.out.println(X);
StringBuffer Y=new StringBuffer(X.toUpperCase());
Y.reverse();
System.out.println(Y);
}

}

B10033006 提到...

import java.util.*;
public class StringEx2{
public static void main (String [] args){
Scanner input=new Scanner (System.in);
String X;
X=input.nextLine();
System.out.println(X);
StringBuffer Y=new StringBuffer(X);
Y.reverse();
System.out.println(Y.toString());
}
}

b10033028 提到...

import java.util.*;
public class hello {
public static void main(String[] args) {
Scanner input=new Scanner(System.in);
String X;
X=input.nextLine();
System.out.println(X);
StringBuffer Y=new StringBuffer(X);
Y.reverse();
System.out.println(Y);
}
}

B10033022 提到...

import java.util.*;
public class text {
public static void main(String[] args) {
Scanner input=new Scanner(System.in);
String X;
X=input.nextLine();
System.out.println(X);
StringBuffer Y=new StringBuffer(X);
Y.reverse();
String stt;
stt=Y.toString();
stt=stt.toUpperCase();
System.out.println(stt);
}
}

B10033003 提到...

import java.util.*;
public class iu{
public static void main(String[] args) {
Scanner input=new Scanner(System.in);
String X;
X=input.nextLine();
System.out.println(X);
StringBuffer A=new StringBuffer(X.toUpperCase());
A.reverse();
System.out.println(A);
}
}

B10033017 提到...

import java.util.*;
public class b10033{
public static void main(String[] args) {
Scanner inport=new Scanner(System.in);
String X;
X=inport.nextLine();
System.out.println(X);
StringBuffer Y=new StringBuffer(X.toUpperCase());
Y.reverse();
System.out.println(Y.toString());
}
}

Related Posts Plugin for WordPress, Blogger...

熱門文章