SlideShare a Scribd company logo
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?
Most read
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
Most read
8

 Simple
 Robust
 Portable
 Platform-independent
 Secured
 High Performance
 Multithreaded
 Architecture Neutral
 Object-Oriented Interpreted
 Dynamic
Principles of Java
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)

Basics of JAVA programming
Basics of JAVA programmingBasics of JAVA programming
Basics of JAVA programming
Elizabeth Thomas
 
Structure of java program diff c- cpp and java
Structure of java program  diff c- cpp and javaStructure of java program  diff c- cpp and java
Structure of java program diff c- cpp and java
Madishetty Prathibha
 
Applets in java
Applets in javaApplets in java
Applets in java
Wani Zahoor
 
Core java complete ppt(note)
Core java  complete  ppt(note)Core java  complete  ppt(note)
Core java complete ppt(note)
arvind pandey
 
Control structures in java
Control structures in javaControl structures in java
Control structures in java
VINOTH R
 
oops concept in java | object oriented programming in java
oops concept in java | object oriented programming in javaoops concept in java | object oriented programming in java
oops concept in java | object oriented programming in java
CPD INDIA
 
Java variable types
Java variable typesJava variable types
Java variable types
Soba Arjun
 
JVM
JVMJVM
JVM
baabtra.com - No. 1 supplier of quality freshers
 
Introduction to java
Introduction to javaIntroduction to java
Introduction to java
Ajay Sharma
 
9. Input Output in java
9. Input Output in java9. Input Output in java
9. Input Output in java
Nilesh Dalvi
 
Introduction to method overloading & method overriding in java hdm
Introduction to method overloading & method overriding  in java  hdmIntroduction to method overloading & method overriding  in java  hdm
Introduction to method overloading & method overriding in java hdm
Harshal Misalkar
 
Java interfaces
Java interfacesJava interfaces
Java interfaces
Raja Sekhar
 
java ppt.pdf
java ppt.pdfjava ppt.pdf
java ppt.pdf
PriyaMaurya52
 
Functions in c
Functions in cFunctions in c
Functions in c
sunila tharagaturi
 
Constructor ppt
Constructor pptConstructor ppt
Constructor ppt
Vinod Kumar
 
C if else
C if elseC if else
C if else
Ritwik Das
 
input/ output in java
input/ output  in javainput/ output  in java
input/ output in java
sharma230399
 
Java Programming
Java ProgrammingJava Programming
Java Programming
Anjan Mahanta
 
Java IO
Java IOJava IO
Java IO
UTSAB NEUPANE
 
Java(Polymorphism)
Java(Polymorphism)Java(Polymorphism)
Java(Polymorphism)
harsh kothari
 
Basics of JAVA programming
Basics of JAVA programmingBasics of JAVA programming
Basics of JAVA programming
Elizabeth Thomas
 
Structure of java program diff c- cpp and java
Structure of java program  diff c- cpp and javaStructure of java program  diff c- cpp and java
Structure of java program diff c- cpp and java
Madishetty Prathibha
 
Core java complete ppt(note)
Core java  complete  ppt(note)Core java  complete  ppt(note)
Core java complete ppt(note)
arvind pandey
 
Control structures in java
Control structures in javaControl structures in java
Control structures in java
VINOTH R
 
oops concept in java | object oriented programming in java
oops concept in java | object oriented programming in javaoops concept in java | object oriented programming in java
oops concept in java | object oriented programming in java
CPD INDIA
 
Java variable types
Java variable typesJava variable types
Java variable types
Soba Arjun
 
Introduction to java
Introduction to javaIntroduction to java
Introduction to java
Ajay Sharma
 
9. Input Output in java
9. Input Output in java9. Input Output in java
9. Input Output in java
Nilesh Dalvi
 
Introduction to method overloading & method overriding in java hdm
Introduction to method overloading & method overriding  in java  hdmIntroduction to method overloading & method overriding  in java  hdm
Introduction to method overloading & method overriding in java hdm
Harshal Misalkar
 
input/ output in java
input/ output  in javainput/ output  in java
input/ output in java
sharma230399
 

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

Java
JavaJava
Java
seenak
 
ILOVE you11111111111111111111111111.pptx
ILOVE you11111111111111111111111111.pptxILOVE you11111111111111111111111111.pptx
ILOVE you11111111111111111111111111.pptx
RobertCarreonBula
 
