這是Herr Deng桑的教學blog,主要處理作業與班導事務,另外還有數位小品。
LinkedList<String> linkedList = new LinkedList<String>(); String[] a = {"This", "is", "a", "string", "array"}; for (int i = 0; i < a.length; i += 1) { linkedList.addLast(a[i]); } for (int j = a.length - 1; j >= 0; j -= 1) { linkedList.addLast(a[j]); } System.out.println(linkedList);
package kill;import java.util.*;public class CAI { public static void main(String[] args) { LinkedList<String>list=new LinkedList<String>(); String a[]={"This", "is", "a", "string", "array","array","string","a","is","This"}; for(int i=0; i<a.length; i++) list.addLast(a[i]); System.out.println(list); while (!list.isEmpty()){ System.out.println(list.pop()); } }}
public class ket {public static void main(String[] args) {LinkedList<String> linkedList = new LinkedList<String>();String a[]={"This", "is", "a", "string", "array"};for (int i = 0; i < a.length; i += 1) {linkedList.addLast(a[i]);}for (int k = a.length - 1; k>= 0; k-= 1) {linkedList.addLast(a[k]);}System.out.println(linkedList);}}
public class wen {public static void main(String[] args) {LinkedList<String> linkedList = new LinkedList<String>();String a[]={"This", "is", "a", "string", "array"};for (int i = 0; i < a.length; i += 1) {linkedList.addLast(a[i]);}for (int k = a.length - 1; k>= 0; k-= 1) {linkedList.addLast(a[k]);}System.out.println(linkedList);}}
public class san {public static void main(String[] args) {LinkedList<String> linkedList = new LinkedList<String>();String a[]={"This", "is", "a", "string", "array"};for (int i = 0; i < a.length; i += 1) {linkedList.addLast(a[i]);}for (int k = a.length - 1; k>= 0; k-= 1) {linkedList.addLast(a[k]);}System.out.println(linkedList);}}
LinkedList<String> linkedList = new LinkedList<String>();String[] a = {"This", "is", "a", "string", "array"};for (int i = 0; i < a.length; i += 1) linkedList.addLast(a[i]);for (int j = a.length - 1; j >= 0; j -= 1) linkedList.addLast(a[j]);System.out.println(linkedList);
import java.util.*;public class ex1 { public static void main(String[] args) { LinkedList linkedList = new LinkedList(); String a[]={"This", "is", "a", "string", "array"}; for (int i = 0; i < a.length; i += 1) { linkedList.addLast(a[i]); } for (int k = a.length - 1; k>= 0; k-= 1) { linkedList.addLast(a[k]); } System.out.println(linkedList); }}
import java.util.LinkedList;public class tt1 { public static void main(String[] args) { LinkedList<String> linkedList = new LinkedList<String>(); String[] a = {"This", "is", "a", "string", "array"}; for (int i = 0; i < a.length; i += 1) { linkedList.addLast(a[i]); } for (int j = a.length - 1; j >= 0; j--) { linkedList.addLast(a[j]); } System.out.println(linkedList); } }
import java.util.*;public class aa { public static void main(String[] args) { LinkedListlist=new LinkedList(); String a[]={"This", "is", "a", "string", "array","array","string","a","is","This"}; for(int i=0; i linkedList = new LinkedList(); String a[]={"This", "is", "a", "string", "array"}; for (int i = 0; i < a.length; i += 1) { linkedList.addLast(a[i]); } for (int k = a.length - 1; k>= 0; k-= 1) { linkedList.addLast(a[k]); } System.out.println(linkedList); }}
LinkedList<String> linkedList = new LinkedList<String>();String[] a = {"This", "is", "a", "string", "array"};for (int i = 0; i < a.length; i += 1) {linkedList.addLast(a[i]);}for (int j = a.length - 1; j >= 0; j -= 1) {linkedList.addLast(a[j]);}System.out.println(linkedList);
public class san {public static void main(String[] args) {LinkedList linkedList = new LinkedList();String a[]={"This", "is", "a", "string", "array"};for (int i = 0; i < a.length; i += 1) {linkedList.addLast(a[i]);}for (int k = a.length - 1; k>= 0; k-= 1) {linkedList.addLast(a[k]);}System.out.println(linkedList);}}
import java.util.*;public class LANG {public static void main(String[] args) {LinkedListlist=new LinkedList();String a[]={"This", "is", "a", "string", "array","array","string","a","is","This"};for(int i=0; i linkedList = new LinkedList();String a[]={"This", "is", "a", "string", "array"};for (int i = 0; i < a.length; i += 1) {linkedList.addLast(a[i]);}for (int k = a.length - 1; k>= 0; k-= 1) {linkedList.addLast(a[k]);}System.out.println(linkedList);}}
package asd;import java.util.*;public class you {public static void main(String[] args) {LinkedListlist=new LinkedList();String a[]={"This", "is", "a", "string", "array","array","string","a","is","This"};for(int i=0; i<a.length; i++)list.addLast(a[i]);System.out.println(list);while (!list.isEmpty()){System.out.println(list.pop());}}}
package sws;import java.util.*;public class swsw{public static void main(String[] args) {LinkedList<String>list=new LinkedList<String>();String a[]={"This", "is", "a", "string", "array","array","string","a","is","This"};for(int i=0; i<a.length; i++)list.addLast(a[i]);System.out.println(list);while (!list.isEmpty()){System.out.println(list.pop());}}}
package kill;import java.util.*;public class CAI {public static void main(String[] args) {LinkedListlist=new LinkedList();String a[]={"This", "is", "a", "string", "array","array","string","a","is","This"};for(int i=0; i<a.length; i++)list.addLast(a[i]);System.out.println(list);while (!list.isEmpty()){System.out.println(list.pop());}}}
public class ex1 {public static void main(String[] args) {LinkedList<String> linkedList = new LinkedList<String>();String a[]={"This", "is", "a", "string", "array"};for (int i = 0; i < a.length; i += 1) {linkedList.addLast(a[i]);}for (int k = a.length - 1; k>= 0; k-= 1) {linkedList.addLast(a[k]);}System.out.println(linkedList);}}
public class abc {public static void main(String[] args) {LinkedList linkedList = new LinkedList();String a[]={"This", "is", "a", "string", "array"};for (int i = 0; i < a.length; i += 1) {linkedList.addLast(a[i]);}for (int k = a.length - 1; k>= 0; k-= 1) {linkedList.addLast(a[k]);}System.out.println(linkedList);}}
LinkedList linkedList = new LinkedList();String[] a = {"This", "is", "a", "string", "array"};for (int i = 0; i < a.length; i += 1) {linkedList.addLast(a[i]);}for (int j = a.length - 1; j >= 0; j -= 1) {linkedList.addLast(a[j]);}System.out.println(linkedList);
public class B9933137 {public static void main(String[] args) {LinkedList linkedList = new LinkedList();String a[]={"This", "is", "a", "string", "array"};for (int i = 0; i < a.length; i += 1) {linkedList.addLast(a[i]);}for (int k = a.length - 1; k>= 0; k-= 1) {linkedList.addLast(a[k]);}System.out.println(linkedList);}}
public class ak {public static void main(String[] args) {LinkedList linkedList = new LinkedList();String a[]={"This", "is", "a", "string", "array"};for (int i = 0; i < a.length; i += 1) {linkedList.addLast(a[i]);}for (int k = a.length - 1; k>= 0; k-= 1) {linkedList.addLast(a[k]);}System.out.println(linkedList);}}
public class ket {public static void main(String[] args) {LinkedList linkedList = new LinkedList();String a[]={"This", "is", "a", "string", "array"};for (int i = 0; i < a.length; i += 1) {linkedList.addLast(a[i]);}for (int k = a.length - 1; k>= 0; k-= 1) {linkedList.addLast(a[k]);}System.out.println(linkedList);}}
import java.util.*;public class ex1 {public static void main(String[] args) {LinkedList linkedList = new LinkedList();String a[]={"This", "is", "a", "string", "array"};for (int i = 0; i < a.length; i += 1) {linkedList.addLast(a[i]);}for (int k = a.length - 1; k>= 0; k-= 1) {linkedList.addLast(a[k]);}System.out.println(linkedList);}}
張貼留言
31 則留言:
LinkedList<String> linkedList = new LinkedList<String>();
String[] a = {"This", "is", "a", "string", "array"};
for (int i = 0; i < a.length; i += 1) {
linkedList.addLast(a[i]);
}
for (int j = a.length - 1; j >= 0; j -= 1) {
linkedList.addLast(a[j]);
}
System.out.println(linkedList);
package kill;
import java.util.*;
public class CAI {
public static void main(String[] args) {
LinkedList<String>list=new LinkedList<String>();
String a[]={"This", "is", "a", "string", "array","array","string","a","is","This"};
for(int i=0; i<a.length; i++)
list.addLast(a[i]);
System.out.println(list);
while (!list.isEmpty()){
System.out.println(list.pop());
}
}
}
public class ket {
public static void main(String[] args) {
LinkedList<String> linkedList = new LinkedList<String>();
String a[]={"This", "is", "a", "string", "array"};
for (int i = 0; i < a.length; i += 1) {
linkedList.addLast(a[i]);
}
for (int k = a.length - 1; k>= 0; k-= 1) {
linkedList.addLast(a[k]);
}
System.out.println(linkedList);
}
}
public class wen {
public static void main(String[] args) {
LinkedList<String> linkedList = new LinkedList<String>();
String a[]={"This", "is", "a", "string", "array"};
for (int i = 0; i < a.length; i += 1) {
linkedList.addLast(a[i]);
}
for (int k = a.length - 1; k>= 0; k-= 1) {
linkedList.addLast(a[k]);
}
System.out.println(linkedList);
}
}
public class san {
public static void main(String[] args) {
LinkedList<String> linkedList = new LinkedList<String>();
String a[]={"This", "is", "a", "string", "array"};
for (int i = 0; i < a.length; i += 1) {
linkedList.addLast(a[i]);
}
for (int k = a.length - 1; k>= 0; k-= 1) {
linkedList.addLast(a[k]);
}
System.out.println(linkedList);
}
}
LinkedList<String> linkedList = new LinkedList<String>();
String[] a = {"This", "is", "a", "string", "array"};
for (int i = 0; i < a.length; i += 1)
linkedList.addLast(a[i]);
for (int j = a.length - 1; j >= 0; j -= 1)
linkedList.addLast(a[j]);
System.out.println(linkedList);
import java.util.*;
public class ex1 {
public static void main(String[] args) {
LinkedList linkedList = new LinkedList();
String a[]={"This", "is", "a", "string", "array"};
for (int i = 0; i < a.length; i += 1) {
linkedList.addLast(a[i]);
}
for (int k = a.length - 1; k>= 0; k-= 1) {
linkedList.addLast(a[k]);
}
System.out.println(linkedList);
}
}
import java.util.LinkedList;
public class tt1 {
public static void main(String[] args) {
LinkedList<String> linkedList = new LinkedList<String>();
String[] a = {"This", "is", "a", "string", "array"};
for (int i = 0; i < a.length; i += 1) {
linkedList.addLast(a[i]);
}
for (int j = a.length - 1; j >= 0; j--) {
linkedList.addLast(a[j]);
}
System.out.println(linkedList);
}
}
import java.util.*;
public class aa {
public static void main(String[] args) {
LinkedListlist=new LinkedList();
String a[]={"This", "is", "a", "string", "array","array","string","a","is","This"};
for(int i=0; i linkedList = new LinkedList();
String a[]={"This", "is", "a", "string", "array"};
for (int i = 0; i < a.length; i += 1) {
linkedList.addLast(a[i]);
}
for (int k = a.length - 1; k>= 0; k-= 1) {
linkedList.addLast(a[k]);
}
System.out.println(linkedList);
}
}
LinkedList<String> linkedList = new LinkedList<String>();
String[] a = {"This", "is", "a", "string", "array"};
for (int i = 0; i < a.length; i += 1) {
linkedList.addLast(a[i]);
}
for (int j = a.length - 1; j >= 0; j -= 1) {
linkedList.addLast(a[j]);
}
System.out.println(linkedList);
LinkedList<String> linkedList = new LinkedList<String>();
String[] a = {"This", "is", "a", "string", "array"};
for (int i = 0; i < a.length; i += 1) {
linkedList.addLast(a[i]);
}
for (int j = a.length - 1; j >= 0; j -= 1) {
linkedList.addLast(a[j]);
}
System.out.println(linkedList);
LinkedList<String> linkedList = new LinkedList<String>();
String[] a = {"This", "is", "a", "string", "array"};
for (int i = 0; i < a.length; i += 1) {
linkedList.addLast(a[i]);
}
for (int j = a.length - 1; j >= 0; j -= 1) {
linkedList.addLast(a[j]);
}
System.out.println(linkedList);
LinkedList<String> linkedList = new LinkedList<String>();
String[] a = {"This", "is", "a", "string", "array"};
for (int i = 0; i < a.length; i += 1) {
linkedList.addLast(a[i]);
}
for (int j = a.length - 1; j >= 0; j -= 1) {
linkedList.addLast(a[j]);
}
System.out.println(linkedList);
LinkedList<String> linkedList = new LinkedList<String>();
String[] a = {"This", "is", "a", "string", "array"};
for (int i = 0; i < a.length; i += 1) {
linkedList.addLast(a[i]);
}
for (int j = a.length - 1; j >= 0; j -= 1) {
linkedList.addLast(a[j]);
}
System.out.println(linkedList);
public class san {
public static void main(String[] args) {
LinkedList linkedList = new LinkedList();
String a[]={"This", "is", "a", "string", "array"};
for (int i = 0; i < a.length; i += 1) {
linkedList.addLast(a[i]);
}
for (int k = a.length - 1; k>= 0; k-= 1) {
linkedList.addLast(a[k]);
}
System.out.println(linkedList);
}
}
public class ket {
public static void main(String[] args) {
LinkedList<String> linkedList = new LinkedList<String>();
String a[]={"This", "is", "a", "string", "array"};
for (int i = 0; i < a.length; i += 1) {
linkedList.addLast(a[i]);
}
for (int k = a.length - 1; k>= 0; k-= 1) {
linkedList.addLast(a[k]);
}
System.out.println(linkedList);
}
}
import java.util.*;
public class LANG {
public static void main(String[] args) {
LinkedListlist=new LinkedList();
String a[]={"This", "is", "a", "string", "array","array","string","a","is","This"};
for(int i=0; i linkedList = new LinkedList();
String a[]={"This", "is", "a", "string", "array"};
for (int i = 0; i < a.length; i += 1) {
linkedList.addLast(a[i]);
}
for (int k = a.length - 1; k>= 0; k-= 1) {
linkedList.addLast(a[k]);
}
System.out.println(linkedList);
}
}
package asd;
import java.util.*;
public class you {
public static void main(String[] args) {
LinkedListlist=new LinkedList();
String a[]={"This", "is", "a", "string", "array","array","string","a","is","This"};
for(int i=0; i<a.length; i++)
list.addLast(a[i]);
System.out.println(list);
while (!list.isEmpty()){
System.out.println(list.pop());
}
}
}
package sws;
import java.util.*;
public class swsw{
public static void main(String[] args) {
LinkedList<String>list=new LinkedList<String>();
String a[]={"This", "is", "a", "string", "array","array","string","a","is","This"};
for(int i=0; i<a.length; i++)
list.addLast(a[i]);
System.out.println(list);
while (!list.isEmpty()){
System.out.println(list.pop());
}
}
}
package kill;
import java.util.*;
public class CAI {
public static void main(String[] args) {
LinkedListlist=new LinkedList();
String a[]={"This", "is", "a", "string", "array","array","string","a","is","This"};
for(int i=0; i<a.length; i++)
list.addLast(a[i]);
System.out.println(list);
while (!list.isEmpty()){
System.out.println(list.pop());
}
}
}
public class ex1 {
public static void main(String[] args) {
LinkedList<String> linkedList = new LinkedList<String>();
String a[]={"This", "is", "a", "string", "array"};
for (int i = 0; i < a.length; i += 1) {
linkedList.addLast(a[i]);
}
for (int k = a.length - 1; k>= 0; k-= 1) {
linkedList.addLast(a[k]);
}
System.out.println(linkedList);
}
}
public class abc {
public static void main(String[] args) {
LinkedList linkedList = new LinkedList();
String a[]={"This", "is", "a", "string", "array"};
for (int i = 0; i < a.length; i += 1) {
linkedList.addLast(a[i]);
}
for (int k = a.length - 1; k>= 0; k-= 1) {
linkedList.addLast(a[k]);
}
System.out.println(linkedList);
}
}
LinkedList linkedList = new LinkedList();
String[] a = {"This", "is", "a", "string", "array"};
for (int i = 0; i < a.length; i += 1) {
linkedList.addLast(a[i]);
}
for (int j = a.length - 1; j >= 0; j -= 1) {
linkedList.addLast(a[j]);
}
System.out.println(linkedList);
public class B9933137 {
public static void main(String[] args) {
LinkedList linkedList = new LinkedList();
String a[]={"This", "is", "a", "string", "array"};
for (int i = 0; i < a.length; i += 1) {
linkedList.addLast(a[i]);
}
for (int k = a.length - 1; k>= 0; k-= 1) {
linkedList.addLast(a[k]);
}
System.out.println(linkedList);
}
}
public class ak {
public static void main(String[] args) {
LinkedList linkedList = new LinkedList();
String a[]={"This", "is", "a", "string", "array"};
for (int i = 0; i < a.length; i += 1) {
linkedList.addLast(a[i]);
}
for (int k = a.length - 1; k>= 0; k-= 1) {
linkedList.addLast(a[k]);
}
System.out.println(linkedList);
}
}
LinkedList<String> linkedList = new LinkedList<String>();
String[] a = {"This", "is", "a", "string", "array"};
for (int i = 0; i < a.length; i += 1) {
linkedList.addLast(a[i]);
}
for (int j = a.length - 1; j >= 0; j -= 1) {
linkedList.addLast(a[j]);
}
System.out.println(linkedList);
public class ket {
public static void main(String[] args) {
LinkedList linkedList = new LinkedList();
String a[]={"This", "is", "a", "string", "array"};
for (int i = 0; i < a.length; i += 1) {
linkedList.addLast(a[i]);
}
for (int k = a.length - 1; k>= 0; k-= 1) {
linkedList.addLast(a[k]);
}
System.out.println(linkedList);
}
}
import java.util.*;
public class ex1 {
public static void main(String[] args) {
LinkedList linkedList = new LinkedList();
String a[]={"This", "is", "a", "string", "array"};
for (int i = 0; i < a.length; i += 1) {
linkedList.addLast(a[i]);
}
for (int k = a.length - 1; k>= 0; k-= 1) {
linkedList.addLast(a[k]);
}
System.out.println(linkedList);
}
}
public class ket {
public static void main(String[] args) {
LinkedList<String> linkedList = new LinkedList<String>();
String a[]={"This", "is", "a", "string", "array"};
for (int i = 0; i < a.length; i += 1) {
linkedList.addLast(a[i]);
}
for (int k = a.length - 1; k>= 0; k-= 1) {
linkedList.addLast(a[k]);
}
System.out.println(linkedList);
}
}
public class ex1 {
public static void main(String[] args) {
LinkedList<String> linkedList = new LinkedList<String>();
String a[]={"This", "is", "a", "string", "array"};
for (int i = 0; i < a.length; i += 1) {
linkedList.addLast(a[i]);
}
for (int k = a.length - 1; k>= 0; k-= 1) {
linkedList.addLast(a[k]);
}
System.out.println(linkedList);
}
}
package kill;
import java.util.*;
public class CAI {
public static void main(String[] args) {
LinkedListlist=new LinkedList();
String a[]={"This", "is", "a", "string", "array","array","string","a","is","This"};
for(int i=0; i<a.length; i++)
list.addLast(a[i]);
System.out.println(list);
while (!list.isEmpty()){
System.out.println(list.pop());
}
}
}
張貼留言