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
Thank you I have just been searching for information approximately this topic for a while and yours is the best I have found out so far However what in regards to the bottom line Are you certain concerning the supply
YRP Milletvekili Ali Yüksel, şikayeti üzerine ifade veren YP Genel Başkanı Öztürk Yılmaz’ı isyan etti.
prices for 1000 metformin
which online pharmacy is reliable