Java
JavaJava
Java
Harry Potter
 
Java
JavaJava
Java
James Wong
 
Java
JavaJava
Java
Tony Nguyen
 
Java
JavaJava
Java
Fraboni Ec
 
Java
JavaJava
Java
Luis Goldster
 
Java
JavaJava
Java
Young Alista
 
what is java.pdf
what is java.pdfwhat is java.pdf
what is java.pdf
XanGwaps
 
Java technology is widely used currently. Let's start learning of java from b...
Java technology is widely used currently. Let's start learning of java from b...Java technology is widely used currently. Let's start learning of java from b...
Java technology is widely used currently. Let's start learning of java from b...
aliblackcat76
 
Chapter-1 Introduction.pptx
Chapter-1 Introduction.pptxChapter-1 Introduction.pptx
Chapter-1 Introduction.pptx
SumanBhandari40
 
Java Concepts and Features-Programming in Java
Java Concepts and Features-Programming in JavaJava Concepts and Features-Programming in Java
Java Concepts and Features-Programming in Java
jasminebeulahg
 
Java Lecture 1
Java Lecture 1Java Lecture 1
Java Lecture 1
Qualys
 
Chapter 1 (1).pptx
Chapter 1 (1).pptxChapter 1 (1).pptx
Chapter 1 (1).pptx
krishnashah277578
 
TechSearchWeb Tutorials.pdf
TechSearchWeb Tutorials.pdfTechSearchWeb Tutorials.pdf
TechSearchWeb Tutorials.pdf
TechSearchWeb
 
JAVA_INTRODUCTION- History, Constructor, Inheritance
JAVA_INTRODUCTION- History, Constructor, InheritanceJAVA_INTRODUCTION- History, Constructor, Inheritance
JAVA_INTRODUCTION- History, Constructor, Inheritance
Usha P
 
1 .java basic
1 .java basic1 .java basic
1 .java basic
Indu Sharma Bhardwaj
 
TechSearchWeb.pdf
TechSearchWeb.pdfTechSearchWeb.pdf
TechSearchWeb.pdf
TechSearchWeb
 
Technology Tutorial.pdf
Technology Tutorial.pdfTechnology Tutorial.pdf
Technology Tutorial.pdf
TechSearchWeb
 
JAVAPart1_BasicIntroduction.pptx
JAVAPart1_BasicIntroduction.pptxJAVAPart1_BasicIntroduction.pptx
JAVAPart1_BasicIntroduction.pptx
Murugesh33
 
ILOVE you11111111111111111111111111.pptx
ILOVE you11111111111111111111111111.pptxILOVE you11111111111111111111111111.pptx
ILOVE you11111111111111111111111111.pptx
RobertCarreonBula
 
what is java.pdf
what is java.pdfwhat is java.pdf
what is java.pdf
XanGwaps
 
Java technology is widely used currently. Let's start learning of java from b...
Java technology is widely used currently. Let's start learning of java from b...Java technology is widely used currently. Let's start learning of java from b...
Java technology is widely used currently. Let's start learning of java from b...
aliblackcat76
 
Chapter-1 Introduction.pptx
Chapter-1 Introduction.pptxChapter-1 Introduction.pptx
Chapter-1 Introduction.pptx
SumanBhandari40
 
Java Concepts and Features-Programming in Java
Java Concepts and Features-Programming in JavaJava Concepts and Features-Programming in Java
Java Concepts and Features-Programming in Java
jasminebeulahg
 
Java Lecture 1
Java Lecture 1Java Lecture 1
Java Lecture 1
Qualys
 
TechSearchWeb Tutorials.pdf
TechSearchWeb Tutorials.pdfTechSearchWeb Tutorials.pdf
TechSearchWeb Tutorials.pdf
TechSearchWeb
 
JAVA_INTRODUCTION- History, Constructor, Inheritance
JAVA_INTRODUCTION- History, Constructor, InheritanceJAVA_INTRODUCTION- History, Constructor, Inheritance
JAVA_INTRODUCTION- History, Constructor, Inheritance
Usha P
 
Technology Tutorial.pdf
Technology Tutorial.pdfTechnology Tutorial.pdf
Technology Tutorial.pdf
TechSearchWeb
 
