class Persoana {
// Instante variabile
String nume;
int varsta;
// Clasele pot contine
// 1. Date
// 2. Metode
}
public class App {
public static void main(String[] args) {
// Creaza un obiect al clasei Persoana
Persoana persoana1 = new Persoana();
persoana1.nume = "Mihai Alexandru";
persoana1.varsta = 30;
// Creaza al doilea obiect al clasei Persoana
Persoana persoana2 = new Persoana();
persoana2.nume = "Valentin Popescu";
persoana2.varsta = 20;
System.out.println(persoana1.nume);
System.out.println(persoana2.nume);
}
}
Output: Mihai Alexandru
Output: Valentin Popescu
medication canadian pharmacy
They say words are powerful, and this collection of positive quotes and affirmations just goes to prove it. Reading them has enhanced my spiritual journey and reinvigorated my mindset.
http://canadaph24.pro/# canadadrugpharmacy com
https://indiaph24.store/# indianpharmacy com
which online pharmacy is the best
помощь психологическаЯ https://w-495.ru/