SlideShare a Scribd company logo
2
Most read
5
Most read
8
Most read
D.SEETHALAKSHMI
Assistant Professor
Department of Computer Applications
Bon Secours College for Women

 Java is a high-level general-purpose object-oriented
and secure programming language developed by
James Gosling at Sun Microsystems Inc. in 1991.
 It is formally known as OAK. In 1995 Sun
Microsystem changed the name to Java.
 In 2009 Sun Microsystem takeover by Oracle
Corporation.
What is JAVA?

 Java Standard Editions (JSE): It is used to create
programs for a desktop computer.
 Java Enterprise Edition (JEE): It is used to create
large programs that run on the server and manages
heavy traffic and complex transactions.
 Java Micro Edition (JME): It is used to develop
applications for small devices such as set-top boxes
phone and appliances.
Editions of Java

 Standalone Applications: Java standalone applications uses GUI
components such as AWT Swing and JavaFX. These components
contain buttons list menu scroll panel etc. It is also known as
desktop alienations.
 Enterprise Applications: An application which is distributed in nature
is called enterprise applications.
 Web Applications: An applications that run on the server is called
web applications. We use JSP Servlet Spring and Hibernate
technologies for creating web applications.
 Mobile Applications: Java ME is a cross-platform to develop mobile
applications which run across smartphones. Java is a platform for App
Development in Android.
Types of Java Applications

 Java Platform is a collection of programs. It helps to
develop and run a program written in the Java
programming language. Java Platform includes an
execution engine a compiler and set of libraries. Java
is a platform-independent language.
Java Platform

 There are 3 stages in developing a Java Program:
 What’s coding – Developing a java program (set of instructions)
according to Java syntax or rules is called coding. Java
programs should always be saved with a filename.java
extension.
 What’s compilation – Converting the java program into byte
codes or .class file using javac compiler is called compilation.
Whenever we compile a java program a .class file will be
generated and it will have byte codes in it.
 What’s execution- Converting the byte codes present in the
.class file into CPU understandable instructions or binaries
using Java Virtual Machine (JVM) which is an interpreter is
called execution.
Stage of Java

JAVA PHASES

 Simple
 Robust
 Portable
 Platform-independent
 Secured
 High Performance
 Multithreaded
 Architecture Neutral
 Object-Oriented Interpreted
 Dynamic
Principles of Java

 The history of Java starts with the Green
Team.
 Java team members (also known as
Green Team) initiated this project to
develop a language for digital devices
such as set-top boxes televisions etc.
 Java was developed by James Gosling,
who is known as the father of Java, in
1995. James Gosling and his team
members started the project in the early
'90s.
History of Java

 1) James Gosling, Mike Sheridan, and Patrick
Naughton initiated the Java language project in June 1991.
The small team of sun engineers called Green Team.
 2) Initially it was designed for small, embedded systems in
electronic appliances like set-top boxes.
 3) Firstly, it was called "Greentalk" by James Gosling, and
the file extension was .gt.
 4) After that, it was called Oak and was developed as a
part of the Green project.
History of Java

 5) Why Oak? Oak is a symbol
of strength and chosen as a
national tree of many countries
like the U.S.A., France,
Germany, Romania, etc.
 6) In 1995, Oak was renamed
as "Java" because it was already
a trademark by Oak
Technologies.
Why Java was named as
"Oak"?

 Java is an island in Indonesia where the first coffee
was produced (called Java coffee). It is a kind of
espresso bean. Java name was chosen by James
Gosling while having a cup of coffee nearby his
office.
 In 1995, Time magazine called Java one of the Ten
Best Products of 1995.
Why Java Programming
named "Java"?


Features of Java

Elements of Java

 Object-oriented programming is a way of solving a
complex problem by breaking them into a small sub-
problem. An object is a real-world entity. It is easier to
develop a program by using an object. In OOPs, we create
programs using class and object in a structured manner.
 Class: A class is a template or blueprint or prototype that
defines data members and methods of an object. An object
is the instance of the class. We can define a class by using
the class keyword.
 Object: An object is a real-world entity that can be
identified distinctly. For example, a desk, a circle can be
considered as objects. An object has a unique behavior,
identity, and state. Data fields with their current values
represent the state of an object (also known as its
properties or attributes).
Object Oriented
Programming System

 Abstraction: An abstraction is a method of hiding
