Writing a simple class with accessors and mutators?

Your syntax is just a bit off. In Java, constructors are declared as methods of a class almost like any other methods. Try.

First of all, your constructor should end after you initialize your variables. Then you have your method implementations after that, within the class brackets. You should also make your variable declarations private.

Only the methods will be public or available externally.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions