herrDeng網內搜尋

自訂搜尋

Ads

2012年10月8日 星期一

Java 中的 LinkedList

練習線性串列,加入字串"where", "are", "you", "going", "?"

 

58 則留言:

b9833035張茵婷 提到...


import java.util.*;
public class B9833035 {

/**
* @param args
*/
public static void main(String[] args) {
// TODO Auto-generated method stub

String arr[]={"?","going","you","are","where"};
LinkedList<String> list= new LinkedList<String>();
for (String x :arr)
list.addFirst(x);
System.out.println(list);
}

}

B10033003鍾明修 提到...

package p1;
import java.util.*;
public class hw1
{
public static void main(String[] args)
{
String a[]={"where","are","you","doing","?"};
LinkedList<String> list=new LinkedList<String>();
for(String x:a)
list.addFirst(x);
System.out.println(list);
}
}

B10033005徐維焱 提到...

package p1;
import java.util.*;
public class hw1
{


public static void main(String[] args)
{
String pu []={"where","are","you","going","?"};
LinkedList<String> list=new LinkedList<String>();
for(String x:pu)
list.addFirst(x);
System.out.println(list);
}
}

B10033045 林仲仁 提到...

import java.util.*;
public class B10033045 {


public static void main(String[] args) {
String arr[]={"?","going","you","are","where"};
LinkedList<String> list=new LinkedList<String>();
for (String x:arr)
list.addFirst(x);
System.out.println(list);

}

}

B10033052劉悅旻 提到...

import java.util.*;
public class hello{
public static void main (String[]args){
String arr[]={"where","are","you","going","?"};
LinkedList<String> list= new LinkedList<String>();
for (String x :arr)
list.addFirst(x);
System.out.println(list);
}
}

B10033027黃盈嘉 提到...

import java.util.*;
public class hello{
public static void main (String[]args){
String arr[]={"where","are","you","going","?"};
LinkedList<String> list= new LinkedList<String>();
for (String x :arr)
list.addFirst(x);
System.out.println(list);
}
}

B10033036邱筱婷 提到...

import java.util.*;
public class abc{
public static void main(String args[]){
String arr[]={"?","going","you","are","where"};
LinkedList<String> list=new LinkedList<String>();
for (String x :arr)
list.addFirst(x);
System.out.println(list);
}

}

B10033011邵怡青 提到...

import java.util.*;
public class shao{
public static void main(String args[]){
String arr[]={"?","going","you","are","where"};
LinkedList<String> list=new LinkedList<String>();
for (String x :arr)
list.addFirst(x);
System.out.println(list);
}

}

B10033021簡良宇 提到...

import java.util.*;
public class hello {
public static void main(String[] args) {
String arr []={"?","going","you","are","Where"};
LinkedList<String> list=new LinkedList<String>();
for (String x :arr)
list.addFirst(x);
System.out.println(list);

}

}

b10033014鄧宇純 提到...

import java.util.*;
public class test {
public static void main(String[] args) {
String arr[]={"?","going","you","are","where"};
LinkedList<String> list= new LinkedList<String>();
for (String x :arr)
list.addFirst(x);
System.out.println(list);

}

}

B1003039 提到...

import java.util.*;
public class hello {
public static void main(String[]args){
String arr[]={"Where","are","you","going","?"};
LinkedList<String> list = new LinkedList<String>();
for(String x :arr)
list.addFirst(x);
System.out.println(list);
}
}

B10033015 提到...

import java.util.*;
public class hello {
public static void main(String [] args){
String arr[]={"?","going","you","are","where"};
LinkedList<String> list = new LinkedList<String>();
for (String x:arr)
list.addFirst(x);
System.out.println(list);
}
}

B10033019 提到...

import java.util.*;
public class hello {
public static void main(String[]args){
String arr[] ={"Where","are","you","going","?"};
LinkedList<String> list = new LinkedList<String>();
for (String x :arr)
list.addFirst(x);
System.out.println(list);
}

}

B10033004 羅時侒 提到...

import java.util.*;
public class H4{
public static void main (String[] args){
String arr[]={"where","are","you","going","?"};
LinkedList list= new LinkedList();
for(String x :arr)
list.addFirst(x);
System.out.println (list);

}
}

B10033004 羅時侒 提到...