JAVAPart1_BasicIntroduction.pptx
JAVAPart1_BasicIntroduction.pptxJAVAPart1_BasicIntroduction.pptx
JAVAPart1_BasicIntroduction.pptx
Murugesh33
 
Ad

More from SeethaDinesh (20)

Input Devices.pptx
Input Devices.pptxInput Devices.pptx
Input Devices.pptx
SeethaDinesh
 
Generations of Computers.ppt
Generations of Computers.pptGenerations of Computers.ppt
Generations of Computers.ppt
SeethaDinesh
 
Inheritance in java.ppt
Inheritance in java.pptInheritance in java.ppt
Inheritance in java.ppt
SeethaDinesh
 
Arrays in JAVA.ppt
Arrays in JAVA.pptArrays in JAVA.ppt
Arrays in JAVA.ppt
SeethaDinesh
 
Cloud Computing Basics.pptx
Cloud Computing Basics.pptxCloud Computing Basics.pptx
Cloud Computing Basics.pptx
SeethaDinesh
 
unit 5 stack & queue.ppt
unit 5 stack & queue.pptunit 5 stack & queue.ppt
unit 5 stack & queue.ppt
SeethaDinesh
 
Greedy_Backtracking graph coloring.ppt
Greedy_Backtracking graph coloring.pptGreedy_Backtracking graph coloring.ppt
Greedy_Backtracking graph coloring.ppt
SeethaDinesh
 
Structure and Union.ppt
Structure and Union.pptStructure and Union.ppt
Structure and Union.ppt
SeethaDinesh
 
Shortest Path Problem.docx
Shortest Path Problem.docxShortest Path Problem.docx
Shortest Path Problem.docx
SeethaDinesh
 
BINARY TREE REPRESENTATION.ppt
BINARY TREE REPRESENTATION.pptBINARY TREE REPRESENTATION.ppt
BINARY TREE REPRESENTATION.ppt
SeethaDinesh
 
NME UNIT II.ppt
NME UNIT II.pptNME UNIT II.ppt
NME UNIT II.ppt
SeethaDinesh
 
DS UNIT 1.pdf
DS UNIT 1.pdfDS UNIT 1.pdf
DS UNIT 1.pdf
SeethaDinesh
 
Basics of C.ppt
Basics of C.pptBasics of C.ppt
Basics of C.ppt
SeethaDinesh
 
chapter 1.pptx
chapter 1.pptxchapter 1.pptx
chapter 1.pptx
SeethaDinesh
 
DW unit 3.pptx
DW unit 3.pptxDW unit 3.pptx
DW unit 3.pptx
SeethaDinesh
 
DW unit 2.pdf
DW unit 2.pdfDW unit 2.pdf
DW unit 2.pdf
SeethaDinesh
 
DW Unit 1.pdf
DW Unit 1.pdfDW Unit 1.pdf
DW Unit 1.pdf
SeethaDinesh
 
NME WPI UNIt 3.pptx
NME WPI UNIt 3.pptxNME WPI UNIt 3.pptx
NME WPI UNIt 3.pptx
SeethaDinesh
 
NME UNIT I & II MATERIAL.pdf
NME UNIT I & II MATERIAL.pdfNME UNIT I & II MATERIAL.pdf
NME UNIT I & II MATERIAL.pdf
SeethaDinesh
 
graphtraversals.pdf
graphtraversals.pdfgraphtraversals.pdf
graphtraversals.pdf
SeethaDinesh
 
Input Devices.pptx
Input Devices.pptxInput Devices.pptx
Input Devices.pptx
SeethaDinesh
 
Generations of Computers.ppt
Generations of Computers.pptGenerations of Computers.ppt
Generations of Computers.ppt
SeethaDinesh
 
Inheritance in java.ppt
Inheritance in java.pptInheritance in java.ppt
Inheritance in java.ppt
SeethaDinesh
 
Arrays in JAVA.ppt
Arrays in JAVA.pptArrays in JAVA.ppt
Arrays in JAVA.ppt
SeethaDinesh
 
Cloud Computing Basics.pptx
Cloud Computing Basics.pptxCloud Computing Basics.pptx
Cloud Computing Basics.pptx
SeethaDinesh
 
unit 5 stack & queue.ppt
unit 5 stack & queue.pptunit 5 stack & queue.ppt
unit 5 stack & queue.ppt
SeethaDinesh
 
