the data type "char" in java
<p>why doesnt any of these work:</p>

<pre><code> char word = "sds";
 char word = 'sds';
 myDog.bark("voff");
 myDog.bark('voff');
</code></pre>

<p>in the object to myDog i have typed:</p>

<pre><code> void bark(char word) {
      System.out.println(word);
 }
</code></pre>
