Java Lesson 1 2 3 Lecture 1
Java Lesson 1 2 3 Lecture 1
©https://blogs.ashrithgn.com/
Faculty of Computer Science
Objectives
• After you have read and studied this lecture, you should be able to
• introduce the java programming language characteristics
• Platform Independence
MyProgram.java
• A platform is the hardware or software
API
environment in which a program runs. Java
Platform
Java Virtual Machine
• Microsoft Windows, Linux, Solaris OS, and Mac OS
Hardware-Based Platform
• The Java platform has two components:
• Java Virtual Machine (JVM)
• Sun released Oak as Java in 1995 after reworking it for the Web.
• The first stable version, JDK 1.0.2 was released on January, 1996.
• The latest release for the Java SE Platform is Java SE 15 in September 2020.
• Distributed
• High Performance
• Multithreaded
• Dynamic
Scientific Application
Applications
Enterprise Applications Desktop GUI Application
• Unrestricted access to system
resources Web Applications Using Java Embedded System Application
• Interface can be graphical,
Standalone Applications Mobile Applications
textual or neither
Web Servers & Application Servers
Applets
• Restricted access to system resources
• Interface is embedded in some
graphical wrapper
• Browser
• Applet viewer
Pointer C++ support pointers. Java offers only limited support for
pointers.
• Performance
• Maintainability
• Extensibility
• Availability
• Five major phases of the software life cycle are analysis, design, coding, testing, and
operation.