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
 
Java Programming
Java ProgrammingJava Programming
Java Programming
Elizabeth alexander
 
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
 
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
 
Introduction to Java Programming, Basic Structure, variables Data type, input...
Introduction to Java Programming, Basic Structure, variables Data type, input...Introduction to Java Programming, Basic Structure, variables Data type, input...
Introduction to Java Programming, Basic Structure, variables Data type, input...
Mr. Akaash
 
Java IO
Java IOJava IO
Java IO
UTSAB NEUPANE
 
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
 
Introduction to Java Programming, Basic Structure, variables Data type, input...
Introduction to Java Programming, Basic Structure, variables Data type, input...Introduction to Java Programming, Basic Structure, variables Data type, input...
Introduction to Java Programming, Basic Structure, variables Data type, input...
Mr. Akaash
 

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

Java
JavaJava
Java
seenak
 
1 .java basic
1 .java basic1 .java basic
1 .java basic
Indu Sharma Bhardwaj
 
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 PPT
Java PPTJava PPT
Java PPT
Dilip Kr. Jangir
 
Java basics
Java basicsJava basics
Java basics
Omkar Lokhande
 
Java programming Evolution-OverviewOfJava.pdf
Java programming Evolution-OverviewOfJava.pdfJava programming Evolution-OverviewOfJava.pdf
Java programming Evolution-OverviewOfJava.pdf
AbhishekSingh961152
 
JAVA_INTRODUCTION- History, Constructor, Inheritance
JAVA_INTRODUCTION- History, Constructor, InheritanceJAVA_INTRODUCTION- History, Constructor, Inheritance
JAVA_INTRODUCTION- History, Constructor, Inheritance
Usha P
 
Java introduction
Java introductionJava introduction
Java introduction
NAVEENA ESWARAN
 
OOP with Java
OOP with JavaOOP with Java
OOP with Java
OmegaHub
 
Lecture - 1 introduction to java
Lecture - 1 introduction to javaLecture - 1 introduction to java
Lecture - 1 introduction to java
manish kumar
 
JAVA_INTRODUCTION- History, Constructor, Inheritance
JAVA_INTRODUCTION- History, Constructor, InheritanceJAVA_INTRODUCTION- History, Constructor, Inheritance
JAVA_INTRODUCTION- History, Constructor, Inheritance
Usha P
 
Chapter 1 (1).pptx
Chapter 1 (1).pptxChapter 1 (1).pptx
Chapter 1 (1).pptx
krishnashah277578
 
www.reallygreatsite.com (4).pdf
www.reallygreatsite.com (4).pdfwww.reallygreatsite.com (4).pdf
www.reallygreatsite.com (4).pdf
Excellence Academy
 
java basic for begginers
java basic for begginersjava basic for begginers
java basic for begginers
divaskrgupta007
 
Java1
Java1Java1
Java1
computertuitions
 
Java
Java Java
Java
computertuitions
 
Java Tutorial to Learn Java Programming
Java Tutorial to Learn Java ProgrammingJava Tutorial to Learn Java Programming
Java Tutorial to Learn Java Programming
business Corporate
 
JAVA ALL 5 MODULE NOTES.pptx
JAVA ALL 5 MODULE NOTES.pptxJAVA ALL 5 MODULE NOTES.pptx
JAVA ALL 5 MODULE NOTES.pptx
DrPreethiD1
 
Java Basic.pdf
Java Basic.pdfJava Basic.pdf
Java Basic.pdf
TechSearchWeb
 
Introduction to java
Introduction to javaIntroduction to java
Introduction to java
Sujit Majety
 
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 programming Evolution-OverviewOfJava.pdf
Java programming Evolution-OverviewOfJava.pdfJava programming Evolution-OverviewOfJava.pdf
Java programming Evolution-OverviewOfJava.pdf
AbhishekSingh961152
 
JAVA_INTRODUCTION- History, Constructor, Inheritance
JAVA_INTRODUCTION- History, Constructor, InheritanceJAVA_INTRODUCTION- History, Constructor, Inheritance
JAVA_INTRODUCTION- History, Constructor, Inheritance
Usha P
 
OOP with Java
OOP with JavaOOP with Java
OOP with Java
OmegaHub
 
Lecture - 1 introduction to java
Lecture - 1 introduction to javaLecture - 1 introduction to java
Lecture - 1 introduction to java
manish kumar
 
JAVA_INTRODUCTION- History, Constructor, Inheritance
JAVA_INTRODUCTION- History, Constructor, InheritanceJAVA_INTRODUCTION- History, Constructor, Inheritance
JAVA_INTRODUCTION- History, Constructor, Inheritance
Usha P
 
www.reallygreatsite.com (4).pdf
www.reallygreatsite.com (4).pdfwww.reallygreatsite.com (4).pdf
www.reallygreatsite.com (4).pdf
Excellence Academy
 
java basic for begginers
java basic for begginersjava basic for begginers
java basic for begginers
divaskrgupta007
 
Java Tutorial to Learn Java Programming
Java Tutorial to Learn Java ProgrammingJava Tutorial to Learn Java Programming
Java Tutorial to Learn Java Programming
business Corporate
 
JAVA ALL 5 MODULE NOTES.pptx
JAVA ALL 5 MODULE NOTES.pptxJAVA ALL 5 MODULE NOTES.pptx
JAVA ALL 5 MODULE NOTES.pptx
DrPreethiD1
 
Introduction to java
Introduction to javaIntroduction to java
Introduction to java
Sujit Majety
 
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)

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)
 
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
 
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
 
