Do java and javascript mean same?

Do java and javascript mean same?

No, javascript has nothing to do with java and vice-versa.

Java is a general-purpose programming language that is compiled into bytecode that can run on implementations of the Java Virtual Machine (JVM). It needs to be compiled before execution.

whereas

JavaScript is a scripting language that is used for creating web pages. It is a standalone language developed in Netscape. It is used when a webpage is to be made dynamic and it doesn’t need to compile as it’s a scripting language.