Introduction
CDSID: lvishwan
1
LEVEL -1
Java is a general-purpose, concurrent, object-oriented, class-based, and the runtime environment(JRE) which consists of JVM which is the cornerstone of the Java platform. This blog on What is Java will clear all your doubts about why to learn java, features and how it works.
Java is used in a wide range of places, including Android apps, credit card programming and in the creation of desktop applications and web enterprise applications. By comparison, JavaScript is mainly used to make web pages more interactive. It can be used as an alternative to Flash, though most programmers will tell you that JavaScript is more popular and has more functionality than Flash. JavaScript can be used to do neat things like creating animation in HTML.
Java code must be compiled, and JavaScript code is all-text.
Each language requires different plug-ins.
JavaScript code is run on a browser only, while Java creates applications that run in a virtual machine or browser.
Java is an OOP (object-oriented programming) language, and JavaScript is specifically an OOP scripting language.
Java vs Java Script
Java Script main uses
Share point development
Web page creation
Web related application
We have some editors to create java code and execute
The easy way to create a java code is combining with HTML
So we can use notepad to write a code and save it as HTML (*.html)
To run the script simply double click on the html file so the program will run in default browser.
Java Script
we take Chrome as our default browser
All browser will have console window to get the information about page and script output info
We can access it by key F12 in chrome
CDSID: lvishwan
7
Basics to Know: