Java overloading possible return type
<p>We have a method <code>getMessage()</code>, which we wish to overload. What can be the possible valid return type of the overloaded method?</p>

<pre><code>public void kidsCode(String mssg){..}
</code></pre>

<p>Which of the following methods can be added to the definition of class <strong><code>Kid</code></strong> without giving rise to any compilation error?             </p>

<pre><code>void
int
String
</code></pre>

<p>Any return type</p>