class Caine {
private int id;
private String nume;
public Caine(int id, String nume) {
this.id = id;
this.nume = nume;
}
public String toString() {
return String.format("%-4d: %s", id, nume);
/*
StringBuilder sb = new StringBuilder();
sb.append(id).append(": ").append(name);
return sb.toString();
*/
}
}
public class App {
public static void main(String[] args) {
Caine caine1 = new Caine(1, "Laika");
Caine caine2 = new Caine(2, "Puffy");
System.out.println(caine1);
System.out.println(caine2);
}
}
Output is:
1 : Laika
2 : Puffy
india online pharmacy: cheapest online pharmacy india – Online medicine home delivery
rx pharmacy no prescription: online pharmacy – online pharmacy discount code
online shopping pharmacy india Online medicine home delivery Online medicine order
prescription drugs online pharm world store offshore pharmacy no prescription
legitimate online pharmacies india: indian pharmacy online – world pharmacy india
http://pharmindia.online/# buy prescription drugs from india
you are in reality a good webmaster The website loading velocity is amazing It sort of feels that youre doing any distinctive trick Also The contents are masterwork you have done a fantastic job in this topic
[토토사이트] 카지노커뮤니티 이용으로 먹튀검증 및 토토사이트 먹튀를 예방하세요.
best india pharmacy: buy medicines online in india – online pharmacy india
online pharmacy india: mail order pharmacy india – buy medicines online in india
no prescription online pharmacies no prescription pharmacy online canada pharmacy no prescription
the canadian pharmacy canadianpharmacy com canadian pharmacy prices
canadian mail order pharmacy: canadapharmacyonline – ed meds online canada
pharmacy com canada: canadian pharmacy review – safe canadian pharmacies
https://pharmcanada.shop/# canadian medications
cheap drugs no prescription: buy drugs without prescription – can you buy prescription drugs in canada
cheapest pharmacy for prescription drugs canadian pharmacy no prescription canadian prescription pharmacy
reputable indian pharmacies: top 10 online pharmacy in india – top 10 online pharmacy in india
non prescription medicine pharmacy cheapest pharmacy uk pharmacy no prescription
http://pharmmexico.online/# buying prescription drugs in mexico
online prescription canada: best online pharmacy that does not require a prescription in india – online drugs without prescription
http://pharmmexico.online/# buying prescription drugs in mexico online