Java and its Relationship with C and C++

in #programming7 years ago (edited)

Java is the preeminent language of the internet. Moreover, it is the universal language of web programmers around the world. To be a professional web developer today implies proficiency in Java. Therefore if programming is in your future then Java is the right language to learn.
sketch-1516728289499.png
Java is more than just the element that define the language, Java also includes extensive libraries and tools that aid in the development of programs and handles the browser user interface

The Evolution of Java

Only a few languages have fundamentally reshaped the essence of programming. In this elite group, one stands out because its impact was both rapid and widespread, the language is of course Java. Its not an over statement to say that the original release of Java 1.0 in 1995 by sun microsystem caused a revolution in programming. This revolution radically transformed the web into a highly interactive environment.
Over the years, Java continued to grow, evolve and redefine itself. Java has evolved from the JDK 1.0 Beta of 1995 to Java SE 10(18.3) of 2018

How Java Relates C and C++

Java is directly related to both C and C++, Java inherits its syntax from C. Its object model is adapted from C++. Java relationship with C and C++ is important for several reasons.
First, many programmers are familiar with C/C++ syntax. This makes it easy for a C/C++ programmer to Learn Java and conversely, for a Java programmer to learn C/C++.
Second, Java's designers did not reinvent the wheel, instead they further redefined an already highly successful programming model. The modern age programming began with C, then moved to C++ and then Java. By inheriting and building upon that rich heritage, Java provides a powerful, logically consistent programming environment that takes the best from the past and add new features required by the online environment.
Because of the similarities between Java and C++, especially their support for object-oriented programming, it is tempting to think of Java as simply the internet version of C++. However to do so would be a mistake. Although Java was influenced by C++, it is not an enhanced version of C++.
Java was designed to solve a certain set of problems, C++ was designed to solve a different set of problems. Both will co-exist for many years to come.