Greedy_Backtracking graph coloring.ppt
Greedy_Backtracking graph coloring.pptGreedy_Backtracking graph coloring.ppt
Greedy_Backtracking graph coloring.ppt
SeethaDinesh
 
Structure and Union.ppt
Structure and Union.pptStructure and Union.ppt
Structure and Union.ppt
SeethaDinesh
 
Shortest Path Problem.docx
Shortest Path Problem.docxShortest Path Problem.docx
Shortest Path Problem.docx
SeethaDinesh
 
BINARY TREE REPRESENTATION.ppt
BINARY TREE REPRESENTATION.pptBINARY TREE REPRESENTATION.ppt
BINARY TREE REPRESENTATION.ppt
SeethaDinesh
 
NME WPI UNIt 3.pptx
NME WPI UNIt 3.pptxNME WPI UNIt 3.pptx
NME WPI UNIt 3.pptx
SeethaDinesh
 
NME UNIT I & II MATERIAL.pdf
NME UNIT I & II MATERIAL.pdfNME UNIT I & II MATERIAL.pdf
NME UNIT I & II MATERIAL.pdf
SeethaDinesh
 
graphtraversals.pdf
graphtraversals.pdfgraphtraversals.pdf
graphtraversals.pdf
SeethaDinesh
 
Ad

Recently uploaded (20)

Diptera: The Two-Winged Wonders, The Fly Squad: Order Diptera.pptx
Diptera: The Two-Winged Wonders, The Fly Squad: Order Diptera.pptxDiptera: The Two-Winged Wonders, The Fly Squad: Order Diptera.pptx
Diptera: The Two-Winged Wonders, The Fly Squad: Order Diptera.pptx
Arshad Shaikh
 
Gibson "Secrets to Changing Behaviour in Scholarly Communication: A 2025 NISO...
Gibson "Secrets to Changing Behaviour in Scholarly Communication: A 2025 NISO...Gibson "Secrets to Changing Behaviour in Scholarly Communication: A 2025 NISO...
Gibson "Secrets to Changing Behaviour in Scholarly Communication: A 2025 NISO...
National Information Standards Organization (NISO)
 
Unit 3 Poster Sketches with annotations.pptx
Unit 3 Poster Sketches with annotations.pptxUnit 3 Poster Sketches with annotations.pptx
Unit 3 Poster Sketches with annotations.pptx
bobby205207
 
Energy Balances Of Oecd Countries 2011 Iea Statistics 1st Edition Oecd
Energy Balances Of Oecd Countries 2011 Iea Statistics 1st Edition OecdEnergy Balances Of Oecd Countries 2011 Iea Statistics 1st Edition Oecd
Energy Balances Of Oecd Countries 2011 Iea Statistics 1st Edition Oecd
razelitouali
 
What is FIle and explanation of text files.pptx
What is FIle and explanation of text files.pptxWhat is FIle and explanation of text files.pptx
What is FIle and explanation of text files.pptx
Ramakrishna Reddy Bijjam
 
Trends Spotting Strategic foresight for tomorrow’s education systems - Debora...
Trends Spotting Strategic foresight for tomorrow’s education systems - Debora...Trends Spotting Strategic foresight for tomorrow’s education systems - Debora...
Trends Spotting Strategic foresight for tomorrow’s education systems - Debora...
EduSkills OECD
 
BUSINESS QUIZ PRELIMS | QUIZ CLUB OF PSGCAS | 9 SEPTEMBER 2024
BUSINESS QUIZ PRELIMS | QUIZ CLUB OF PSGCAS | 9 SEPTEMBER 2024BUSINESS QUIZ PRELIMS | QUIZ CLUB OF PSGCAS | 9 SEPTEMBER 2024
BUSINESS QUIZ PRELIMS | QUIZ CLUB OF PSGCAS | 9 SEPTEMBER 2024
Quiz Club of PSG College of Arts & Science
 
Parenting Teens: Supporting Trust, resilience and independence
Parenting Teens: Supporting Trust, resilience and independenceParenting Teens: Supporting Trust, resilience and independence
Parenting Teens: Supporting Trust, resilience and independence
Pooky Knightsmith
 
Exploring Ocean Floor Features for Middle School
Exploring Ocean Floor Features for Middle SchoolExploring Ocean Floor Features for Middle School
Exploring Ocean Floor Features for Middle School
Marie
 
How to Manage Upselling of Subscriptions in Odoo 18
How to Manage Upselling of Subscriptions in Odoo 18How to Manage Upselling of Subscriptions in Odoo 18
How to Manage Upselling of Subscriptions in Odoo 18
Celine George
 
LDMMIA Reiki Yoga Next Week Grad Updates
LDMMIA Reiki Yoga Next Week Grad UpdatesLDMMIA Reiki Yoga Next Week Grad Updates
LDMMIA Reiki Yoga Next Week Grad Updates
LDM & Mia eStudios
 
How to Configure Vendor Management in Lunch App of Odoo 18
How to Configure Vendor Management in Lunch App of Odoo 18How to Configure Vendor Management in Lunch App of Odoo 18
How to Configure Vendor Management in Lunch App of Odoo 18
Celine George
 
How to Create Quotation Templates Sequence in Odoo 18 Sales
How to Create Quotation Templates Sequence in Odoo 18 SalesHow to Create Quotation Templates Sequence in Odoo 18 Sales
How to Create Quotation Templates Sequence in Odoo 18 Sales
Celine George
 
Webcrawler_Mule_AIChain_MuleSoft_Meetup_Hyderabad
Webcrawler_Mule_AIChain_MuleSoft_Meetup_HyderabadWebcrawler_Mule_AIChain_MuleSoft_Meetup_Hyderabad
Webcrawler_Mule_AIChain_MuleSoft_Meetup_Hyderabad
Veera Pallapu
 
TV Shows and web-series quiz | QUIZ CLUB OF PSGCAS | 13TH MARCH 2025
TV Shows and web-series quiz | QUIZ CLUB OF PSGCAS | 13TH MARCH 2025TV Shows and web-series quiz | QUIZ CLUB OF PSGCAS | 13TH MARCH 2025
TV Shows and web-series quiz | QUIZ CLUB OF PSGCAS | 13TH MARCH 2025
Quiz Club of PSG College of Arts & Science
 
Pfeiffer "Secrets to Changing Behavior in Scholarly Communication: A 2025 NIS...
Pfeiffer "Secrets to Changing Behavior in Scholarly Communication: A 2025 NIS...Pfeiffer "Secrets to Changing Behavior in Scholarly Communication: A 2025 NIS...
Pfeiffer "Secrets to Changing Behavior in Scholarly Communication: A 2025 NIS...
National Information Standards Organization (NISO)
 
LDMMIA Free Reiki Yoga S9 Grad Level Intuition II
LDMMIA Free Reiki Yoga S9 Grad Level Intuition IILDMMIA Free Reiki Yoga S9 Grad Level Intuition II
LDMMIA Free Reiki Yoga S9 Grad Level Intuition II
LDM & Mia eStudios
 
Module 4 Presentation - Enhancing Competencies and Engagement Strategies in Y...
Module 4 Presentation - Enhancing Competencies and Engagement Strategies in Y...Module 4 Presentation - Enhancing Competencies and Engagement Strategies in Y...
Module 4 Presentation - Enhancing Competencies and Engagement Strategies in Y...
GeorgeDiamandis11
 
SEXUALITY , UNWANTED PREGANCY AND SEXUAL ASSAULT .pptx
SEXUALITY , UNWANTED PREGANCY AND SEXUAL ASSAULT .pptxSEXUALITY , UNWANTED PREGANCY AND SEXUAL ASSAULT .pptx
SEXUALITY , UNWANTED PREGANCY AND SEXUAL ASSAULT .pptx
PoojaSen20
 
Nice Dream.pdf /
Nice Dream.pdf                              /Nice Dream.pdf                              /
Nice Dream.pdf /
ErinUsher3
 
Diptera: The Two-Winged Wonders, The Fly Squad: Order Diptera.pptx
Diptera: The Two-Winged Wonders, The Fly Squad: Order Diptera.pptxDiptera: The Two-Winged Wonders, The Fly Squad: Order Diptera.pptx
Diptera: The Two-Winged Wonders, The Fly Squad: Order Diptera.pptx
Arshad Shaikh
 
