Πέμπτη, Ιανουαρίου 21, 2010

java

//class book
public class Book{
protected String color;
protected int year;
Book(){color="";year=0;}
Book(String color, int year){
this.color=color;
this.year=year;
}
//seter
void setColor(String color){this.color=color;}
void setYear(int Year){this.Year=year;}
//geter
string getColor(){
return color;}
string getYear(){
return year;}
//function
public int numOfA(){
int count=0;
for(int i=0;iif(keimeno.charAt(i)=='a')
count ++;
}}
// klasi pou klironomi tin book
class EBook extends Book{
private String URL;

EBook(){super();URL="";}
EBook(string color,int year,string URL){
super(color year);
this.URL;
}//class ebook

public static void bublesort(Ebook onoma adikimenou[]){
for(int i=1;i for(int j=ebooks.length-1;j>=i;j--){
if (ebooks[j].getpages() EBook temp = new Ebook();
temp=ebooks[j];
ebooks[j]=ebooks[j-1];
ebooks[j-1]=temp;
}}}

public static void main(String[] args){
EBook[] ebooks = new EBook[5];//pinakas 5 vivliwn
for(int i=0;i ebooks[i]=new Ebook(/*"red",2000,"http"*/);}//epidi einai pinakas

ebooks[0].setPages (100);ebooks[1].setpages(210);//an valw adia orismata ta gemizw
for(int i=0;i<5;i++){
system.out.println();
system.out.println(ebooks[i].getPages());}




14 σχόλια:

Ανώνυμος είπε...

[url=http://www.onlinecasinos.gd]online casino[/url], also known as disposed casinos or Internet casinos, are online versions of execution ("chunk and mortar") casinos. Online casinos approve gamblers to put together and wager on casino games with the grant-money the Internet.
Online casinos superficially speculation on the customer base odds and payback percentages that are comparable to land-based casinos. Some online casinos contend higher payback percentages in the work of m‚echelon gismo games, and some kind in the open payout division audits on their websites. Assuming that the online casino is using an correctly programmed indefinitely measure a iterate up generator, catalogue games like blackjack be paid an established oblique edge. The payout ditty as a replacement representing these games are established via the rules of the game.
Uncountable online casinos sublease into the open or mastery their software from companies like Microgaming, Realtime Gaming, Playtech, Global Deviation Technology and CryptoLogic Inc.

Ανώνυμος είπε...

[url=http://loveepicentre.com/taketour.php][img]http://loveepicentre.com/uploades/photos/5.jpg[/img][/url]
what to say in dating profile [url=http://loveepicentre.com/articles.php]speed dating brunswick ohio[/url] dating for marriage penpals in india
sexy female free dating [url=http://loveepicentre.com/articles.php]flirt dating sites[/url] free euro dating sites
online dating sites in sweden [url=http://loveepicentre.com/]busty aingles dating[/url] dating sim's

Ανώνυμος είπε...

fairbanks dating http://loveepicentre.com/taketour.php speed dating la

Ανώνυμος είπε...

suze orman women money ebook download http://audiobookscollection.co.uk/es/Agriculture-in-Nicaragua-Promoting-Competitiveness-and-Stimulating-Broad-Based-Growth/p220507/ contact harvest ebook free download [url=http://audiobookscollection.co.uk/de/Software-Defined-Radio-Origins-Drivers-and-International-Perspectives/p212002/]datastor ebook[/url] glen campbell autobiography ebook

Ανώνυμος είπε...

the naked communist free ebook http://audiobookscollection.co.uk/de/The-Supply-Chain-Imperative-How-to-Ensure-Ethical-Behavior-in-Your-Global-Suppliers/p109292/ game coding complete third edition ebook [url=http://audiobookscollection.co.uk/Carl-Dierschow/m17197/]ebook pdf t rk e[/url] business letters ebook

Ανώνυμος είπε...

c# unleashed joe mayo ebook http://audiobooksworld.co.uk/it/Jean-Baudrillard/m59105/ ebook free thomas paine common sense [url=http://audiobooksworld.co.uk/Handbook-of-Venous-Disorders-Guidelines-of-the-American-Venous-Forum/p182554/]ice cream ebook robert marshall[/url] ebook megaupload
[url=http://audiobooksworld.co.uk/Michael-Wachtel/m88695/][img]http://audiobooksworld.co.uk/image/3.gif[/img][/url]

Ανώνυμος είπε...

bootable disk software osx http://buyoem.co.uk/category-100-102/Business?page=5 smartboard software download [url=http://buyoem.co.uk/product-37158/Ultralingua-6-0-German-English]silverfast software[/url] western digital usb recovery software
[url=http://buyoem.co.uk/product-37243/PhotoLine32-13-5]PhotoLine32 13.5 - Software Store[/url] symlink software for mac
[url=http://buyoem.co.uk/product-37012/PhotoAcute-Studio-Wine][img]http://buyoem.co.uk/image/5.gif[/img][/url]

Ανώνυμος είπε...

[url=http://onlinemedistore.com/catalogue/n.htm][img]http://onlinemedistore.com/5.jpg[/img][/url]
testerone without a prescription european pharmacy http://onlinemedistore.com/products/doxazosin.htm starlite pharmacy [url=http://onlinemedistore.com/products/sumycin.htm]cvs pharmacy job application6345696422578018410[/url]
washington state pharmacy card http://onlinemedistore.com/products/lamictal.htm pharmacy health care site [url=http://onlinemedistore.com/products/chloramphenicol.htm]chloramphenicol[/url]
kinneys pharmacy store http://onlinemedistore.com/products/levitra.htm specialty pharmacy houston san antonio austin char [url=http://onlinemedistore.com/products/dulcolax.htm]pre pharmacy schools sc[/url]
canada discount online pharmacy http://onlinemedistore.com/products/trimox.htm av pharmacy [url=http://onlinemedistore.com/products/prilosec.htm]prilosec[/url]

Ανώνυμος είπε...

[url=http://certifiedpharmacy.co.uk/products/viagra-professional.htm][img]http://onlinemedistore.com/9.jpg[/img][/url]
natural pharmacy vitamox http://certifiedpharmacy.co.uk/products/metoclopramide.htm college of charleston wv pharmacy school [url=http://certifiedpharmacy.co.uk/products/kamasutra-ribbed-condoms.htm]pharmacy racks[/url]
universities offering pharmacy degrees http://certifiedpharmacy.co.uk/products/erythromycin.htm application of interfacial phenomenon in pharmacy [url=http://certifiedpharmacy.co.uk/products/albendazole.htm]albendazole[/url]
pharmacy student rotation madrid http://certifiedpharmacy.co.uk/products/lexapro.htm pharmacy professional web sites [url=http://certifiedpharmacy.co.uk/products/diabecon.htm]care center pharmacy[/url]
cvs pharmacy burke virginia http://certifiedpharmacy.co.uk/products/arava.htm manufacturing pharmacy application system [url=http://certifiedpharmacy.co.uk/products/xtz--energy-booster-.htm]xtz energy booster [/url]

Ανώνυμος είπε...

[url=http://certifiedpharmacy.co.uk/products/cefadroxil.htm][img]http://onlinemedistore.com/1.jpg[/img][/url]
pharmacy jobs in iowa http://certifiedpharmacy.co.uk/products/tenormin.htm canadanian pharmacy phone number [url=http://certifiedpharmacy.co.uk/products/eurax.htm]cash prize navy junior pharmacy tech of the year[/url]
pharmacy technician jobs maryland http://certifiedpharmacy.co.uk/products/diclofenac.htm indiana pharmacy technician [url=http://certifiedpharmacy.co.uk/products/astelin.htm]astelin[/url]
international mexico pharmacy http://certifiedpharmacy.co.uk/products/accupril.htm why is team working important in your pharmacy [url=http://certifiedpharmacy.co.uk/products/betnovate.htm]powerpak pharmacy continuing ed[/url]
appalachian school of pharmacy http://certifiedpharmacy.co.uk/products/premarin.htm pharmacy junior colleges [url=http://certifiedpharmacy.co.uk/products/mevacor.htm]mevacor[/url]

Ανώνυμος είπε...

[url=http://certifiedpharmacy.co.uk/catalogue/r.htm][img]http://onlinemedistore.com/2.jpg[/img][/url]
first word pharmacy http://certifiedpharmacy.co.uk/products/trental.htm pharmacy drugs and medications r ranitidine [url=http://certifiedpharmacy.co.uk/products/myambutol.htm]pharmacy technician license test[/url]
carstairs family pharmacy http://certifiedpharmacy.co.uk/products/sumycin.htm a m pharmacy el paso [url=http://certifiedpharmacy.co.uk/products/cardizem.htm]cardizem[/url]
i want to buy topamax from non prescription pharmacy http://certifiedpharmacy.co.uk/products/indocin.htm costo wholesale pharmacy [url=http://certifiedpharmacy.co.uk/products/minocycline.htm]erics pharmacy[/url]
pharmacy chat rooms http://certifiedpharmacy.co.uk/products/paroxetine.htm book review the food pharmacy jean carper [url=http://certifiedpharmacy.co.uk/categories/pain-relief.htm]pain relief[/url]

Ανώνυμος είπε...

I do not know whether it's just me or if everybody else experiencing issues with your site. It seems like some of the written text in your content are running off the screen. Can somebody else please provide feedback and let me know if this is happening to them too? This may be a problem with my internet browser because I've had this happen before.

Cheers

Check out my site; eToro OpenBook

Ανώνυμος είπε...

Excellent blog here! Also your site loads up very fast!
What web host are you using? Can I get your affiliate link to your host?
I wish my site loaded up as fast as yours
lol

Here is my webpage - InstaForex

Ανώνυμος είπε...

"Heart of Stone," Iko: The talk scene between Bella and Edward.

9-Keep an eye on the budget-especially until the campaign takes off and becomes profitable.
Immer noch viel wird ihm Generalisierung, die gemacht werden
kann und Autodarlehen betrifft, gesichert Zinss.

Also visit my webpage - please click the up coming article