JAVA
"Write Once, Run Anywhere"
Agenda
Here is the agenda for today’s presentation.
We will cover the following topics:
• History of Java
• Classification of Programming Paradigm
• Programming Domains
• Major Features of Java
• Weaknesses and Strengths of Java
• Syntax or Data Structure
• Evaluation Criteria
• Sample Program
History
Java was created by James Gosling, Patrick Naughton,
Chris Warth, Ed Frank, and Mike Sheridan at Sun
Microsystems.
History
History
1991
Start the Project
History
“Oak” Tree
History
1995
Java 1.0 is released
History
1996
Web Development
History
1999 – Java 2 is released
2004 – Java 5 is released
2009 – Java 6 is released
2014 – Java 8 is released
2017 – Java 9 is released
2018 – Java 10 is released
2019 – Java 11 is released
2020 – Java 12 is released
2021 – Java 13 is released
2022 – Java 18 is released
History
Java is still under active development, and new versions
are released every few years. The latest version is Java
18, which was released in March 2022.
Programming Paradigm
Java is an object-oriented programming language that supports
imperative and functional programming paradigms. It is also a
strongly-typed language, which means that all variables must be
declared before they can be used.
Programming Domains
Java is used in a wide range of programming domains, including
desktop applications, mobile applications, web applications, and
enterprise applications. It is also used in the development of
embedded systems, gaming, and scientific applications.
Major Features
Java has several major features that make it a popular
programming language. These include platform
independence, automatic memory management, exception
handling, multithreading, and a rich set of libraries and
APIs.
Weaknesses and Strengths
Java has several strengths and weaknesses. Its strengths include its
platform independence, automatic memory management, and
rich set of libraries and APIs. Its weaknesses include its slower
performance compared to other languages, its steep learning
curve, and its verbosity.
Weaknesses and Strengths
Verbosity − Java code can be verbose, meaning that it requires a lot
of lines of code to accomplish simple tasks. This can make the code
difficult to read and understand, especially for beginners.
Syntax / Data Structure
Java syntax is similar to that of C++ and C#. It uses curly braces to
define blocks of code and semicolons to terminate statements. Java
supports several data structures, including arrays, lists, sets, and
maps.
Syntax / Data Structure
Evaluation Criteria
Java programs are evaluated based on several criteria,
including correctness, efficiency, readability,
maintainability, and scalability.
Evaluation Criteria
• Correctness refers to the program's ability to produce the
expected output for a given input.
• Efficiency refers to the program's ability to perform its tasks in
a timely manner.
• Readability refers to the program's ease of understanding.
• Maintainability refers to the program's ease of modification.
• Scalability refers to the program's ability to handle increasing
amounts of data or users.
Sample Program