Respiratory System , Urinary System
Respiratory  System , Urinary SystemRespiratory  System , Urinary System
Respiratory System , Urinary System
RushiMandali
 
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
 
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
 
Capitol Doctoral Presentation -June 2025.pptx
Capitol Doctoral Presentation -June 2025.pptxCapitol Doctoral Presentation -June 2025.pptx
Capitol Doctoral Presentation -June 2025.pptx
CapitolTechU
 
Final Sketch Designs for poster production.pptx
Final Sketch Designs for poster production.pptxFinal Sketch Designs for poster production.pptx
Final Sketch Designs for poster production.pptx
bobby205207
 
Allomorps and word formation.pptx - Google Slides.pdf
Allomorps and word formation.pptx - Google Slides.pdfAllomorps and word formation.pptx - Google Slides.pdf
Allomorps and word formation.pptx - Google Slides.pdf
Abha Pandey
 
june 10 2025 ppt for madden on art science is over.pptx
june 10 2025 ppt for madden on art science is over.pptxjune 10 2025 ppt for madden on art science is over.pptx
june 10 2025 ppt for madden on art science is over.pptx
roger malina
 
How to Manage Maintenance Request in Odoo 18
How to Manage Maintenance Request in Odoo 18How to Manage Maintenance Request in Odoo 18
How to Manage Maintenance Request in Odoo 18
Celine George
 
IDF 30min presentation - December 2, 2024.pptx
IDF 30min presentation - December 2, 2024.pptxIDF 30min presentation - December 2, 2024.pptx
IDF 30min presentation - December 2, 2024.pptx
ArneeAgligar
 
Ray Dalio How Countries go Broke the Big Cycle
Ray Dalio How Countries go Broke the Big CycleRay Dalio How Countries go Broke the Big Cycle
Ray Dalio How Countries go Broke the Big Cycle
Dadang Solihin
 
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
 
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
 
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
 
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)
 
MATERI PPT TOPIK 1 LANDASAN FILOSOFIS PENDIDIKAN
MATERI PPT TOPIK 1 LANDASAN FILOSOFIS PENDIDIKANMATERI PPT TOPIK 1 LANDASAN FILOSOFIS PENDIDIKAN
MATERI PPT TOPIK 1 LANDASAN FILOSOFIS PENDIDIKAN
aditya23173
 
Unit- 4 Biostatistics & Research Methodology.pdf
Unit- 4 Biostatistics & Research Methodology.pdfUnit- 4 Biostatistics & Research Methodology.pdf
Unit- 4 Biostatistics & Research Methodology.pdf
KRUTIKA CHANNE
 
How to Create a Rainbow Man Effect in Odoo 18
How to Create a Rainbow Man Effect in Odoo 18How to Create a Rainbow Man Effect in Odoo 18
How to Create a Rainbow Man Effect in Odoo 18
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
 
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
 
Respiratory System , Urinary System
Respiratory  System , Urinary SystemRespiratory  System , Urinary System
Respiratory System , Urinary System
RushiMandali
 
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
 
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
 
Capitol Doctoral Presentation -June 2025.pptx
Capitol Doctoral Presentation -June 2025.pptxCapitol Doctoral Presentation -June 2025.pptx
Capitol Doctoral Presentation -June 2025.pptx
CapitolTechU
 
Final Sketch Designs for poster production.pptx
Final Sketch Designs for poster production.pptxFinal Sketch Designs for poster production.pptx
Final Sketch Designs for poster production.pptx
bobby205207
 
Allomorps and word formation.pptx - Google Slides.pdf
Allomorps and word formation.pptx - Google Slides.pdfAllomorps and word formation.pptx - Google Slides.pdf
Allomorps and word formation.pptx - Google Slides.pdf
Abha Pandey
 
june 10 2025 ppt for madden on art science is over.pptx
june 10 2025 ppt for madden on art science is over.pptxjune 10 2025 ppt for madden on art science is over.pptx
june 10 2025 ppt for madden on art science is over.pptx
roger malina
 
How to Manage Maintenance Request in Odoo 18
How to Manage Maintenance Request in Odoo 18How to Manage Maintenance Request in Odoo 18
How to Manage Maintenance Request in Odoo 18
Celine George
 
IDF 30min presentation - December 2, 2024.pptx
IDF 30min presentation - December 2, 2024.pptxIDF 30min presentation - December 2, 2024.pptx
IDF 30min presentation - December 2, 2024.pptx
ArneeAgligar
 
Ray Dalio How Countries go Broke the Big Cycle
Ray Dalio How Countries go Broke the Big CycleRay Dalio How Countries go Broke the Big Cycle
Ray Dalio How Countries go Broke the Big Cycle
Dadang Solihin
 
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
 
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
 
MATERI PPT TOPIK 1 LANDASAN FILOSOFIS PENDIDIKAN
MATERI PPT TOPIK 1 LANDASAN FILOSOFIS PENDIDIKANMATERI PPT TOPIK 1 LANDASAN FILOSOFIS PENDIDIKAN
MATERI PPT TOPIK 1 LANDASAN FILOSOFIS PENDIDIKAN
aditya23173
 
Unit- 4 Biostatistics & Research Methodology.pdf
Unit- 4 Biostatistics & Research Methodology.pdfUnit- 4 Biostatistics & Research Methodology.pdf
Unit- 4 Biostatistics & Research Methodology.pdf
KRUTIKA CHANNE
 
How to Create a Rainbow Man Effect in Odoo 18
How to Create a Rainbow Man Effect in Odoo 18How to Create a Rainbow Man Effect in Odoo 18
How to Create a Rainbow Man Effect in Odoo 18
Celine George
 

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.