irrelevant information from the user. For example, the
driver only knows how to drive a car; there is no need to
know how does the car run. We can make a class abstract
by using the keyword abstract. In Java, we use abstract
class and interface to achieve abstraction.
 Encapsulation: An encapsulation is the process of
binding data and functions into a single unit. A class is an
example of encapsulation. In Java, Java bean is a fully
encapsulated class.
 Inheritance: Inheritance is the mechanism in which one
class acquire all the features of another class. We can
achieve inheritance by using the extends keyword. It
facilitates the reusability of the code.
 Polymorphism: The polymorphism is the ability to
appear in many forms. In other words, single action in
different ways. For example, a boy in the classroom
behaves like a student, in house behaves like a son. There
are two types of polymorphism: run time polymorphism
and compile-time polymorphism.

More Related Content

What's hot (20)

PPTX
Introduction to JAVA
ParminderKundu
 
PDF
Applets
Prabhakaran V M
 
PPTX
Client Server Architecture ppt
OECLIB Odisha Electronics Control Library
 
PPTX
Introduction to Java -unit-1
RubaNagarajan
 
PPSX
JDBC: java DataBase connectivity
Tanmoy Barman
 
PPT
Java: GUI
Tareq Hasan
 
PPTX
Day: 1 Introduction to Mobile Application Development (in Android)
Ahsanul Karim
 
PDF
Android Threading
Jussi Pohjolainen
 
PPTX
Access specifiers(modifiers) in java
HrithikShinde
 
PPTX
Introduction to Android ppt
Taha Malampatti
 
PPTX
Methods in java
chauhankapil
 
PPTX
Basic Concepts of OOPs (Object Oriented Programming in Java)
Michelle Anne Meralpis
 
PPS
Jdbc architecture and driver types ppt
kamal kotecha
 
PPTX
Java Tokens
Madishetty Prathibha
 
PPTX
java interface and packages
VINOTH R
 
PDF
Android Programming Basics
Eueung Mulyana
 
PPTX
Java
Tony Nguyen
 
PPTX
Access Modifier.pptx
Margaret Mary
 
PPT
Debugging
Indu Sharma Bhardwaj
 
PPSX
Data Types & Variables in JAVA
Ankita Totala
 
Introduction to JAVA
ParminderKundu
 
Client Server Architecture ppt
OECLIB Odisha Electronics Control Library
 
Introduction to Java -unit-1
RubaNagarajan
 
JDBC: java DataBase connectivity
Tanmoy Barman
 
Java: GUI
Tareq Hasan
 
Day: 1 Introduction to Mobile Application Development (in Android)
Ahsanul Karim
 
Android Threading
Jussi Pohjolainen
 
Access specifiers(modifiers) in java
HrithikShinde
 
Introduction to Android ppt
Taha Malampatti
 
Methods in java
chauhankapil
 
Basic Concepts of OOPs (Object Oriented Programming in Java)
Michelle Anne Meralpis
 
Jdbc architecture and driver types ppt
kamal kotecha
 
java interface and packages
VINOTH R
 
Android Programming Basics
Eueung Mulyana
 
Access Modifier.pptx
Margaret Mary
 
Data Types & Variables in JAVA
Ankita Totala
 

Similar to PROGRAMMING IN JAVA unit 1.pptx (20)

PPTX
Java
seenak
 
PPTX
Java
Harry Potter
 
PPTX
Java
James Wong
 
PPTX
Java
Fraboni Ec
 
PPTX
Java
Luis Goldster
 
PPTX
Java
Young Alista
 
PDF
what is java.pdf
XanGwaps
 
PPTX
Java technology is widely used currently. Let's start learning of java from b...
aliblackcat76
 
PPTX
Chapter-1 Introduction.pptx
SumanBhandari40
 
PDF
Java Concepts and Features-Programming in Java
jasminebeulahg
 
PPTX
Basics of JAVA programming
Elizabeth Thomas
 
PPTX
Java Lecture 1
Qualys
 
PPTX
Chapter 1 (1).pptx
krishnashah277578
 
PDF
TechSearchWeb Tutorials.pdf
TechSearchWeb
 
PPT
JAVA_INTRODUCTION- History, Constructor, Inheritance
Usha P
 
PPTX
1 .java basic
Indu Sharma Bhardwaj
 
PDF
TechSearchWeb.pdf
TechSearchWeb
 
PDF
Technology Tutorial.pdf
TechSearchWeb
 
