Greetings,
Im studying java at school and they told us in labaratory to learn from their documentation and to solve some problems. :(think):
Well, this is what im doing!!!
The problem says to make every field of class private and to encapsulate the fields using getters methods accesable for all classes.
I made for every field
public String getField1() {
return Field1;
}
But it says me the constructor is undefined.
Well, what i want to ask you is : Do i have to use also setters method??? When they said : Getters methods they meant getters and setters or there is a way of not using setters???

