See this question - What is overloading in Java?  Is an
appropriate tag for this question?  I can kinda see it given the
last question. Without that it clearly doesn't belong. –  Servy
May 16 at 17:33 It is often added instead of Java because people
don't realize they aren't the same. Here it seems it might be
because the OP wanted to compare the functionality of the two to
be able to understand. But it really doesn't belong. – 
codeMagic May 16 at 17:35 I think that the OP was stating it
more for his background in hopes that any answer would address
that. –  Jay Blanchard May 16 at 17:39 IMO mentioning JavaScript
ruined that question (or maybe it was just the answerer...) - it
unnecessarily localizes the question - how many people start
learning Java after knowing (only?) JavaScript? No idea what to
do at this stage though - to remove mentions of JavaScript from
the question (not sure about just removing the tag), you'll have
to remove large parts of at the accepted answer as well. – 
Dukeling May 16 at 17:3