class Broasca {
private String nume;
private int varsta;
public void setNume(String nume) {
this.nume = nume;
}
public void setVarsta(int varsta) {
this.varsta = varsta;
}
public String getNume() {
return nume;
}
public int getVarsta() {
return varsta;
}
public void setInfo(String nume, int varsta) {
setNume(nume);
setVarsta(varsta);
}
}
public class App {
public static void main(String[] args) {
Broasca broasca1 = new Broasca();
//broasca1.nume = "Ninja";
//broasca1.varsta = 1;
broasca1.setNume("Ninja");
broasca1.setVarsta(1);
System.out.println(broasca1.getNume());
System.out.println(broasca1.getVarsta());
}
}
Output: Ninja
1
Very good blog you have here but I was wanting to know if you knew of any user discussion forums that cover the
same topics discussed here? I’d really love to be a part of online community where I can get opinions from other
experienced people that share the same interest.
If you have any recommendations, please let me know.
Bless you!
When I originally commented I seem to have clicked the -Notify me when new comments are added- checkbox and now each time a comment is added I get four emails with the same comment. Perhaps there is a means you can remove me from that service? Thanks a lot!
My partner and I stumbled over here different page and thought I might check things out.
I like what I see so now i am following you.
Look forward to going over your web page yet again.
Thanks for finally writing about > %blog_title% < Liked it!
Hi, I think your website might be having browser compatibility issues. When I look at your blog site in Firefox, it looks fine but when opening in Internet Explorer, it has some overlapping. I just wanted to give you a quick heads up! Other then that, fantastic blog!
Great blog right here! Additionally your website loads up very fast!
What host are you using? Can I get your affiliate hyperlink on your
host? I want my site loaded up as fast as yours lol
Good way of explaining, and nice post to take information concerning my
presentation subject matter, which i am going to deliver in school.
It’s great that you are getting ideas from this post as well as from our discussion made at this place.
http://interpharm.pro/# www online pharmacy
how to get a prescription in canada – internationalpharmacy.icu Always leaving this place satisfied.
http://farmaciaonline.men/# comprare farmaci online con ricetta
online-apotheken internet apotheke online-apotheken
farmacia online migliore farmacia online migliore acquistare farmaci senza ricetta
hi!,I love your writing so so much! percentage we keep in touch more approximately your post on AOL? I need an expert in this space to solve my problem. May be that is you! Taking a look forward to peer you.
http://farmaciabarata.pro/# farmacias baratas online envГo gratis
I’ve read some good stuff here. Definitely value bookmarking for revisiting. I wonder how much attempt you set to create this type of magnificent informative site.
I was recommended this blog by my cousin. I’m not sure whether this post
is written by him as nobody else know such detailed about my problem.
You are incredible! Thanks!