import java.util.*;
public class H4{
public static void main (String[] args){
String arr[]={"where","are","you","going","?"};
LinkedList<String> list= new LinkedList<String>();
for(String x :arr)
list.addFirst(x);
System.out.println (list);

}
}

B10033044陳威宏 提到...

import java.util.*;
public class b10033044 {

public static void main(String[] args) {
String arr []={"Where","are","you","doing","?"};
LinkedList<String> list=new LinkedList<String> ();
for (String x : arr)
list.addFirst(x);
System.out.println(list);
}

}

B10033057李長勳 提到...

import java.util.*;
public class b10033057 {

public static void main(String[] args) {
String arr []={"Where","are","you","doing","?"};
LinkedList<String> list=new LinkedList<String> ();
for (String x : arr)
list.addFirst(x);
System.out.println(list);
}

}

B10033056陳信吉 提到...

import java.util.*;
public class hello {
public static void main(String[] args) {
String arr[]={"where","are","you","going","?"};
LinkedList<String> list=new LinkedList<String>();
for (String x :arr)
list.addFirst(x);
System.out.println(list);
}
}

b10033016許竣翔 提到...

import java.util.*;
public class qwop {
public static void main(String[] args){
String arr[]={"where","are","you","going"};
LinkedList list = new LinkedList();
for (String x :arr)
list.addFirst(x);
System.out.println(list);
}
}

b9813129 林峻葦 提到...

import java.util.*;
public class sayhollow {
public static void main(String[] args) {
String arr[]={"?","going","you","are","where"};
sayhollow list= new sayhollow();
for (String X :arr)
list.addFirst(x);
System.out.println(list);
int x=list.indexof("Taiwan");
if (x!=-1)
list.add(x,"real?");
System.out.println(list);
list.remove();
System.out.println(list);
Object brr[]=list.toArray();
for (Object y: brr)
System.out.println(y);
}
}

B10033022梁朝富 提到...

import java.util.*;
public class testLinkedList {
public static void main(String[] args) {
String arr[]={"JAVA","API","好用"};
LinkedList<String> list=new LinkedList<String>();
for (String x :arr)
list.addFirst(x);
System.out.println(list);
int x=list.indexOf("JAVA");
if (x!=-1)
list.add(x,"誰說的");
System.out.println(list);
list.remove();
System.out.println(list);
Object brr[]=list.toArray();
for (Object y: brr)
System.out.println(y);
}
}

B10033013王彥哲 提到...

import java.util.*;
public class LinkedList {
public static void main(String[]args) {
String arr[]={"JAVA","API","好用"};
LinkedList<String> list=new LinkedList<String>();
for (String x :arr)
list.addFirst(x);
System.out.println(list);
int x=list.indexOf("JAVA");
if (x!=-1)
list.add(x,"誰說的");
System.out.println(list);
list.remove();
System.out.println(list);
Object brr[]=list.toArray();
for (Object y: brr)
System.out.println(y);
}
}

B10033026姜禮銘 提到...