PPTX
JAVAPart1_BasicIntroduction.pptx
Murugesh33
 
PPTX
JAVA_Day1_BasicIntroduction.pptx
Murugesh33
 
Java
seenak
 
what is java.pdf
XanGwaps
 
Java technology is widely used currently. Let's start learning of java from b...
aliblackcat76
 
Chapter-1 Introduction.pptx
SumanBhandari40
 
Java Concepts and Features-Programming in Java
jasminebeulahg
 
Basics of JAVA programming
Elizabeth Thomas
 
Java Lecture 1
Qualys
 
Chapter 1 (1).pptx
krishnashah277578
 
TechSearchWeb Tutorials.pdf
TechSearchWeb
 
JAVA_INTRODUCTION- History, Constructor, Inheritance
Usha P
 
1 .java basic
Indu Sharma Bhardwaj
 
TechSearchWeb.pdf
TechSearchWeb
 
Technology Tutorial.pdf
TechSearchWeb
 
JAVAPart1_BasicIntroduction.pptx
Murugesh33
 
JAVA_Day1_BasicIntroduction.pptx
Murugesh33
 
Ad

More from SeethaDinesh (20)

PPTX
Input Devices.pptx
SeethaDinesh
 
PPT
Generations of Computers.ppt
SeethaDinesh
 
PPT
Inheritance in java.ppt
SeethaDinesh
 
PPT
Arrays in JAVA.ppt
SeethaDinesh
 
PPTX
Cloud Computing Basics.pptx
SeethaDinesh
 
PPT
unit 5 stack & queue.ppt
SeethaDinesh
 
PPT
Greedy_Backtracking graph coloring.ppt
SeethaDinesh
 
PPT
Structure and Union.ppt
SeethaDinesh
 
DOCX
Shortest Path Problem.docx
SeethaDinesh
 
PPT
BINARY TREE REPRESENTATION.ppt
SeethaDinesh
 
PPT
NME UNIT II.ppt
SeethaDinesh
 
PDF
DS UNIT 1.pdf
SeethaDinesh
 
PPT
Basics of C.ppt
SeethaDinesh
 
PPTX
chapter 1.pptx
SeethaDinesh
 
PPTX
DW unit 3.pptx
SeethaDinesh
 
PDF
DW unit 2.pdf
SeethaDinesh
 
PDF
DW Unit 1.pdf
SeethaDinesh
 
PPTX
NME WPI UNIt 3.pptx
SeethaDinesh
 
PDF
NME UNIT I & II MATERIAL.pdf
SeethaDinesh
 
PDF
graphtraversals.pdf
SeethaDinesh
 
Input Devices.pptx
SeethaDinesh
 
Generations of Computers.ppt
SeethaDinesh
 
Inheritance in java.ppt
SeethaDinesh
 
Arrays in JAVA.ppt
SeethaDinesh
 
Cloud Computing Basics.pptx
SeethaDinesh
 
unit 5 stack & queue.ppt
SeethaDinesh
 
Greedy_Backtracking graph coloring.ppt
SeethaDinesh
 
Structure and Union.ppt
SeethaDinesh
 
Shortest Path Problem.docx
SeethaDinesh
 
BINARY TREE REPRESENTATION.ppt
SeethaDinesh
 
NME UNIT II.ppt
SeethaDinesh
 
DS UNIT 1.pdf
SeethaDinesh
 
Basics of C.ppt
SeethaDinesh
 
chapter 1.pptx
SeethaDinesh
 
DW unit 3.pptx
SeethaDinesh
 
DW unit 2.pdf
SeethaDinesh
 
DW Unit 1.pdf
SeethaDinesh
 
NME WPI UNIt 3.pptx
SeethaDinesh
 
NME UNIT I & II MATERIAL.pdf
SeethaDinesh
 
graphtraversals.pdf
SeethaDinesh
 
Ad

Recently uploaded (20)

PPTX
ENG8_Q1_WEEK2_LESSON1. Presentation pptx
marawehsvinetshe
 
PPT
Indian Contract Act 1872, Business Law #MBA #BBA #BCOM
priyasinghy107
 
PPTX
DAY 1_QUARTER1 ENGLISH 5 WEEK- PRESENTATION.pptx
BanyMacalintal
 
PPTX
How to Create a Customer From Website in Odoo 18.pptx
Celine George
 