Unit 3 Poster Sketches with annotations.pptx
Unit 3 Poster Sketches with annotations.pptxUnit 3 Poster Sketches with annotations.pptx
Unit 3 Poster Sketches with annotations.pptx
bobby205207
 
Energy Balances Of Oecd Countries 2011 Iea Statistics 1st Edition Oecd
Energy Balances Of Oecd Countries 2011 Iea Statistics 1st Edition OecdEnergy Balances Of Oecd Countries 2011 Iea Statistics 1st Edition Oecd
Energy Balances Of Oecd Countries 2011 Iea Statistics 1st Edition Oecd
razelitouali
 
What is FIle and explanation of text files.pptx
What is FIle and explanation of text files.pptxWhat is FIle and explanation of text files.pptx
What is FIle and explanation of text files.pptx
Ramakrishna Reddy Bijjam
 
Trends Spotting Strategic foresight for tomorrow’s education systems - Debora...
Trends Spotting Strategic foresight for tomorrow’s education systems - Debora...Trends Spotting Strategic foresight for tomorrow’s education systems - Debora...
Trends Spotting Strategic foresight for tomorrow’s education systems - Debora...
EduSkills OECD
 
Parenting Teens: Supporting Trust, resilience and independence
Parenting Teens: Supporting Trust, resilience and independenceParenting Teens: Supporting Trust, resilience and independence
Parenting Teens: Supporting Trust, resilience and independence
Pooky Knightsmith
 
Exploring Ocean Floor Features for Middle School
Exploring Ocean Floor Features for Middle SchoolExploring Ocean Floor Features for Middle School
Exploring Ocean Floor Features for Middle School
Marie
 
How to Manage Upselling of Subscriptions in Odoo 18
How to Manage Upselling of Subscriptions in Odoo 18How to Manage Upselling of Subscriptions in Odoo 18
How to Manage Upselling of Subscriptions in Odoo 18
Celine George
 
LDMMIA Reiki Yoga Next Week Grad Updates
LDMMIA Reiki Yoga Next Week Grad UpdatesLDMMIA Reiki Yoga Next Week Grad Updates
LDMMIA Reiki Yoga Next Week Grad Updates
LDM & Mia eStudios
 
How to Configure Vendor Management in Lunch App of Odoo 18
How to Configure Vendor Management in Lunch App of Odoo 18How to Configure Vendor Management in Lunch App of Odoo 18
How to Configure Vendor Management in Lunch App of Odoo 18
Celine George
 
How to Create Quotation Templates Sequence in Odoo 18 Sales
How to Create Quotation Templates Sequence in Odoo 18 SalesHow to Create Quotation Templates Sequence in Odoo 18 Sales
How to Create Quotation Templates Sequence in Odoo 18 Sales
Celine George
 
Webcrawler_Mule_AIChain_MuleSoft_Meetup_Hyderabad
Webcrawler_Mule_AIChain_MuleSoft_Meetup_HyderabadWebcrawler_Mule_AIChain_MuleSoft_Meetup_Hyderabad
Webcrawler_Mule_AIChain_MuleSoft_Meetup_Hyderabad
Veera Pallapu
 
LDMMIA Free Reiki Yoga S9 Grad Level Intuition II
LDMMIA Free Reiki Yoga S9 Grad Level Intuition IILDMMIA Free Reiki Yoga S9 Grad Level Intuition II
LDMMIA Free Reiki Yoga S9 Grad Level Intuition II
LDM & Mia eStudios
 
Module 4 Presentation - Enhancing Competencies and Engagement Strategies in Y...
Module 4 Presentation - Enhancing Competencies and Engagement Strategies in Y...Module 4 Presentation - Enhancing Competencies and Engagement Strategies in Y...
Module 4 Presentation - Enhancing Competencies and Engagement Strategies in Y...
GeorgeDiamandis11
 
SEXUALITY , UNWANTED PREGANCY AND SEXUAL ASSAULT .pptx
SEXUALITY , UNWANTED PREGANCY AND SEXUAL ASSAULT .pptxSEXUALITY , UNWANTED PREGANCY AND SEXUAL ASSAULT .pptx
SEXUALITY , UNWANTED PREGANCY AND SEXUAL ASSAULT .pptx
PoojaSen20
 
Nice Dream.pdf /
Nice Dream.pdf                              /Nice Dream.pdf                              /
Nice Dream.pdf /
ErinUsher3
 

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.