What does getters & setters method do in Java, how are they different from normal methods, and why is the getMethod sometime missing?
<p>I am new to Java.</p>

<ol>
<li><p>Can any one explain <strong>what the getters and setters method do?</strong></p></li>
<li><p>where we must use getters setters method and <strong>how it differ from the normal method?</strong></p></li>
<li><p>And i saw some coding having only setter method so here <strong>why getters method not declared?</strong></p>

<pre><code>private String wheel;

/**
 * @param wheel the wheel to set
 */
public void setWheel(String wheel) {
    this.wheel = wheel;
}
public void rotate() {
    System.out.println(wheel+"rotated");
}
</code></pre></li>
</ol>
