這是Herr Deng桑的教學blog,主要處理作業與班導事務,另外還有數位小品。
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()); }}
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); }}
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); }}
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); }}
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);} }
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());}}
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); }}
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); }}
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());}}
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()); }}
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);}}
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);}}
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);}}
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);}}
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);}}
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);}}
import java.util*;public class tousbeScanner 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()輸出為字串
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);}}
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); }}
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);}}
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); } }
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);}}
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);}}
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);}}
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());}}
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);}}
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());}}
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);}}
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); }}
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);}}
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());}}
張貼留言
42 則留言:
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());
}
}
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);
}
}
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);
}
}
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);
}
}
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);
}
}
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());
}
}
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);
}
}
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);
}
}
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);
}
}
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);
}
}
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());
}
}
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);
}
}
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());
}
}
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);
}
}
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);
}
}
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);
}
}
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);
}
}
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);
}
}
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);
}
}
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);
}
}
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);
}
}
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()輸出為字串
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);
}
}
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);
}
}
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);
}
}
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);
}
}
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);
}
}
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);
}
}
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);
}
}
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);
}
}
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);
}
}
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);
}
}
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);
}
}
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());
}
}
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);
}
}
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());
}
}
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);
}
}
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());
}
}
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);
}
}
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);
}
}
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);
}
}
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());
}
}
張貼留言