Skip to main content

The Java language

Initially, James Gosling's Java language was called Oak; the lawyers pointed out that "oak" had already been recorded by others, so something else was chosen to give the language a name.

The search method went from finding a suitable name for the language to one that wasn't; however time has disproved the method given Java's success.

After some time, names suggested and then withdrawn, legend has it that the name Java was found in a coffee break in front of a hot and steaming cup of coffee from which the Java logo also derives.

The Java language

Introduction to the Java language

The goal of the Java language has always been to create applications that adapt to various electronic devices; bypassing all the typical limitations of languages such as C and C ++ but maintaining the characteristics. 

This choice also proved successful; because many programmers later started using the Java language, aided by their familiarity with their C background. 

Networking

A full range of ready-to-use standard networking libraries that weren't included in other languages gave the language a boost on the internet. 

Other languages had to remedy this by integrating third-party libraries and not always with little difficulty and this made Java more attractive to programmers.

Netscape in 1993 was the first browser to integrate into the JVM (Java Virtual Machine) hosting the first Applets "small applications written in Java language for the client side" when JavaScript very popular today was not even under development.

Is the Java language interpreted or compiled ?

Java is an OOP programming language acronym for "object oriented programming"; the code is interpreted but not compiled and this makes the portability of the software useful "write once run anywhere". 

The source code written in Java language is processed by the compiler class; although the name seems to refer to the compilation, it does not perform this task! 

The Java code is not translated into binary but into intermediate code: the bytecode; the latter is interpreted on the fly by the java virtual machine interacting with the operating system and the underlying hardware.

Comments

Popular posts from this blog

The origins of computer programming

Modern computers can process large amounts of data. Before the current computers we can only refer to the analytical machine of Charles Babbage; This machine performed calculations thanks to the rotation of gear wheels. Countess Ada Lovelace participates in the creation of Charles Babbage's analytical machine by decoding the language to make it work; US Department of Defense dedicates the ADA programming language in the name of the Countess.  The role of women in computer science  Apparently, the position of women in the history of computer programming seems to cut out only a marginal role; in reality, it is not so! As already mentioned in the previous paragraph; without the contribution that Countess Ada Lovelace left to the world of information technology; this science could be decades behind. The origins of computer programming languages  The origins of programming languages were determined by a mechanical and mostly experimental approach; with reference to the an...

How to insert JavaScript into web pages

You have learned everything there is to know about HTML and CSS to start building your static website and now you would like to make it dynamic but you don't know how to insert JavaScript into web pages; right? Don't worry! Inserting the scripts into html files is really a breeze. If you read this article, in the next five minutes you will discover all the methods for inserting JavaScript into html files. How to insert JavaScript into HTML file JavaScript need HTML file to work.  Like CSS all methods of inserting JavaScript into a Web Page can be divided into two sections; add the scripts inside the TAG of  HTML file or by calling them externally. In detail we can insert JavaScript: Directly into Body of the HTML file. In the Head Tag and recall it in the body. With a relative or absolute external reference. Insert JavaScript into HTML file We will see an example of how to insert JavaScript shortly but first let's focus on when it is useful to do an explicit or implicit ...

Breadcrumbs in Notable Blogger theme

The modern themes available in Blogger are suitable for mobile devices; this is important in terms of indexing but Blogger not support breadcrumb of schema.org by default. If you add a few lines of code you can greatly improve your SEO and therefore your ranking in Google Search. I create a personal breadcrumb solution; if you have installed a responsive theme like mine in this article I explain how to add Breadcrumbs in Notable Blogger theme. How to add breadcrumbs in Notable Blogger theme First thing create a backup of you theme for security reasons You can add breadcrumbs in JSON-LD format or as following micro-data solution: Open your Blogger Dashboard Click on Theme >> Download a Backup for security reason Copy this code  <div class='post-body-container'>   Click Ctr+F and past the copied code then click Enter You will find this tag 1 time. Breadcrumbs in Notable Blogger theme Now copy the following code and past it below the tag : <b:if cond='data:view....