Groups
Groups
Sign in
Groups
Groups
javacoder_ss11
Conversations
About
Send feedback
Help
5. odev
2 views
Skip to first unread message
Murat Kozan
unread,
May 17, 2011, 12:04:07 PM
5/17/11
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to javacod...@googlegroups.com
5. ödev in gönderilmesine bir gün kaldi, hala yapamadik,
sonuc hep yanlis cikiyor, angabeyi ve yaptigimiz cözümü yolluyorum,
bizahmet bakarsaniz seviniriz, yoksa cok az puan alacaz.
Tesekkürler
Murat, Yasin
runde5hatali.rar
Tuncay isler
unread,
May 18, 2011, 6:41:25 AM
5/18/11
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to javacod...@googlegroups.com
Arkadaslar bu benim gecen sene yapmis oldugum 5. Runde,
Umarim yardimci olur...
From:
kozan...@hotmail.com
To:
javacod...@googlegroups.com
Subject: 5. odev
Date: Tue, 17 May 2011 16:04:07 +0000
Runde5.jar
Tuncay isler
unread,
May 18, 2011, 7:18:08 AM
5/18/11
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to javacod...@googlegroups.com
Merhaba Arkadaslar, bu aralar Okul nedeniyle sizlere Ödev gdremedik, ama sizlere yapmis oldugumuz iki tane Aufgabeyi gönderiyorum.
Bunlari cözmeniz sizler icin iyi olacak, hem de sinava hazirlik olur..
Sorunuz olursa hemen yazin, zamanimiz oldugu sürece cevap veririz..
Kolay gelsin,
Lg. Tuncay
Aufgabe_Nachhilfe.pdf
Murat Kozan
unread,
May 18, 2011, 2:18:54 PM
5/18/11
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to javacod...@googlegroups.com
biraz ugrastim senin verdiginde HasMap i kullanacazmi? yoksa sadece ArrayListledemi yapacaz?
Bir Klasse yaptim ismi Zahl icinde get set oluyor,
Birde IntList i yaptim, sanirim olmadi :-)
class Zahl{
private int zahl;
public Zahl(int zahl){
this.zahl=zahl;
}
//kopier konstruktor
public Zahl(Zahl zahl){
this.zahl = zahl.zahl;
}
public int getZahl(){
return zahl;
}
public void setZahl(int zahl){
this.zahl=zahl;
}
public String toString(){
return "zahl ist "+zahl;
}
}
__________________________________________________________________________--
import java.utilArrayList;
class IntList{
private int listNr;
private ArrayList<Zahl> zl;
//konstruktor
public intList(int zahl){
this.zahl=zahl;
zl = new ArrayList<Zahl>();
}
public boolean add(Zahl z){
for(int i =0; i<zl.size(); i++){
if(zl.get(i)==z){
return false;
break;
}
}
zl.add(i);
return true;
}
public int get(int index){
return zl.get(index);
}
public boolean remove(int index){
if(!zl.get(index)){
return false;
}
zl.remove(index);
return true;
}
public int size(){
return zl.size();
}
}
Reply all
Reply to author
Forward
0 new messages