java tutorial

java tutorial

Java Basic

Java  Basic

Java is an HLL (High-Level Language) working on the concept of OOPs created by Sun Microsystems. Java keeps running on various OS platforms, for example, Windows, Mac OS, and the different forms of UNIX. This instructional exercise gives an entire comprehension of Java. This reference will take you through straightforward and reasonable methodologies while learning Java Programming dialect.

Difference between Java & Other (C, C++)

• JAVA vs C: C is a procedural language while JAVA is based on OOPs i.e., an object-oriented programming language. JAVA supports method overloading and bottom-up approaches while the same is not handled in C. Many features like native threads, latest exception handling techniques are not supported by C language.

• JAVA vs C++: C++has its compatibility with C language while the JAVA interface can directly call code of C/C++. C++ works on the criteria of Write Once and Compile anywhere while JAVA supports Write Once and run anywhere. C++ supports single and multiple inheritances while JAVA works only on Single inheritance while calling classes.

• JAVA vs .NET: JAVA is platform compatible while .net does not provide the same feature. .NET has a plus point of supporting different languages while developing a software in the fastest way while the same feature is not present in JAVA.

JAVA History

James Gosling started Java dialect venture in June 1991 for use in one of his many set-top box assignment. At first, the articulation for JAVA was called ‘Oak’ named after an oak tree

that remained outside Gosling’s office, likewise passed by the name ‘Green’ and wound up later being renamed as Java, from a rundown of irregular words.

Sun published the primary open usage as Java 1.0 out of 1995. It guaranteed Write Once, Run Anywhere (WORA), giving no-cost run-times on well-known stages.

On 13 November 2006, Sun discharged quite a bit of Java as free and open source programming under the terms of the GNU General Public License (GPL).

On 8 May 2007, Sun completed the procedure, making the greater part of Java’s center code free and open-source, beside a little segment of code to which Sun did not hold the copyright.

Leave a Reply

Your email address will not be published. Required fields are marked *