Is these are two different terms Java and Javascript or same??? If yes then what is the difference between two? please explain briefly!
And you didn't try google? First 3 results http://stackoverflow.com/questions/245062/whats-the-difference-between-javascript-and-java http://www.htmlgoodies.com/beyond/javascript/article.php/3470971/Java-vs-JavaScript.htm http://www.java.com/en/download/faq/java_javascript.xml Code (markup): Bonus: How to use a search engine http://www.kidzworld.com/article/1900-search-engine-tutorial Code (markup):
Java is an OOP programming language while Java Script is an OOP scripting language. Java creates applications that run in a virtual machine or browser while JavaScript code is run on a browser only. Java code needs to be compiled while JavaScript code are all in text. They require different plug-ins.
*Javascript is a thin-client(web browser), scripting, object oriented programming(OOP) language - thin-client, because it can only be understood by the client (web browser); scripting, because it is not compiled but INTERPRETED by your web browser; OOP, because you can create classes, define objects and methods for such classes, extend classes e.t.c *On the otherhand JAVA is a fully fledged OOP Language where your source codes must be parsed, COMPILED(not interpreted) into OBJECT code and can be run on any platform(Operating System and not necessarily a browser) having the JRE (Java Runtime Environment)
More precisely, JAVA does not run directly on a web browser. It is java-applets that run on the client browser, while JAVA makes this possible. At ALL TIMES, java object codes are being run on the JVM.
JavaScript is a useful, HTML-related coding tool which can streamline web experiences. JavaScript executes in the browser itself. Of course, there are a number of places JavaScript shouldn’t be used — in email messages for example. JavaScript in an email attachment looks similar to malware to most scanners, and may be blocked or stripped — and quite rightly. That’s why in Voltage SecureMail we only use neutral and simple HTML for example. On the other hand, Java is used to build real applications. Java applications require a Java virtual machine to execute. Using Java in the browser or on the desktop requires a hefty install for the Java VM and Java application stack, with browser plugins from Oracle and of course regular, annoying patching. Java applications may run using a browser plugin, but they may also be standalone applications with their own GUI. They might also be on smart devices. Android runs mostly Java-based applications, for example. The latest vulnerabilities relate to the execution of arbitrary applications exploiting the Java system itself.