0% found this document useful (0 votes)
9 views3 pages

Java Programming Language Overview

Java is an open-source, platform-independent, and object-oriented programming language developed by James Gosling and his team at Sun Microsystems in 1991. It follows the core principle of 'Write Once, Run Anywhere' and has undergone various version releases, with significant versions including Java SE 8, 11, 17, and 21. Java is classified into three editions: Java SE for standalone applications, Java EE for web and enterprise applications, and Java ME for mobile applications.

Uploaded by

shilpishah2004
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
9 views3 pages

Java Programming Language Overview

Java is an open-source, platform-independent, and object-oriented programming language developed by James Gosling and his team at Sun Microsystems in 1991. It follows the core principle of 'Write Once, Run Anywhere' and has undergone various version releases, with significant versions including Java SE 8, 11, 17, and 21. Java is classified into three editions: Java SE for standalone applications, Java EE for web and enterprise applications, and Java ME for mobile applications.

Uploaded by

shilpishah2004
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd

Chapter-1 Java Introduction

1.1 => What is Java: Java is an Open Source, Platform Independent & Object - Oriented Programming Language.
Features of Java:
i. Open Source
ii. Platform Independent
iii. Object Oriented
iv. High Level
v. Case Sensitive
vi. Statically Typed
vii. Platform
viii. Multithreading
etc…

History of Java:
i. Java was developed by James Gosling and his team in 'Sun Microsystem' in 1991.
ii. The main motive behind James Gosling and his team creating the Java programming language was to develop a platform-independent
language that could run on various devices and operating systems without modification.
iii. Core Principle of Java: Platform independent language: WORA: Write Once, Run Anywhere
iv. The initial name of Java was OAK but it was renamed to JAVA because OAK was already a registered trademark of another company.
v. Java’s First stable version (JDK 1.0) was released on 23rd January 1996.
v. On January 27, 2010, Sun Microsystems was officially acquired by Oracle Corporation.
vi. Up to Java version 1.6, it was released by Sun Microsystems. Subsequent versions (from Java 1.7) have been released by Oracle.

=> Versions of Java:


Version Release Date
Beta Testing version 1995
JDK 1.0 23rd January 1996
JDK 1.1 18th February 1997
J2SE 1.2 4th December 1998
These Java versions were released by Sun Microsystems.
J2SE 1.3 8th May 2000
J2SE 1.4 13th February 2002
J2SE 5.0 (1.5) 30th September 2004
Java SE 6 (1.6) 11th December 2006
On 27th Jan 2010, Sun Microsystems was acquired by Oracle.
Java SE 7 (1.7) 28th July 2011
Java SE 8 (1.8) (LTS) 18th March 2014
Java SE 9 (1.9) 21st September 2017
Java SE 10 (1.10) 20th March 2018
Java SE 11 (LTS) 25th September 2018
Java SE 12, 13, 14, 15, 16: These are not the more important versions.
These Java versions were released by Sun Microsystems.
Java SE 17 (LTS) 14th September 2021
Java SE 18, 19, 20: These are not the more important versions.
Java SE 21 (LTS) 19th September 2023
Java SE 22 19th March 2024
Java SE 23 17th September 2024
Java SE 24, 25: These are the Future release versions: March & Sep 2025
Java Unsupported Versions: Java 1.0, 1.1, 1.2, 1.3, 1.4, 1.5, 1.6, 1.7, Java 9, 10, 12, 13, 14, 15, 16, 18, 19, 20, 22
Java LTS Versions: Java 8, Java 11, Java 17 & Java 21

Java Classification: Java Edition:


Java is classified into these categories:
Java SE: Java Standard Edition: Using this technology, we create standalone applications.
Java EE: Java Enterprise Edition: Using this technology, we create Web & Enterprise applications.
Java ME: Java Micro Edition: It is replaced by Android Technology: Using this technology, we create mobile applications.

Common questions

Powered by AI

Being statically typed means that in Java, variable types are known at compile time, contrasting with dynamically typed languages where variable types are resolved at runtime. This characteristic benefits developers by providing early error detection through compile-time checking, which can prevent many bugs before the program runs. It also enhances performance, as operations can be optimized during compilation. Moreover, static typing improves code safety and readability, allowing developers to understand the system better and conduct safer refactoring. This clarity and reliability make Java particularly suitable for large-scale, complex applications .

