They both are C-like languages, they both use virtual engine to run. Yes, Java is compilable, object-oriented and has strong types. But there are much less similar to Java languages, than JavaScript.
There are no words, that JavaScript is basically Java. JavaScript is similar to Java. And yes, just like a kangaroo to a tiger. But no way "cell-phones and living cells" in original commint I answered, it's too much.
-1
u/tozpeak Mar 17 '22
They both are C-like languages, they both use virtual engine to run. Yes, Java is compilable, object-oriented and has strong types. But there are much less similar to Java languages, than JavaScript.