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
Please let me know if you’re looking for a article writer for your weblog. You have some really great posts and I think I would be a good asset. If you ever want to take some of the load off, I’d absolutely love to write some material for your blog in exchange for a link back to mine. Please blast me an e-mail if interested. Kudos!
purple pharmacy mexico price list: mexico drug stores pharmacies – medication from mexico pharmacy
Hi there, I enjoy reading all of your post. I like to write a little comment to support you.
Oh my goodness! Amazing article dude! Thanks, However I am encountering problems with your RSS. I don’t know why I can’t subscribe to it. Is there anyone else getting identical RSS problems? Anybody who knows the solution will you kindly respond? Thanx!!
Normally I do not read article on blogs, however I wish to say that this write-up very pressured me to try and do so! Your writing taste has been amazed me. Thank you, quite great article.
This is very fascinating, You are an excessively professional blogger. I have joined your feed and look ahead to in search of more of your great post. Also, I have shared your site in my social networks
I got this website from my pal who informed me concerning this website and now this time I am visiting this site and reading very informative articles at this place.
I all the time emailed this blog post page to all my associates, as if like to read it next my links will too.
What a information of un-ambiguity and preserveness of precious familiarity regarding unexpected feelings.
Simply wish to say your article is as surprising. The clearness in your post is simply cool and i can assume you are an expert on this subject. Well with your permission allow me to grab your RSS feed to keep up to date with forthcoming post. Thanks a million and please continue the rewarding work.
Производимые отечественным производителем тренажеры для кинезитерапии https://trenazhery-dlya-kineziterapii.ru и специально предназначены для восстановления после травм. Конструкции имеют интересное соотношение стоимости и качества.
Выбираем очень доступно блочную раму с облегченной конструкцией. В каталоге для кинезитерапии всегда в реализации варианты грузоблочного и нагружаемого типа.
Выпускаемые тренажеры для реабилитации гарантируют комфортную и безопасную тренировку, что особенно важно для тренирующихся пациентов в процессе восстановления.
Станки обладают подстраиваемым сопротивлением и уровнями нагрузки, что позволяет индивидуализировать силовые тренировки в соответствии с задачами каждого больного.
Все модели актуальны для кинезитерапии по рекомендациям профессора Бубновского. Оборудованы рукоятками для комфортного осуществления тяговых движений сидя или лежа.
Pretty section of content. I simply stumbled upon your web site and in accession capital to claim that I acquire in fact enjoyed account your blog posts. Any way I’ll be subscribing for your augment or even I fulfillment you access persistently fast.
Thank you for the auspicious writeup. It in fact was a amusement account it. Look advanced to far added agreeable from you! By the way, how can we communicate?
I’m now not positive where you are getting your info, however good topic. I needs to spend a while learning more or working out more. Thank you for fantastic information I used to be in search of this information for my mission.
Hello there! This post couldn’t be written any better! Reading this post reminds me of my good old room mate! He always kept talking about this. I will forward this article to him. Pretty sure he will have a good read. Thanks for sharing!
I couldn’t resist commenting. Very well written!
I read this article fully concerning the resemblance of latest and previous technologies, it’s remarkable article.
My brother suggested I would possibly like this website. He was totally right. This submit actually made my day. You cann’t consider just how much time I had spent for this information! Thank you!
Hi, Neat post. There is a problem together with your web site in internet explorer, might check this? IE still is the marketplace leader and a large section of folks will miss your great writing due to this problem.
This web site definitely has all of the info I wanted about this subject and didn’t know who to ask.
Бросить курить, избавиться от алкогольной или наркотической зависимости — это реально! Обратитесь в наш современный центр наркологии в Барнауле, где опытные специалисты помогут вам вернуться к здоровой и счастливой жизни.
Наша клиника наркологии предлагает индивидуальный подход к каждому пациенту. Получайте эффективное лечение прямо у себя дома с помощью капельницы на дому в Барнауле от наших опытных специалистов.
Hey very interesting blog!
Write more, thats all I have to say. Literally, it seems as though you relied on the video to make your point. You definitely know what youre talking about, why waste your intelligence on just posting videos to your blog when you could be giving us something enlightening to read?
Inspiring quest there. What occurred after? Good luck!
I love what you guys are usually up too. Such clever work and coverage! Keep up the excellent works guys I’ve you guys to our blogroll.
india pharmacy mail order: Healthcare and medicines from India – indian pharmacies safe
Greetings! Very helpful advice within this article! It is the little changes that produce the greatest changes. Thanks for sharing!
If you want to increase your knowledge only keep visiting this web site and be updated with the newest information posted here.
Article writing is also a fun, if you be acquainted with after that you can write otherwise it is difficult to write.
https://mhpereezd.ru
With havin so much content and articles do you ever run into any problems of plagorism or copyright violation? My website has a lot of exclusive content I’ve either created myself or outsourced but it looks like a lot of it is popping it up all over the web without my authorization. Do you know any techniques to help reduce content from being ripped off? I’d certainly appreciate it.
If you desire to get a great deal from this post then you have to apply such techniques to your won blog.
Hi, i think that i saw you visited my website so i got here to go back the prefer?.I am trying to find things to improve my website!I guess its ok to use some of your ideas!!
Hi friends, how is everything, and what you desire to say about this article, in my view its truly awesome designed for me.
Its like you read my mind! You seem to know so much approximately this, like you wrote the e-book in it or something. I feel that you could do with some % to force the message house a bit, however other than that, this is wonderful blog. A great read. I’ll definitely be back.
Hi there! I could have sworn I’ve been to this website before but after going through a few of the posts I realized it’s new to me. Anyways, I’m definitely happy I came across it and I’ll be bookmarking it and checking back frequently!
Ahaa, its nice discussion concerning this piece of writing here at this website, I have read all that, so now me also commenting here.
Normally I do not read article on blogs, however I wish to say that this write-up very forced me to try and do so! Your writing taste has been amazed me. Thank you, quite great article.
Услуги грузчиков https://mhpereezd.ru с гарантией!
Посудомоечные машины – популярны, экономят время, воду, деньги. Разные по размеру, цене, функциям. Вместительные, тихие, энергосберегающие. Выбор зависит от нужд. Срок службы – 10 лет. Важно знать функции и цену. Рекомендуются Smeg посудомоечные машины Smeg
Hi to all, it’s really a nice for me to go to see this website, it consists of priceless Information.
You really make it seem so easy with your presentation however I find this topic to be really something which I think I might never understand. It kind of feels too complicated and very vast for me. I am looking forward in your next publish, I will try to get the hold of it!
india online pharmacy Cheapest online pharmacy online shopping pharmacy india
This piece of writing is truly a good one it helps new net users, who are wishing for blogging.
You can definitely see your enthusiasm in the article you write. The world hopes for more passionate writers like you who aren’t afraid to mention how they believe. Always go after your heart.
Hi, i think that i saw you visited my website so i came to return the favor.I am trying to find things to improve my site!I suppose its ok to use some of your ideas!!
п»їlegitimate online pharmacies india: indian pharmacy delivery – india pharmacy mail order
Heya just wanted to give you a quick heads up and let you know a few of the images aren’t loading correctly. I’m not sure why but I think its a linking issue. I’ve tried it in two different browsers and both show the same results.
Useful info. Fortunate me I found your web site accidentally, and I am surprised why this coincidence did not happened in advance! I bookmarked it.