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
http://casinvietnam.shop/# casino tr?c tuy?n
casino tr?c tuy?n vi?t nam casino tr?c tuy?n casino tr?c tuy?n vi?t nam
Здравствуйте!
купить аттестат
Желаю любому отличных оценок!
http://ftp.video-foto.by/forum/viewtopic.php?f=81&t=27595&view=print
купить аттестат
купить диплом ссср
купить диплом о среднем образовании
I used to be able to find good information from your blog posts.
choi casino tr?c tuy?n trên di?n tho?i: casino tr?c tuy?n vi?t nam – game c? b?c online uy tín
zetia generic 2016
casino tr?c tuy?n uy tin choi casino tr?c tuy?n tren di?n tho?i casino tr?c tuy?n vi?t nam
https://casinvietnam.shop/# casino tr?c tuy?n
https://casinvietnam.shop/# casino tr?c tuy?n uy tin
Здравствуйте!
купить диплом нового образца
Желаю всем прекрасных оценок!
http://www.rusbil.ru/forum/viewtopic.php?t=5997&view=previous
купить диплом цена
купить диплом специалиста
купить диплом о высшем образовании
game c? b?c online uy tín: choi casino tr?c tuy?n trên di?n tho?i – casino tr?c tuy?n vi?t nam
Доставка алкоголя
Hey there! I’m at work surfing around your blog from my new iphone! Just wanted to say I love reading your blog and look forward to all your posts! Carry on the excellent work!
#be#jk3#jk#jk#JK##
Купить виртуальный номер Вьетнама
web c? b?c online uy tin game c? b?c online uy tin casino tr?c tuy?n vi?t nam
Доброго всем дня!
купить диплом магистра
Желаю каждому положительных оценок!
http://ftp.video-foto.by/forum/viewtopic.php?f=82&t=27596&p=196672
где купить диплом
купить диплом магистра
купить аттестат школы
PBN sites
We’ll establish a network of private blog network sites!
Benefits of our privately-owned blog network:
We perform everything SO THAT google does not grasp that this A self-owned blog network!!!
1- We obtain domains from separate registrars
2- The principal site is hosted on a VPS hosting (Virtual Private Server is fast hosting)
3- The remaining sites are on various hostings
4- We allocate a separate Google account to each site with verification in Google Search Console.
5- We create websites on WordPress, we don’t utilise plugins with assistance from which Trojans penetrate and through which pages on your websites are established.
6- We don’t duplicate templates and use only distinct text and pictures
We don’t work with website design; the client, if wanted, can then edit the websites to suit his wishes
https://casinvietnam.shop/# choi casino tr?c tuy?n tren di?n tho?i
does zyprexa help you sleep