PDF
STATEMENT-BY-THE-HON.-MINISTER-FOR-HEALTH-ON-THE-COVID-19-OUTBREAK-AT-UG_revi...
nservice241
 
PPTX
DIGITAL CITIZENSHIP TOPIC TLE 8 MATATAG CURRICULUM
ROBERTAUGUSTINEFRANC
 
PDF
Android Programming - Basics of Mobile App, App tools and Android Basics
Kavitha P.V
 
PPTX
Controller Request and Response in Odoo18
Celine George
 
PPTX
ENGlish 8 lesson presentation PowerPoint.pptx
marawehsvinetshe
 
PDF
WATERSHED MANAGEMENT CASE STUDIES - ULUGURU MOUNTAINS AND ARVARI RIVERpdf
Ar.Asna
 
PPTX
Identifying elements in the story. Arrange the events in the story
geraldineamahido2
 
PDF
IMPORTANT GUIDELINES FOR M.Sc.ZOOLOGY DISSERTATION
raviralanaresh2
 
PDF
Lesson 1 - Nature of Inquiry and Research.pdf
marvinnbustamante1
 
PPTX
infertility, types,causes, impact, and management
Ritu480198
 
PPTX
CATEGORIES OF NURSING PERSONNEL: HOSPITAL & COLLEGE
PRADEEP ABOTHU
 
PPTX
How to Manage Allocation Report for Manufacturing Orders in Odoo 18
Celine George
 
PPTX
Different types of inheritance in odoo 18
Celine George
 
PPTX
care of patient with elimination needs.pptx
Rekhanjali Gupta
 
PDF
Lean IP - Lecture by Dr Oliver Baldus at the MIPLM 2025
MIPLM
 
PDF
I3PM Industry Case Study Siemens on Strategic and Value-Oriented IP Management
MIPLM
 
ENG8_Q1_WEEK2_LESSON1. Presentation pptx
marawehsvinetshe
 
Indian Contract Act 1872, Business Law #MBA #BBA #BCOM
priyasinghy107
 
DAY 1_QUARTER1 ENGLISH 5 WEEK- PRESENTATION.pptx
BanyMacalintal
 
How to Create a Customer From Website in Odoo 18.pptx
Celine George
 
STATEMENT-BY-THE-HON.-MINISTER-FOR-HEALTH-ON-THE-COVID-19-OUTBREAK-AT-UG_revi...
nservice241
 
DIGITAL CITIZENSHIP TOPIC TLE 8 MATATAG CURRICULUM
ROBERTAUGUSTINEFRANC
 
Android Programming - Basics of Mobile App, App tools and Android Basics
Kavitha P.V
 
Controller Request and Response in Odoo18
Celine George
 
ENGlish 8 lesson presentation PowerPoint.pptx
marawehsvinetshe
 
WATERSHED MANAGEMENT CASE STUDIES - ULUGURU MOUNTAINS AND ARVARI RIVERpdf
Ar.Asna
 
Identifying elements in the story. Arrange the events in the story
geraldineamahido2
 
IMPORTANT GUIDELINES FOR M.Sc.ZOOLOGY DISSERTATION
raviralanaresh2
 
Lesson 1 - Nature of Inquiry and Research.pdf
marvinnbustamante1
 
infertility, types,causes, impact, and management
Ritu480198
 
CATEGORIES OF NURSING PERSONNEL: HOSPITAL & COLLEGE
PRADEEP ABOTHU
 
How to Manage Allocation Report for Manufacturing Orders in Odoo 18
Celine George
 
Different types of inheritance in odoo 18
Celine George
 
care of patient with elimination needs.pptx
Rekhanjali Gupta
 
Lean IP - Lecture by Dr Oliver Baldus at the MIPLM 2025
MIPLM
 
I3PM Industry Case Study Siemens on Strategic and Value-Oriented IP Management
MIPLM
 

