class Persoana {
// Instante variabile
String nume;
int varsta;
// Clasele pot contine
// 1. Date
// 2. Metode
void vorbeste() {
for(int i=0; i<3; i++) {
System.out.println("Numele meu este: " + nume + " si eu am " + varsta + " de ani ");
}
}
void spuneBuna() {
System.out.println("Buna!");
}
}
public class App {
public static void main(String[] args) {
// Creaza un obiect al clasei Persoana
Persoana persoana1 = new Persoana();
persoana1.nume = "Valentin Popescu";
persoana1.varsta = 30;
persoana1.vorbeste();
persoana1.spuneBuna();
// Creaza al doilea obiect al clasei Persoana
Persoana persoana2 = new Persoana();
persoana2.nume = "Ana Maria";
persoana2.varsta = 20;
persoana2.vorbeste();
persoana2.spuneBuna();
System.out.println(persoana1.nume);
System.out.println(persoana2.nume);
}
}
Output:
Numele meu este: Valentin Popescu si eu am 30 de ani
Numele meu este: Valentin Popescu si eu am 30 de ani
Numele meu este: Valentin Popescu si eu am 30 de ani
Buna!
Numele meu este: Ana Maria si eu am 20 de ani
Numele meu este: Ana Maria si eu am 20 de ani
Numele meu este: Ana Maria si eu am 20 de ani
Buna!
Valentin Popescu
Ana Maria
pharmacies in mexico that ship to usa: buying prescription drugs in mexico – buying prescription drugs in mexico
Здравствуйте!
Приобрести документ института можно в нашей компании.
greekandgreece.blogspot.com/2013/03/blog-post
best online pharmacies in mexico mexico pharmacies prescription drugs reputable mexican pharmacies online
Sightcare review
Привет!
Диплом любой специальности
nadegda.listbb.ru/viewtopic.php?f=3&t=395
Как оказалось, купить диплом кандидата наук не так уж и сложно
Привет, друзья!
Быстрое обучение и получение диплома магистра – возможно ли это?
mebelnyvkus.ru/kuhnja/kuxonnye-stulya/stul-ccpe-m
Hello my loved one I want to say that this post is amazing great written and include almost all significant infos I would like to look extra posts like this
medication from mexico pharmacy buying prescription drugs in mexico purple pharmacy mexico price list
my canadian pharmacy canadian pharmacy no scripts canadian pharmacy world
https://easyrxindia.com/# online shopping pharmacy india
http://easyrxindia.com/# Online medicine order
reputable mexican pharmacies online buying from online mexican pharmacy mexico drug stores pharmacies
http://easyrxindia.com/# indian pharmacy online
You made some really good points there. I checked
on the net to learn more about the issue and found most individuals will go along with your views on this site.
Привет!
Быстрая покупка диплома старого образца: возможные риски
dimsan.blogspot.com/2009/06/user-profile-hive-cleanup-service?m=1
Рады оказать помощь!.
Normally I do not read article on blogs however I would like to say that this writeup very forced me to try and do so Your writing style has been amazed me Thanks quite great post
Fitspresso reviews
https://easyrxindia.shop/# cheapest online pharmacy india
http://mexstarpharma.com/# mexico drug stores pharmacies
http://easyrxcanada.com/# onlinepharmaciescanada com
buy medicines online in india: indian pharmacy – best india pharmacy
certified canadian international pharmacy buying drugs from canada canadian pharmacy king
Здравствуйте!
Заказать диплом ВУЗа.
horoshava.ru/forum/user/34500
Привет, друзья!
Мы предлагаем дипломы психологов, юристов, экономистов и прочих профессий по приятным тарифам.
containersales.ru/type/2
Привет, друзья!
Приобрести документ института
moto-import.ru/shop/index.php?did=33&le_categoryID=0&page=11&show_all=yes
In another aspect, the active ingredient or drug comprises about 20 of the matrix fill mass priligy reddit Sawada Hideyuki, Ibi Masakazu, Kihara Takeshi, Honda Kazuhiro, Nakamizo Tomoki, Kanki Rie, et al
Здравствуйте!
Мы предлагаем дипломы.
camxiaomifb.blogspot.com/2024/01/blog-post_19
india pharmacy mail order indian pharmacy best online pharmacy india
mexican border pharmacies shipping to usa: medication from mexico pharmacy – best online pharmacies in mexico
https://easyrxcanada.com/# my canadian pharmacy review
https://easyrxindia.shop/# indian pharmacy paypal
Здравствуйте!
Купить диплом любого университета.
telegra.ph/diplom-kosmetologa-kupit-08-13-6
canadian valley pharmacy online canadian pharmacy canadian medications
mexico drug stores pharmacies mexico pharmacies prescription drugs mexican border pharmacies shipping to usa
mexican drugstore online: reputable mexican pharmacies online – buying prescription drugs in mexico online
Пошаговая инструкция по официальной покупке диплома о высшем образовании
нарколог на дом в екатеринбурге https://www.vyvod-iz-zapoya-ekaterinburg11.ru .
My brother suggested I might like this blog He was totally right This post actually made my day You can not imagine simply how much time I had spent for this info Thanks
I was so said I felt so bad like my body was broken I was pretty hard on myself priligy pill ERRОі overexpression in SUM44 and
мастерская apple в москве
https://easyrxindia.com/# Online medicine home delivery
canadian pharmacy 365: pet meds without vet prescription canada – online canadian pharmacy
http://mexstarpharma.com/# mexican online pharmacies prescription drugs
reputable indian online pharmacy online pharmacy india Online medicine order
http://easyrxindia.com/# indian pharmacy
http://mexstarpharma.com/# mexico drug stores pharmacies
canada pharmacy 24h: canadian pharmacy – canadian pharmacy no scripts
Здравствуйте!
Мы предлагаем дипломы любой профессии.
Покупка документа, подтверждающего обучение в ВУЗе, – это выгодное решение.
newsofgames.ru/page/5
Рады оказать помощь!.
вывод из запоя анонимно http://vyvod-iz-zapoya-ekaterinburg11.ru .