The initial name 'OAK' was changed to 'JAVA' because 'OAK' was already a registered trademark of another company. The renaming to 'JAVA' signified a fresh identity for the programming language, one that reflected its cross-platform capabilities and innovative nature. Java as a name was chosen because it is memorable and represents a modern, robust language that broke away from the constrained environments of older languages. This renaming helped establish Java as a brand with universal appeal, associated with versatility and platform-independence .

The release of Java SE 8 as a Long Term Support (LTS) version is significant because it marked a shift in how Java is updated and maintained. As an LTS version, Java SE 8 offered extended support and updates, making it stable for enterprise use, where companies require software versions with long-term stability. It introduced important features like lambda expressions and the Stream API, which substantially enhanced functional programming capabilities and data processing. These enhancements made Java SE 8 a pivotal release that supported modern programming approaches while providing reliable support for years, thereby solidifying Java's role in enterprise-level application development .

Java's platform independence is primarily based on the principle of WORA (Write Once, Run Anywhere). This capability is achieved through Java Bytecode and the Java Virtual Machine (JVM). When Java code is compiled, it is converted into bytecode, which is a universal intermediate form. This bytecode can be executed on any device equipped with a JVM, making Java applications platform-independent. This means that the same Java program can run on different operating systems without requiring any modifications. This feature, coupled with Java's object-oriented nature and strong community support, has significantly contributed to its widespread adoption in various industries .

Java being open source means the source code is available to the public for use and modification. This openness fosters a collaborative environment where developers worldwide can contribute to Java's development, identify bugs, suggest improvements, and expand its functionalities. The open-source nature of Java has significantly influenced its evolution, ensuring that the language remains agile and responsive to new technological demands. It has also bolstered community support, as developers feel empowered to participate actively in its growth. This extensive community engagement has kept Java at the forefront of programming languages for decades, allowing it to evolve continuously and adapt to new programming paradigms .

The initial stable release of Java (JDK 1.0) on January 23, 1996, was a landmark event that established Java as a significant player in the software development world. It introduced Java's key features, such as object orientation, platform independence, and a straightforward syntax, which were revolutionary at the time. These features, coupled with the simplicity of applets for web development, made Java attractive for developers looking for a versatile language that could operate across different environments. The release of JDK 1.0 laid the groundwork for Java's evolution and widespread adoption, driving its growth as a preferred choice for cross-platform development .

Java's case sensitivity means that identifiers such as variable names, method names, and class names must be used consistently with regard to letter casing throughout the program. This impacts programming practices by necessitating attention to detail and careful naming conventions to avoid errors due to misidentification of variable case. The advantages include enhanced flexibility in naming, where developers can create distinct variables by changing the letter casing. It also supports a structured approach to coding, where convention can dictate casing rules (such as camelCase for variables and TitleCase for classes), improving readability and organization in code .

Java SE (Java Standard Edition) is intended for building standalone applications and provides core functions such as basic language syntax, system libraries, and graphical user interfaces. Java EE (Java Enterprise Edition), on the other hand, is designed for web and enterprise-level applications, offering features like distributed computing and web services for large-scale systems. Lastly, Java ME (Java Micro Edition) is tailored for mobile and embedded devices, although its prominence has declined with the rise of Android, which itself took inspiration from Java ME capabilities. Each edition of Java targets distinct application domains and offers specialized tools and libraries accordingly .

Java's multithreading capability is crucial in modern software development because it allows for the concurrent execution of two or more threads, enabling efficient use of resources and improved application performance. Multithreading is particularly important for applications needing to perform many tasks simultaneously, such as server-side applications or those with complex user interfaces. It also enhances responsiveness and scalability, allowing applications to handle numerous requests without lag. This feature is instrumental in developing high-performance, real-time systems, making Java an attractive option for developers prioritizing efficiency and responsiveness in their software solutions .

The acquisition of Sun Microsystems by Oracle Corporation on January 27, 2010, marked a significant transition in the development and release of Java. Prior to the acquisition, versions of Java (up to Java SE 6) were released by Sun Microsystems. After the acquisition, Oracle took over the stewardship of Java, starting with Java SE 7 released on July 28, 2011. Oracle's acquisition ensured continued development and support for Java, leading to the release of subsequent versions, including long-term support (LTS) editions like Java SE 8, 11, 17, and 21. Oracle's involvement has maintained Java's relevance and adaptation to evolving technological needs .

You might also like