PROGRAMMING IN JAVA unit 1.pptx

  • 1. D.SEETHALAKSHMI Assistant Professor Department of Computer Applications Bon Secours College for Women
  • 2.   Java is a high-level general-purpose object-oriented and secure programming language developed by James Gosling at Sun Microsystems Inc. in 1991.  It is formally known as OAK. In 1995 Sun Microsystem changed the name to Java.  In 2009 Sun Microsystem takeover by Oracle Corporation. What is JAVA?
  • 3.   Java Standard Editions (JSE): It is used to create programs for a desktop computer.  Java Enterprise Edition (JEE): It is used to create large programs that run on the server and manages heavy traffic and complex transactions.  Java Micro Edition (JME): It is used to develop applications for small devices such as set-top boxes phone and appliances. Editions of Java
  • 4.   Standalone Applications: Java standalone applications uses GUI components such as AWT Swing and JavaFX. These components contain buttons list menu scroll panel etc. It is also known as desktop alienations.  Enterprise Applications: An application which is distributed in nature is called enterprise applications.  Web Applications: An applications that run on the server is called web applications. We use JSP Servlet Spring and Hibernate technologies for creating web applications.  Mobile Applications: Java ME is a cross-platform to develop mobile applications which run across smartphones. Java is a platform for App Development in Android. Types of Java Applications
  • 5.   Java Platform is a collection of programs. It helps to develop and run a program written in the Java programming language. Java Platform includes an execution engine a compiler and set of libraries. Java is a platform-independent language. Java Platform
  • 6.   There are 3 stages in developing a Java Program:  What’s coding – Developing a java program (set of instructions) according to Java syntax or rules is called coding. Java programs should always be saved with a filename.java extension.  What’s compilation – Converting the java program into byte codes or .class file using javac compiler is called compilation. Whenever we compile a java program a .class file will be generated and it will have byte codes in it.  What’s execution- Converting the byte codes present in the .class file into CPU understandable instructions or binaries using Java Virtual Machine (JVM) which is an interpreter is called execution. Stage of Java
  • 8.   Simple  Robust  Portable  Platform-independent  Secured  High Performance  Multithreaded  Architecture Neutral  Object-Oriented Interpreted  Dynamic Principles of Java
  • 9.   The history of Java starts with the Green Team.  Java team members (also known as Green Team) initiated this project to develop a language for digital devices such as set-top boxes televisions etc.  Java was developed by James Gosling, who is known as the father of Java, in 1995. James Gosling and his team members started the project in the early '90s. History of Java
  • 10.   1) James Gosling, Mike Sheridan, and Patrick Naughton initiated the Java language project in June 1991. The small team of sun engineers called Green Team.  2) Initially it was designed for small, embedded systems in electronic appliances like set-top boxes.  3) Firstly, it was called "Greentalk" by James Gosling, and the file extension was .gt.  4) After that, it was called Oak and was developed as a part of the Green project. History of Java
  • 11.   5) Why Oak? Oak is a symbol of strength and chosen as a national tree of many countries like the U.S.A., France, Germany, Romania, etc.  6) In 1995, Oak was renamed as "Java" because it was already a trademark by Oak Technologies. Why Java was named as "Oak"?
  • 12.   Java is an island in Indonesia where the first coffee was produced (called Java coffee). It is a kind of espresso bean. Java name was chosen by James Gosling while having a cup of coffee nearby his office.  In 1995, Time magazine called Java one of the Ten Best Products of 1995. Why Java Programming named "Java"?
  • 13.
  • 16.   Object-oriented programming is a way of solving a complex problem by breaking them into a small sub- problem. An object is a real-world entity. It is easier to develop a program by using an object. In OOPs, we create programs using class and object in a structured manner.  Class: A class is a template or blueprint or prototype that defines data members and methods of an object. An object is the instance of the class. We can define a class by using the class keyword.  Object: An object is a real-world entity that can be identified distinctly. For example, a desk, a circle can be considered as objects. An object has a unique behavior, identity, and state. Data fields with their current values represent the state of an object (also known as its properties or attributes). Object Oriented Programming System
  • 17.   Abstraction: An abstraction is a method of hiding irrelevant information from the user. For example, the driver only knows how to drive a car; there is no need to know how does the car run. We can make a class abstract by using the keyword abstract. In Java, we use abstract class and interface to achieve abstraction.  Encapsulation: An encapsulation is the process of binding data and functions into a single unit. A class is an example of encapsulation. In Java, Java bean is a fully encapsulated class.  Inheritance: Inheritance is the mechanism in which one class acquire all the features of another class. We can achieve inheritance by using the extends keyword. It facilitates the reusability of the code.  Polymorphism: The polymorphism is the ability to appear in many forms. In other words, single action in different ways. For example, a boy in the classroom behaves like a student, in house behaves like a son. There are two types of polymorphism: run time polymorphism and compile-time polymorphism.