import java.util.*;
public class test {
public static void main(String[] args) {
String arr[]={"?","going","you","are","Where"};
LinkedList<String>list=new LinkedList<String>();
for (String x :arr)
list.addFirst(x);
System.out.println(list);

B10033017鄭人豪 提到...

import java.util.*;
public class hello {
public static void main(String [] args){
String arr[]={"?","going","you","are","where"};
LinkedList<String> list = new LinkedList<String>();
for (String x:arr)
list.addFirst(x);
System.out.println(list);
}
}

B10033010賴韋任 提到...

import java.util.*;
public class test {
public static void main(String[] args) {
String arr[]={"?","going","you","are","Where"};
LinkedList<String>list=new LinkedList<String>();
for (String x :arr)
list.addFirst(x);
System.out.println(list);

B10033051羅宏彬 提到...

import java.util.*;
public class test {
public static void main(String[] args) {
String arr[]={"?","going","you","are","Where"};
LinkedList<String>list=new LinkedList<String>();
for (String x :arr)
list.addFirst(x);
System.out.println(list);

B10033007 蕭雅文 提到...

import java.util.*;
public class abc {
public static void main (String[] args){
String arr[]={"where","are","you","ging","?"};
LinkedListlist= new LinkedList();
for (String X :arr)
list.addFirst(X);
System.out.println(list);

}
}

B10033034 陳冠錚 提到...

import java.util.*;
public class abc {
public static void main (String[] args){
String arr[]={"where","are","you","ging","?"};
LinkedListlist= new LinkedList();
for (String X :arr)
list.addFirst(X);
System.out.println(list);

}
}

匿名 提到...

import java.util.*;
public class B9733002鍾志捷 {
public static void main(String[] args) {
String arr []={"?","going","you","are","Where"};
LinkedList list=new LinkedList();
for (String x :arr)
list.addFirst(x);
System.out.println(list);
}
}

B10033046徐紹桓 提到...

import java.util.*;
public class hello{
public static void main (String[]args){
String arr[]={"where","are","you","going","?"};
LinkedList list= new LinkedList();
for (String x :arr)
list.addFirst(x);
System.out.println(list);
}
}

B10033037徐瑜駿 提到...

mport java.util.*;
public class hello {
public static void main(String[]args){
String arr[] ={"Where","are","you","going","?"};
LinkedList list = new LinkedList();
for (String x :arr)
list.addFirst(x);
System.out.println(list);
}

}

B10033035陳雅婷 提到...

import java.util.*;
public class abc{
public static void main(String args[]){
String arr[]={"?","going","you","are","where"};
LinkedList list=new LinkedList();
for (String x :arr)
list.addFirst(x);
System.out.println(list);
}

}

B10033025林煒翔 提到...

package XD;
import java.util.*;
public class hw1
{
public static void main(String[] args)
{
String a[]={"where","are","you","doing","?"};
LinkedList<String> list=new LinkedList<String>();
for(String x:a)
list.addFirst(x);
System.out.println(list);
}
}

B10033054 提到...

import java.util.*;
public class asd {

/**
* @param args
*/
public static void main(String[] args) {
// TODO Auto-generated method stub

String arr[]={"?","going","you","are","where"};
LinkedList list= new LinkedList();
for (String x :arr)
list.addFirst(x);
System.out.println(list);
}

}

B10033043 提到...

import java.util.*;
public class zxc {

/**
* @param args
*/
public static void main(String[] args) {
// TODO Auto-generated method stub

String arr[]={"?","going","you","are","where"};
LinkedList list= new LinkedList();
for (String x :arr)
list.addFirst(x);
System.out.println(list);
}

}

b9833151鄭宜青 提到...

import java.util.*;
public class b9833151
{
public static void main(String[] args)
{
String arr []={"Where","are","you","doing","?"};
LinkedList list=new LinkedList ();
for (String x : arr)
list.addFirst(x);
System.out.println(list);
}
}

B9833091陳孟偉 提到...

import java.util.*;
public class NYPD{
public static void main(String args[]){
String arr[]={"where","are","you","going","?"};
LinkedList list=new LinkedList();
for (String x :arr)
list.addFirst(x);
System.out.println(list);
}

}

B10033002卓孟杰 提到...

import java.util.*;
public class jas{
public static void main (String[]args){
String arr[]={"where","are","you","going","?"};
LinkedList<String> list= new LinkedList<String>();
for (String x :arr)
list.addFirst(x);
System.out.println(list);
}
}

B10033020 提到...

import java.util.*;
public class B10033020{
public static void main (String[]args){
String arr[]={"where","are","you","going","?"};
LinkedList<String> list= new LinkedList<String>();
for (String x :arr)
list.addFirst(x);
System.out.println(list);
}
}

b10033042林藝兆 提到...

import java.util.*;
public class qwop {
public static void main(String[] args){
String arr[]={"where","are","you","going"};
LinkedList list = new LinkedList();
for (String x :arr)
list.addFirst(x);
System.out.println(list);
}
}


b10033017 鄭人豪 提到...

package p1;
import java.util.*;
public class hw1
{
public static void main(String[] args)
{
String a[]={"where","are","you","doing","?"};
LinkedList<String> list=new LinkedList<String>();
for(String x:a)
list.addFirst(x);
System.out.println(list);
}
}

B10033030姜欣宜 提到...

import java.util.*;
public class H4{
public static void main (String[] args){
String arr[]={"where","are","you","going","?"};
LinkedList list= new LinkedList();
for(String x :arr)
list.addFirst(x);
System.out.println (list);

}
}

B10033050張恩慈 提到...

mport java.util.*;
public class qwop {
public static void main(String[] args){
String arr[]={"where","are","you","going"};
LinkedList list = new LinkedList();
for (String x :arr)
list.addFirst(x);
System.out.println(list);
}
}

B10033048劉雅琪 提到...

import java.util.*;
public class a{
public static void main(String args[]){
String arr[]={"?","going","you","are","where"};
LinkedList list=new LinkedList();
for (String x :arr)
list.addFirst(x);
System.out.println(list);
}

}

B10033040陳姵儒 提到...

import java.util.*;
public class test {
public static void main(String[] args) {
String arr[]={"?","going","you","are","where"};
LinkedList<String> list= new LinkedList<String>();
for (String x :arr)
list.addFirst(x);
System.out.println(list);

}

}

B10033054 鄭仲軒 提到...

package p1;
import java.util.*;
public class asd
{


public static void main(String[] args)
{
String pu []={"where","are","you","going","?"};
LinkedList list=new LinkedList();
for(String x:pu)
list.addFirst(x);
System.out.println(list);
}
}

b9833084 王綱 提到...

package p1;
import java.util.*;
public class hw1
{
public static void main(String[] args)
{
String a[]={"where","are","you","doing","?"};
LinkedList list=new LinkedList();
for(String x:a)
list.addFirst(x);
System.out.println(list);
}
}

b9833084 王綱 提到...

package p1;
import java.util.*;
public class hw1
{
public static void main(String[] args)
{
String a[]={"where","are","you","doing","?"};
LinkedList list=new LinkedList();
for(String x:a)
list.addFirst(x);
System.out.println(list);
}
}

B10033041陳奕綺 提到...

import java.util.*;
public class abc{
public static void main(String args[]){
String arr[]={"?","going","you","are","where"};
LinkedList list=new LinkedList();
for (String x :arr)
list.addFirst(x);
System.out.println(list);
}

}

B10033006莊松霖 提到...

import java.util.*;
public class hello {
public static void main(String[] args) {
String arr []={"?","going","you","are","Where"};
LinkedList list=new LinkedList();
for (String x :arr)
list.addFirst(x);
System.out.println(list);

}

}

B10033032夏瑋駿 提到...

import java.util.*;
public class good {


public static void main(String[] args) {
String arr[]={"?","going","you","are","where"};
LinkedList list=new LinkedList();
for (String x:arr)
list.addFirst(x);
System.out.println(list);

}

}

B9833108王冠傑 提到...

import java.util.*;
public class B9833035 {

/**
* @param args
*/
public static void main(String[] args) {
// TODO Auto-generated method stub

String arr[]={"?","going","you","are","where"};
LinkedList list= new LinkedList();
for (String x :arr)
list.addFirst(x);
System.out.println(list);
}

}

B10033042 提到...

mport java.util.*;
public class hello {
public static void main(String[] args) {
String arr []={"?","going","you","are","Where"};
LinkedList list=new LinkedList();
for (String x :arr)
list.addFirst(x);
System.out.println(list);

}

}

B10033018張家忠 提到...

package p1;
import java.util.*;
public class hw1
{
public static void main(String[] args)
{
String a[]={"where","are","you","doing","?"};
LinkedList list=new LinkedList();
for(String x:a)
list.addFirst(x);
System.out.println(list);
}
}

B10033031游筑雅 提到...

package p1;
import java.util.*;
public class hw1
{
public static void main(String[] args)
{
String a[]={"where","are","you","doing","?"};
LinkedList list=new LinkedList();
for(String x:a)
list.addFirst(x);
System.out.println(list);
}
}

B10033049林昌輝 提到...

package p1;
import java.util.*;
public class hw1
{
public static void main(String[] args)
{
String a[]={"where","are","you","doing","?"};
LinkedList list=new LinkedList();
for(String x:a)
list.addFirst(x);
System.out.println(list);
}
}

B10033047 黃鈺翔 提到...

package p1;
import java.util.*;
public class hw1
{


public static void main(String[] args)
{
String pu []={"where","are","you","going","?"};
LinkedList list=new LinkedList();
for(String x:pu)
list.addFirst(x);
System.out.println(list);
}
}

b10033009沈哲文 提到...

package p1;
import java.util.*;
public class hw1
{
public static void main(String[] args)
{
String a[]={"where","are","you","doing","?"};
LinkedList list=new LinkedList();
for(String x:a)
list.addFirst(x);
System.out.println(list);
}
}

Related Posts Plugin for WordPress, Blogger...

熱門文章