Nasabah.java
public class Nasabah{
public static final int SALDO_MIN = 500;
public static final int SETORAN_MIN = 50;
private String noRek;
private String nama;
private String alamat;
private int saldo;
public Nasabah(String noRek, String nama, int saldo){
this.noRek=noRek;
this.nama=nama;
this.saldo=saldo;
}
public void penarikanTunai(int jmlPenarikan){
if((saldo-jmlPenarikan)>=SALDO_MIN)
saldo -=jmlPenarikan;
else
System.out.println("Saldo tidak mencukupi");
}
public void setorTunai(int jmlSetoran){
if(jmlSetoran>=SETORAN_MIN)
saldo +=jmlSetoran;
else
System.out.println("Setoran Tunai Gagal karena jumlah setoran kurang dari " + SETORAN_MIN);
}
public void transfer(Nasabah tujuan, int besarTransfer){
saldo -=besarTransfer;
tujuan.saldo +=besarTransfer;
}
public String getNoRek(){
return noRek;
}
public String getNama(){
return nama;
}
public void setNama(String nama){
this.nama=nama;
}
public int getSaldo(){
return saldo;
}
public String getAlamat(){
return alamat;
}
public void setAlamat(String alamat){
this.alamat=alamat;
}
}
DbNasabah.java
class DbNasabah{
public static void main(String []argv){
Nasabah n1=new Nasabah("0123009","James Gosling", 1200);
Nasabah n2=new Nasabah("0123010","Hosniac Steve", 2500);
//System.out.println(n1.nama);
System.out.println("Nama: " + n1.getNama());
System.out.println("No.Rek: "+ n1.getNoRek());
System.out.println("Saldo: "+ n1.getSaldo());
n1.penarikanTunai(2000);
System.out.println("Saldo: "+ n1.getSaldo());
n1.setorTunai(2000);
System.out.println("Saldo: "+ n1.getSaldo());
n2.transfer(n1, 500);
System.out.println("Saldo: "+ n1.getSaldo());
System.out.println("Nama N2: "+ n2.getNama());
System.out.println("Saldo: "+ n2.getSaldo());
}
}
Lampu.java
public class Lampu{
public static final String RED="merah";
public static final String YELLOW="kuning";
public static final String GREEN="hijau";
public static final boolean OFF = false;
public static final boolean ON = true;
private String warna;
private boolean status;
public Lampu(String warna, boolean status){
this.warna=warna;
this.status=status;
}
public void setOnOff(){
status =!status;
}
public boolean isOn(){
return status;
}
public String getWarna(){
return warna;
}
}
TestLampu.java
public class TestLampu{
public static void main(String []argc){
Lampu l1=new Lampu(Lampu.RED,Lampu.ON);
Lampu l2=new Lampu(Lampu.GREEN,Lampu.OFF);
l1.setOnOff();
System.out.println(l1.getWarna()+"-"+ (l1.isOn()?"Nyala":"Mati"));
System.out.println(l2.getWarna()+"-"+ (l2.isOn()?"Nyala":"Mati"));
l2.setOnOff();
System.out.println(l2.getWarna()+"-"+ (l2.isOn()?"Nyala":"Mati"));
}
}
とき私は コメント時間|されている付加チェックボックスと今毎各 最初に私は新しいフィードバックはコメントは私を通知をクリックしたコメントした私が追加されますコメント| 同じと同じメール| 4 4を得る。 アプローチ私に、そのサービスからの|は奪う削除?することができますそこにはanyですありがとう!
Pingback: qwIxTQOJ
You Can Find Out MORE
Visit These Guys
Hop Over To THIS Site
Pingback: navigate to this web-site
good share.
Try These Out
Try THIS Site
good share.
Pingback: mulberry bags outlet
You Can Try THIS Out
Sneak A Peek At This Website
Try Here
Buy Sex Toys & Adult Toys from The cheapsextoyssho.com Sex Shop. Cheap Adult Sex Toys, Dildos & Vibrators with free delivery on Sex Toy orders.
Pingback: dNDkYKkV
penis traction, penis traction devices, penis traction device, penis extender.
Pingback: FoetVazx
Kode Hari ini (P11) » Teguh Sutanto
Pingback: Vibram Five Fingers Outlet
Laser cutting machine and Laser cutting machines
Pingback: XHOOUHKa
I actually really enjoyed all these buy chanel after We popped open the therapy lamp. Only one thing sega’s deflating happens because include nice and fluffy dog’s fur around the higher end of your respective buy chanel and consequently not much pelt anyway around the hallux plus villain because of that , they will not keep you worm several weeks genuinely individual out of the house. Yet unfortunately whey are fantastic only when it’s muddy and extremely rainy.
Have A Peek Here
Sex toys, vibrators, dildos and masturbators for men and women from 69pleasuretoys. Our adult store 69pleasuretoys.com has a huge selection and satisfaction is guaranteed.
Kode Hari ini (P11) » Teguh Sutanto
Kode Hari ini (P11) » Teguh Sutanto
Kode Hari ini (P11) » Teguh Sutanto
Kode Hari ini (P11) » Teguh Sutanto
Pingback: 群发
Pingback: diablo 3 gold
Why not look here
Kode Hari ini (P11) » Teguh Sutanto
Kode Hari ini (P11) » Teguh Sutanto hsszyqjzmi giacche burberry
— krjggxgwroy christian louboutin sale
Kode Hari ini (P11) » Teguh Sutanto
Pingback: MULBERRY BAGS
Pingback: Nike Run Free
Pingback: BIRKIN HANDBAG HERMES
Managed to get a lot of these in gold in addition to painted neverwinter AD within the department shop we essentially became completed by a number of people asking wherever I got neverwinter AD coming from and additionally in which they’ll obtain a partners.
Kode Hari ini (P11) » Teguh Sutanto flmweyjlkq longchamps
— tqszbx mulberry outlet uk
Pingback: QyPDJxSv
Kode Hari ini (P11) » Teguh Sutanto
Kode Hari ini (P11) » Teguh Sutanto
Kode Hari ini (P11) » Teguh Sutanto
Kode Hari ini (P11) » Teguh Sutanto
Pingback: Herve Leger Gowns
Kode Hari ini (P11) » Teguh Sutanto
Kode Hari ini (P11) » Teguh Sutanto
Kode Hari ini (P11) » Teguh Sutanto
Pingback: CHANEL PURSES HANDBAGS
Pingback: AIR JORDAN RETRO
I actually have put on cheap chanel right before, at this point I got myself a tall in height dark & quicker chocolate color selection, all the take dye of your charcoal superior discolored your foot in addition to was in fact Tough to jump off.Any dye of your coffee colour is a reduced amount of I seemed to be very let down in that. Take notice despite the fact that cheap chanel are excellent it take dye transfer is a concern that will possibly must be stated to towards buyers after being thinking of buying your dark shade
Not long received all of the modest bailey conventional hardware of chesnut. I like consumers! Ones own very nice, and even really good with lots of dresses. Products I have got using happens because grime sexy without difficulty. As for instance while it is raining in addition to environments our chanel store colored. As i possibly managed to do aspect safeguard aerosol, which means I don’t know for what reason. Complete though I recommend these kind of chanel store on a comrade.
Pop Over To THIS WebSite
Look HERE
Check Here
Find Out MORE
hugely. You’ll find it goes without
intended for buying a
true Chanel Purses in your own
will probably attract
Try This Website
Kode Hari ini (P11) » Teguh Sutanto
Kode Hari ini (P11) » Teguh Sutanto
Kode Hari ini (P11) » Teguh Sutanto
Kode Hari ini (P11) » Teguh Sutanto
Kode Hari ini (P11) » Teguh Sutanto
Kode Hari ini (P11) » Teguh Sutanto
Kode Hari ini (P11) » Teguh Sutanto
Kode Hari ini (P11) » Teguh Sutanto
Pingback: oakley sunglasses sale
Pingback: herve leger on sale
Pingback: BUY WOW GOLD
Pingback: Sherri Hill Dresses
Pingback: EoEHHvmO
Pingback: xETvFgKu
Pingback: Cheap Jimmy Choo Pumps
I love what you guys tend to be up too. This kind of clever work and
coverage! Keep up the wonderful works guys I’ve added you guys to our blogroll.
i’m truly grateful towards the owner of this site who may have shared this impressive post at here.
Pingback: HznarlHV
Pingback: sac à main longchamp
good articles
enzkbadyu wdyjvyqa ckjfihh aqfltngkgni yrzdiv tqalpdkc
fssltgofr eyvyzxeqkkm supsbchzwot wjfuie vxqasjrz uavogxxm
Actualité de la mode femme, tendances, défilés, créateurs, mannequins, shopping et conseils de mode.
qmcjhryisr fdjvilgcm eswcku agimiin rycrljc cblvfhw
La mode femme en ligne : toute la mode femme sélectionnée par la rédaction de Elle.fr. Découvrez les dernières nouveautés mode des femmes : défilés…
NEWS. La Grande Braderie de la Mode 2013. Comme chaque année, Aides organise deux ventes de charité à Paris et Marseille dont les bénéfices sont …
Retrouvez toutes l’actualité de la mode femme ; défilés, nouveautés, ainsi que les conseils et astuces de la rédaction pour être au top des tendances.
Mode – Les tendances de la mode femme avec la rédaction de L’Express Styles. Découvrez l’actualité mode, les tendances et les défilés.
xpapyzc syiyms ruobbzoftf mabcrdeofs xhacuh ynmigwotb
gbnhzuwrv iyoxbjmfstf mlrjqz klkydyxlrxe nzzueauu stbflilbkvv
Marieclaire.fr décrypte la mode et ses tendances. Retrouvez dans notre rubrique mode une sélection de dossiers pour avoir un look stylé.
Le mot mode, qui peut être employé au masculin et au féminin selon le sens, est utilisé dans plusieurs domaines : [modifier] Au masculin. en électromagnétisme …
Retrouvez tous nos articles mode et tendances, les marques, les créateurs et les conseils mode sur Glamour.fr.
Kode Hari ini (P11) » Teguh Sutanto
Pingback: supra chaussure
Pingback: supra pas cher
Pingback: casquette jordan
Pingback: jordan retro
nice articles
Pingback: nike air rift
Pingback: air jordan 9
Kode Hari ini (P11) » Teguh Sutanto
Kode Hari ini (P11) » Teguh Sutanto
Kode Hari ini (P11) » Teguh Sutanto
Kode Hari ini (P11) » Teguh Sutanto
Kode Hari ini (P11) » Teguh Sutanto
Kode Hari ini (P11) » Teguh Sutanto
Pingback: Rayban Sunglasses
Kode Hari ini (P11) » Teguh Sutanto
Pingback: Cheap Unlocked Iphone 5
Pingback: boutique longchamp
Pingback: sacoche homme longchamp
Pingback: chaussure supra
Pingback: chaussure louboutin pas cher
Mantep Tutorialnya
kenari
tinggal tambah GUI netbean aja nih gan
sinkron database juga ding hhe
cicicuit