Skip to main content

Difference between Java and JavaScript


This post is introduced differences between java and javascript. Javascript is not a java. The following table displayed the differences between java and javascript.



Java is an object oriented programming language. In early 1990s, Sun Microsystems developed the Java language. Initially, it was designed to make small programs for the web browser called applets. But later on, Java was used to create application based on e-commerce.

There are five main features of Java language:

• Provides more flexibility to develop software applications because of object oriented approach.



• Easy to use as it combines the best properties of other programming languages.

• Allows code written in Java to run on different platforms or Java code is independent of platform.

• The code from the remote source can be executed securely.

• Built-in support for computer networks.

Java also supports automated memory management model that allows developers to get rid of the time consuming method called manual memory management. Programmers can easily do this by implementing automatic garbage collection. But according to some people, Java is slow as well as consumes more memory than other programming languages such as C++.

JavaScript

JavaScript is also a programming language which is used to make web pages more dynamic as well as interactive. Constant downloads from the server are not required in case of JavaScript as it runs on the user’s computer. JavaScript is different from the Java programming language.

Most modern day web browsers have built-in JavaScript. However, JavaScript based web pages can run only if JavaScript is enabled on the web browser and the browser supports it. JavaScript is enabled in most browsers by default.

No special program is required in order to write code in JavaScript as it is an interpreted language. You can use any text editor such as Notepad in order to write JavaScript code. You can also use other text editor that colorizes the different codes making it easier to detect any error.

JavaScript is different from HTML because JavaScript is used to create more dynamic web pages while HTML is a markup language that is used to create static content on the web page.

You can insert the JavaScript code in a HTML file by using the

Popular posts from this blog

Ssc combined graduate level exam syllabus and exam detail

q Tier-I of the Examination: General Intelligence & Reasoning : It would include questions of both verbal and non-verbal type. This component may include questions on analogies, similarities and differences, space visualization, spatial orientation, problem solving, analysis, judgment, decision making, visual memory, discrimination, observation, relationship concepts, arithmetical reasoning and figural classification, arithmetic number series, non-verbal series, coding and decoding, statement conclusion, syllogistic reasoning etc. The topics are, Semantic Analogy, Symbolic/Number Analogy, Figural Analogy, Semantic Classification, Symbolic/Number Classification, Figural Classification, Semantic Series, Number Series, Figural Series, Problem Solving, Word Building, Coding & de-coding, Numerical Operations, symbolic Operations, Trends, Space Orientation, Space Visualization, Venn Diagrams, Drawing inferences, Punched hole/pattern –folding & unfolding, Figural Pattern – folding...

27 Simple mehndi designs for hands for Karwa Chauth

The most  simple mehndi designs for hands  for Karwa Chauth 2014 Karwa Chauth  is around the corner and I am so excited about getting mehndi done! This time I plan to go with a simple yet quirky design. Don’t want my hands full, however it needs to be a style statement for this year’s most awaited festival for us ladies! There are some basic categories of mehndi designs, such as Gujrati, Rajasthani, Marwari,  Arabic  and African  patterns to choose from. They have certain prominent motifs or symbols that distinguishes one from the other. I just can’t seem to stop experimenting with these styles. From  circles to squares , peacocks and paisleys , checks and dots and what not. But my all-time favorite is a simple, curling vine, of course finger tips covered with thick coating of aromatic mehndi (which is so traditional). Quirky patterns include  traditional  as well as non-traditional patterns tweaked to one’s own liking. This includ...

‘Pratyusha Didn’t Hang Herself But Instead It Was Rahul Who Did It’, Claim Pratyusha’s Friends

The Balika Vadhu actress Pratyusha Banerjee was one of the most loved TV actresses ever and her suicide has left the whole India shocked. Even though earlier also actresses have committed suicide, it won’t be wrong to say that Pratyusha had a great fan following and that’s why not only her family but the whole nation is lamenting her death. Another reason for the same is that people knew her as a bubbly girl who was full of life and such a catastrophic step was not at all expected from her. However, one after another fact has come to sight about the actress and her personal life on a regular basis and no doubt, the revelations are shocking to the core. Besides, they are making the case even more complicated. As per reports, she even made attempts of committing suicide previously twice and here again comes a shocking thing! While police claims that it is a suicide case, Pratyusha’s friends are determined to fight for her so that justice can be done. They are of the opinion tha...