Lecture 1
Lecture 1
2
Content
(Unit I)
Principles of Object-Oriented Programming
Chapter 1.1:
Lecture1.1.1-
1. Java History
2. Java Edition
3. Java Features
3
Objectives/Outcomes
4
JAVA HISTORY
• James Gosling, Mike Sheridan and Patrick Naughton initiated the Java language
project in June 1991. The small team of Sun Microsystem engineers called Green
Team.
• Firstly, it was called “Greentalk ” by James Gosling and file extension was .gt
• Java was originally designed for small, embedded system in electronic appliances.
• After that it was called “Oak”
5
JAVA HISTORY Contd.
• Java was called Oak as it is a symbol of strength and chosen as a national tree of
many countries like USA, France, Germany etc.
• In 1995, Oak was renamed as JAVA (Java is an island in Indonesia where first coffee
was produced ).
• JDK (Java Development Kit) 1.0 released in January 23, 1996.
• Many more versions was released later on.
• Java SE 10 was released in March 20, 2018
6
JAVA-Editions
Java Editions
• J2SE (Java Standard Edition)
• J2ME(Java Mobile Applications)
• J2EE(Java Enterprise Applications)
7
JAVA FEATURES
9
Object Oriented
• Java is an object-oriented programming
language. Everything in Java is an
object. Object-oriented means we
organize our software as a combination
of different types of objects that
incorporates both data and behavior.
• Object-oriented programming (OOPs) is
a methodology that simplifies software
development and maintenance by
providing some rules.
11
Secured
• Java is best known for its security. With Java, we can develop virus-free systems.
Java is secured because:
• No explicit pointer
• Java Programs run inside a virtual machine sandbox
• Classloader
• Bytecode Verifier
• Security Manager
12
Robust
13
Architecture-neutral
14
Portable
• Java is portable because it facilitates you to carry the Java bytecode to any platform.
It doesn't require any implementation.
Fig 6: Portable[6]
15
High Performance
• Java is faster than other traditional interpreted programming languages because Java
bytecode is "close" to native code. It is still a little bit slower than a compiled
language (e.g., C++). Java is an interpreted language that is why it is slower than
compiled languages, e.g., C, C++, etc.
16
Distributed
17
Multi-threaded
18
Dynamic
19
References
• Fig 1: https://www.slideshare.net/AndriyRymar/latest-java
• Fig 2: https://www.javatpoint.com/history-of-java
• Fig 3: https://www.javatpoint.com/features-of-java
• Fig 4: https://vishmy1.blogspot.com/2019/09/what-are-concept-of-oops-in-java.html
• Fig 5: http://learnfromexamples.com/how-java-is-platform-independent/
• Fig 6: http://www.freetimestudy.com/Features_of_ava.php
• Fig 7: https://onlinecoursebay.com/high-performance-java-udemy-free-download/
20
References Contd.
• https://www.tutorialspoint.com/What-are-the-major-features-of-Java-programming
• https://www.javatpoint.com/features-of-java
21
THANK YOU
22