SlideShare a Scribd company logo
Introduction to Object-Oriented Concepts and Java
Introduction to Object-Oriented Concepts and Java
Introduction to Object-Oriented Concepts and Java
•Class
–Is a blueprint or template of an object
–It represents broad groups of objects
–It contains elements common to a
group of objects
–Example:
•Flower •Vehicle
•Object
–Is an instance of a class
–It is a specific occurrence of a class
–Objects have state and behavior
–Example:
•Cat is an instance of the class Animal
•Car is an instance of the class Vehicle
–A cat has several states: asleep, alive, lost Its
behavior could be: eating, jumping, etc.
•Encapsulation
–Means that data and instructions are
wrapped up together and treated as a
unit
•Inheritance
–Ability to “inherit”, use or modify
existing or predefined classes
•Polymorphism
–The ability of objects to respond or
behave differently
–Example: Different animals respond
differently to a command such as
“Speak!”. A cat “purrs”, a dog “barks”,
and a cow “moos”
•Is an object-oriented programming
language
•Is both a programming language
and a platform
•Java is hardware-independent and
can run on various operating systems
It’s the current “hot” language
It’s almost entirely object-oriented
It has a vast library of predefined
objects and operations
It’s more platform independent
this makes it great for Web
programming
It’s more secure
It isn’t C++
•As a programming language, it
–Contains specifications for writing or coding
programs
–Has a compiler for checking syntax and
converting programs to bytecodes
–Has a rich set of APIs (Application
Programming Interfaces) that can be reused
and modified
•As a platform, it
–Converts bytecodes into executable
code
–Has a JVM (Java Virtual Machine) to
run java programs on various
operating systems
•Was created in 1991 by James Gosling, et al.
of Sun Microsystems
•It was originally designed for consumer
electronic devices and was called Oak
•With the advent of the Internet, Sun
developed a browser named HotJava using
Oak
•In 1994, Sun renamed Oak to Java and released
a free alpha version of the JDK (Java
Developer’s Kit) composed of Java and HotJava
•In 1996, Netscape Communications Corp
announced support for Java applets which was
later included in version 2.0 of the Navigator
browser.
JDK Evolutions: J2SE, J2ME, and J2EE
•Development Tools
–Compiler, launcher and documentation tools
are in the JDK
•Application Programming Interface
–Contains classes ready to be used in programs
•Deployment Technologies
–Contains software for deploying applications
to end users
•User Interface Tookits
–Swing and Java2D tookits are available for
creating Graphical User Interfaces (GUIs)
•Integration Libraries
–A suite of libraries for connecting to
databases and manipulating remote objects
The Java Platform
•A platform is the hardware or
software environment where a
program runs
•This usually refers to the operating
system and the underlying hardware
The Java Platform
•The Java platform is different in that it is a
software-only platform that runs on top of a
hardware platform
•It has 2 components:
Java Virtual Machine (JVM)
Java Application Programming Interface (API)
JRE (Java Runtime) is needed
for running Java programs. JDK (Java
Development Kit), which includes JRE
plus the development tools (such as
compiler and debugger), is need
for writing as well as running Java
programs.
The Java Virtual Machine (JVM)
•The Java “interprets” bytecodes, and
through its java launcher tool, runs the
application program
•It sits on top of the operating system.
Each operating system has its own JVM.
Bytecodes
is the machine language of the JVM.
Source code is written on a text file with a
.java extension. This source code is compiled
by the java compiler and produces
bytecodes with a .class extension.
There is a JVM for most operating systems
(Windows, Linux, Unix, MacOS)
This makes Java “portable”, e.g., the same
program (in bytecodes) can be “ported” and run
on other operating systems without need for
recompilation.
Documentation Section
Package Statement
Import Statement
Interface Statements
Class Definitions
MainMethod Class
{
main method definition
}
Suggested
Optional
Essential
Optional
Optional
Compulsory
•Object-oriented
•Distributed
•Interpreted
•Robust
•Secure
•Architecture Neutral
•Portable
•High Performance
•Multi-threaded
•Dynamic
Ad

More Related Content

What's hot (20)

Chapter 1
Chapter 1Chapter 1
Chapter 1
siragezeynu
 
Packages
PackagesPackages
Packages
Nuha Noor
 
Java tokens
Java tokensJava tokens
Java tokens
shalinikarunakaran1
 
What is Interface in Java | How to implement Multiple Inheritance Using Inter...
What is Interface in Java | How to implement Multiple Inheritance Using Inter...What is Interface in Java | How to implement Multiple Inheritance Using Inter...
What is Interface in Java | How to implement Multiple Inheritance Using Inter...
Edureka!
 
Javanotes
JavanotesJavanotes
Javanotes
John Cutajar
 
Features of JAVA Programming Language.
Features of JAVA Programming Language.Features of JAVA Programming Language.
Features of JAVA Programming Language.
Bhautik Jethva
 
Java introduction
Java introductionJava introduction
Java introduction
logeswarisaravanan
 
Introduction To Java.
Introduction To Java.Introduction To Java.
Introduction To Java.
Tushar Chauhan
 
Core Java
Core JavaCore Java
Core Java
Priyanka Pradhan
 
Introduction
IntroductionIntroduction
Introduction
richsoden
 
Abstract Class In Java | Java Abstract Class Tutorial | Java Tutorial For Beg...
Abstract Class In Java | Java Abstract Class Tutorial | Java Tutorial For Beg...Abstract Class In Java | Java Abstract Class Tutorial | Java Tutorial For Beg...
Abstract Class In Java | Java Abstract Class Tutorial | Java Tutorial For Beg...
Simplilearn
 
INTRODUCTION TO JAVA APPLICATION
INTRODUCTION TO JAVA APPLICATIONINTRODUCTION TO JAVA APPLICATION
INTRODUCTION TO JAVA APPLICATION
Ajit Yadav
 
Java programming course for beginners
Java programming course for beginnersJava programming course for beginners
Java programming course for beginners
Eduonix Learning Solutions
 
Java & advanced java
Java & advanced javaJava & advanced java
Java & advanced java
BASAVARAJ HUNSHAL
 
Interfaces In Java
Interfaces In JavaInterfaces In Java
Interfaces In Java
parag
 
1 java programming- introduction
1  java programming- introduction1  java programming- introduction
1 java programming- introduction
jyoti_lakhani
 
Introduction to java
Introduction to javaIntroduction to java
Introduction to java
jayc8586
 
01slide
01slide01slide
01slide
cdclabs_123
 
01slide
01slide01slide
01slide
Usha Sri
 
Java notes
Java notesJava notes
Java notes
Chaitanya Rajkumar Limmala
 
What is Interface in Java | How to implement Multiple Inheritance Using Inter...
What is Interface in Java | How to implement Multiple Inheritance Using Inter...What is Interface in Java | How to implement Multiple Inheritance Using Inter...
What is Interface in Java | How to implement Multiple Inheritance Using Inter...
Edureka!
 
Features of JAVA Programming Language.
Features of JAVA Programming Language.Features of JAVA Programming Language.
Features of JAVA Programming Language.
Bhautik Jethva
 
Introduction
IntroductionIntroduction
Introduction
richsoden
 
Abstract Class In Java | Java Abstract Class Tutorial | Java Tutorial For Beg...
Abstract Class In Java | Java Abstract Class Tutorial | Java Tutorial For Beg...Abstract Class In Java | Java Abstract Class Tutorial | Java Tutorial For Beg...
Abstract Class In Java | Java Abstract Class Tutorial | Java Tutorial For Beg...
Simplilearn
 
INTRODUCTION TO JAVA APPLICATION
INTRODUCTION TO JAVA APPLICATIONINTRODUCTION TO JAVA APPLICATION
INTRODUCTION TO JAVA APPLICATION
Ajit Yadav
 
Interfaces In Java
Interfaces In JavaInterfaces In Java
Interfaces In Java
parag
 
1 java programming- introduction
1  java programming- introduction1  java programming- introduction
1 java programming- introduction
jyoti_lakhani
 
Introduction to java
Introduction to javaIntroduction to java
Introduction to java
jayc8586
 

Similar to Introduction to Object-Oriented Concepts and Java (20)

Introduction to Java Part-3
Introduction to Java Part-3Introduction to Java Part-3
Introduction to Java Part-3
RatnaJava
 
CS8392 OOP
CS8392 OOPCS8392 OOP
CS8392 OOP
DhanalakshmiVelusamy1
 
JAVA object oriented programming (oop).ppt
JAVA object oriented programming (oop).pptJAVA object oriented programming (oop).ppt
JAVA object oriented programming (oop).ppt
AliyaJav
 
Skillwise Elementary Java Programming
Skillwise Elementary Java ProgrammingSkillwise Elementary Java Programming
Skillwise Elementary Java Programming
Skillwise Group
 
oop unit1.pptx
oop unit1.pptxoop unit1.pptx
oop unit1.pptx
sureshkumara29
 
Introduction to oop and java fundamentals
Introduction to oop and java fundamentalsIntroduction to oop and java fundamentals
Introduction to oop and java fundamentals
AnsgarMary
 
Comp102 lec 3
Comp102   lec 3Comp102   lec 3
Comp102 lec 3
Fraz Bakhsh
 
Puppet - The IT automation software
Puppet - The IT automation softwarePuppet - The IT automation software
Puppet - The IT automation software
agenedy
 
JAVA INTRODUCTION - 1
JAVA INTRODUCTION - 1JAVA INTRODUCTION - 1
JAVA INTRODUCTION - 1
Infoviaan Technologies
 
Unit 1 Core Java for Compter Science 3rd
Unit 1 Core Java for Compter Science 3rdUnit 1 Core Java for Compter Science 3rd
Unit 1 Core Java for Compter Science 3rd
prat0ham
 
U1 JAVA.pptx
U1 JAVA.pptxU1 JAVA.pptx
U1 JAVA.pptx
madan r
 
JavaClassPresentation
JavaClassPresentationJavaClassPresentation
JavaClassPresentation
juliasceasor
 
Java Introduction - Quipoin.pptx
Java Introduction - Quipoin.pptxJava Introduction - Quipoin.pptx
Java Introduction - Quipoin.pptx
quipoin04
 
MWLUG - Universal Java
MWLUG  -  Universal JavaMWLUG  -  Universal Java
MWLUG - Universal Java
Philippe Riand
 
java introduction features and propertie
java introduction features and propertiejava introduction features and propertie
java introduction features and propertie
SanaMateen7
 
object oriented programming examples
object oriented programming examplesobject oriented programming examples
object oriented programming examples
Abdii Rashid
 
java tutorial for beginners learning.ppt
java tutorial for beginners learning.pptjava tutorial for beginners learning.ppt
java tutorial for beginners learning.ppt
usha852
 
introduction to object orinted programming through java
introduction to object orinted programming through javaintroduction to object orinted programming through java
introduction to object orinted programming through java
Parameshwar Maddela
 
Java Introduction
Java IntroductionJava Introduction
Java Introduction
sunmitraeducation
 
Java Jive 002.pptx
Java Jive 002.pptxJava Jive 002.pptx
Java Jive 002.pptx
AdarshSingh202130
 
Introduction to Java Part-3
Introduction to Java Part-3Introduction to Java Part-3
Introduction to Java Part-3
RatnaJava
 
JAVA object oriented programming (oop).ppt
JAVA object oriented programming (oop).pptJAVA object oriented programming (oop).ppt
JAVA object oriented programming (oop).ppt
AliyaJav
 
Skillwise Elementary Java Programming
Skillwise Elementary Java ProgrammingSkillwise Elementary Java Programming
Skillwise Elementary Java Programming
Skillwise Group
 
Introduction to oop and java fundamentals
Introduction to oop and java fundamentalsIntroduction to oop and java fundamentals
Introduction to oop and java fundamentals
AnsgarMary
 
Puppet - The IT automation software
Puppet - The IT automation softwarePuppet - The IT automation software
Puppet - The IT automation software
agenedy
 
Unit 1 Core Java for Compter Science 3rd
Unit 1 Core Java for Compter Science 3rdUnit 1 Core Java for Compter Science 3rd
Unit 1 Core Java for Compter Science 3rd
prat0ham
 
U1 JAVA.pptx
U1 JAVA.pptxU1 JAVA.pptx
U1 JAVA.pptx
madan r
 
JavaClassPresentation
JavaClassPresentationJavaClassPresentation
JavaClassPresentation
juliasceasor
 
Java Introduction - Quipoin.pptx
Java Introduction - Quipoin.pptxJava Introduction - Quipoin.pptx
Java Introduction - Quipoin.pptx
quipoin04
 
MWLUG - Universal Java
MWLUG  -  Universal JavaMWLUG  -  Universal Java
MWLUG - Universal Java
Philippe Riand
 
java introduction features and propertie
java introduction features and propertiejava introduction features and propertie
java introduction features and propertie
SanaMateen7
 
object oriented programming examples
object oriented programming examplesobject oriented programming examples
object oriented programming examples
Abdii Rashid
 
java tutorial for beginners learning.ppt
java tutorial for beginners learning.pptjava tutorial for beginners learning.ppt
java tutorial for beginners learning.ppt
usha852
 
introduction to object orinted programming through java
introduction to object orinted programming through javaintroduction to object orinted programming through java
introduction to object orinted programming through java
Parameshwar Maddela
 
Ad

More from Dr. Rosemarie Sibbaluca-Guirre (20)

Korean Language: Culture 한국어 개요
Korean Language: Culture 한국어 개요Korean Language: Culture 한국어 개요
Korean Language: Culture 한국어 개요
Dr. Rosemarie Sibbaluca-Guirre
 
Korean Language Overview 한국어 개요
Korean Language Overview 한국어 개요Korean Language Overview 한국어 개요
Korean Language Overview 한국어 개요
Dr. Rosemarie Sibbaluca-Guirre
 
Conjunction 접속사
Conjunction   접속사Conjunction   접속사
Conjunction 접속사
Dr. Rosemarie Sibbaluca-Guirre
 
Pronoun 대명사
Pronoun  대명사Pronoun  대명사
Pronoun 대명사
Dr. Rosemarie Sibbaluca-Guirre
 
Usage of Particles 입자의 사용
Usage of Particles 입자의 사용Usage of Particles 입자의 사용
Usage of Particles 입자의 사용
Dr. Rosemarie Sibbaluca-Guirre
 
Usage of Particles 입자의 사용
Usage of Particles 입자의 사용Usage of Particles 입자의 사용
Usage of Particles 입자의 사용
Dr. Rosemarie Sibbaluca-Guirre
 
Korean Word Order 한국어 단어 순서
Korean Word Order 한국어 단어 순서Korean Word Order 한국어 단어 순서
Korean Word Order 한국어 단어 순서
Dr. Rosemarie Sibbaluca-Guirre
 
Korean Number 한국 번호
Korean Number 한국 번호Korean Number 한국 번호
Korean Number 한국 번호
Dr. Rosemarie Sibbaluca-Guirre
 
ISAD 313-3_ TOOLS OF THE SYSTEM ANALYSIS.pptx
ISAD 313-3_ TOOLS OF THE SYSTEM ANALYSIS.pptxISAD 313-3_ TOOLS OF THE SYSTEM ANALYSIS.pptx
ISAD 313-3_ TOOLS OF THE SYSTEM ANALYSIS.pptx
Dr. Rosemarie Sibbaluca-Guirre
 
ISAD 313-1_INTRODUCTION TO SYSTEMS.pptx
ISAD 313-1_INTRODUCTION TO SYSTEMS.pptxISAD 313-1_INTRODUCTION TO SYSTEMS.pptx
ISAD 313-1_INTRODUCTION TO SYSTEMS.pptx
Dr. Rosemarie Sibbaluca-Guirre
 
ISAD 313-2_ SYSTEM ANALYSIS.pptx
ISAD 313-2_ SYSTEM ANALYSIS.pptxISAD 313-2_ SYSTEM ANALYSIS.pptx
ISAD 313-2_ SYSTEM ANALYSIS.pptx
Dr. Rosemarie Sibbaluca-Guirre
 
ISAD 313-4_ RESEARCH PROJECT.pptx
ISAD 313-4_ RESEARCH PROJECT.pptxISAD 313-4_ RESEARCH PROJECT.pptx
ISAD 313-4_ RESEARCH PROJECT.pptx
Dr. Rosemarie Sibbaluca-Guirre
 
ISAD 313-3_ SYSTEM FLOW.pptx
ISAD 313-3_ SYSTEM FLOW.pptxISAD 313-3_ SYSTEM FLOW.pptx
ISAD 313-3_ SYSTEM FLOW.pptx
Dr. Rosemarie Sibbaluca-Guirre
 
ISAD 313-3_ MODELS.pptx
ISAD 313-3_ MODELS.pptxISAD 313-3_ MODELS.pptx
ISAD 313-3_ MODELS.pptx
Dr. Rosemarie Sibbaluca-Guirre
 
ACCT11_9_Financial Position.pptx
ACCT11_9_Financial Position.pptxACCT11_9_Financial Position.pptx
ACCT11_9_Financial Position.pptx
Dr. Rosemarie Sibbaluca-Guirre
 
ACCT11_8_Equity.pptx
ACCT11_8_Equity.pptxACCT11_8_Equity.pptx
ACCT11_8_Equity.pptx
Dr. Rosemarie Sibbaluca-Guirre
 
ACCT11_7_Performance.pptx
ACCT11_7_Performance.pptxACCT11_7_Performance.pptx
ACCT11_7_Performance.pptx
Dr. Rosemarie Sibbaluca-Guirre
 
ACCT11_6_Worksheet.pptx
ACCT11_6_Worksheet.pptxACCT11_6_Worksheet.pptx
ACCT11_6_Worksheet.pptx
Dr. Rosemarie Sibbaluca-Guirre
 
ACCT11_5_Adjusting Entries.pptx
ACCT11_5_Adjusting Entries.pptxACCT11_5_Adjusting Entries.pptx
ACCT11_5_Adjusting Entries.pptx
Dr. Rosemarie Sibbaluca-Guirre
 
ACCT11_4_Trial Balance.pptx
ACCT11_4_Trial Balance.pptxACCT11_4_Trial Balance.pptx
ACCT11_4_Trial Balance.pptx
Dr. Rosemarie Sibbaluca-Guirre
 
Ad

Recently uploaded (20)

CBSE - Grade 8 - Science - Chemistry - Metals and Non Metals - Worksheet
CBSE - Grade 8 - Science - Chemistry - Metals and Non Metals - WorksheetCBSE - Grade 8 - Science - Chemistry - Metals and Non Metals - Worksheet
CBSE - Grade 8 - Science - Chemistry - Metals and Non Metals - Worksheet
Sritoma Majumder
 
How to Manage Opening & Closing Controls in Odoo 17 POS
How to Manage Opening & Closing Controls in Odoo 17 POSHow to Manage Opening & Closing Controls in Odoo 17 POS
How to Manage Opening & Closing Controls in Odoo 17 POS
Celine George
 
Biophysics Chapter 3 Methods of Studying Macromolecules.pdf
Biophysics Chapter 3 Methods of Studying Macromolecules.pdfBiophysics Chapter 3 Methods of Studying Macromolecules.pdf
Biophysics Chapter 3 Methods of Studying Macromolecules.pdf
PKLI-Institute of Nursing and Allied Health Sciences Lahore , Pakistan.
 
World war-1(Causes & impacts at a glance) PPT by Simanchala Sarab(BABed,sem-4...
World war-1(Causes & impacts at a glance) PPT by Simanchala Sarab(BABed,sem-4...World war-1(Causes & impacts at a glance) PPT by Simanchala Sarab(BABed,sem-4...
World war-1(Causes & impacts at a glance) PPT by Simanchala Sarab(BABed,sem-4...
larencebapu132
 
Multi-currency in odoo accounting and Update exchange rates automatically in ...
Multi-currency in odoo accounting and Update exchange rates automatically in ...Multi-currency in odoo accounting and Update exchange rates automatically in ...
Multi-currency in odoo accounting and Update exchange rates automatically in ...
Celine George
 
Introduction to Vibe Coding and Vibe Engineering
Introduction to Vibe Coding and Vibe EngineeringIntroduction to Vibe Coding and Vibe Engineering
Introduction to Vibe Coding and Vibe Engineering
Damian T. Gordon
 
Geography Sem II Unit 1C Correlation of Geography with other school subjects
Geography Sem II Unit 1C Correlation of Geography with other school subjectsGeography Sem II Unit 1C Correlation of Geography with other school subjects
Geography Sem II Unit 1C Correlation of Geography with other school subjects
ProfDrShaikhImran
 
Exploring-Substances-Acidic-Basic-and-Neutral.pdf
Exploring-Substances-Acidic-Basic-and-Neutral.pdfExploring-Substances-Acidic-Basic-and-Neutral.pdf
Exploring-Substances-Acidic-Basic-and-Neutral.pdf
Sandeep Swamy
 
Presentation on Tourism Product Development By Md Shaifullar Rabbi
Presentation on Tourism Product Development By Md Shaifullar RabbiPresentation on Tourism Product Development By Md Shaifullar Rabbi
Presentation on Tourism Product Development By Md Shaifullar Rabbi
Md Shaifullar Rabbi
 
Niamh Lucey, Mary Dunne. Health Sciences Libraries Group (LAI). Lighting the ...
Niamh Lucey, Mary Dunne. Health Sciences Libraries Group (LAI). Lighting the ...Niamh Lucey, Mary Dunne. Health Sciences Libraries Group (LAI). Lighting the ...
Niamh Lucey, Mary Dunne. Health Sciences Libraries Group (LAI). Lighting the ...
Library Association of Ireland
 
How to manage Multiple Warehouses for multiple floors in odoo point of sale
How to manage Multiple Warehouses for multiple floors in odoo point of saleHow to manage Multiple Warehouses for multiple floors in odoo point of sale
How to manage Multiple Warehouses for multiple floors in odoo point of sale
Celine George
 
Handling Multiple Choice Responses: Fortune Effiong.pptx
Handling Multiple Choice Responses: Fortune Effiong.pptxHandling Multiple Choice Responses: Fortune Effiong.pptx
Handling Multiple Choice Responses: Fortune Effiong.pptx
AuthorAIDNationalRes
 
Odoo Inventory Rules and Routes v17 - Odoo Slides
Odoo Inventory Rules and Routes v17 - Odoo SlidesOdoo Inventory Rules and Routes v17 - Odoo Slides
Odoo Inventory Rules and Routes v17 - Odoo Slides
Celine George
 
How to Customize Your Financial Reports & Tax Reports With Odoo 17 Accounting
How to Customize Your Financial Reports & Tax Reports With Odoo 17 AccountingHow to Customize Your Financial Reports & Tax Reports With Odoo 17 Accounting
How to Customize Your Financial Reports & Tax Reports With Odoo 17 Accounting
Celine George
 
How to Set warnings for invoicing specific customers in odoo
How to Set warnings for invoicing specific customers in odooHow to Set warnings for invoicing specific customers in odoo
How to Set warnings for invoicing specific customers in odoo
Celine George
 
To study Digestive system of insect.pptx
To study Digestive system of insect.pptxTo study Digestive system of insect.pptx
To study Digestive system of insect.pptx
Arshad Shaikh
 
2541William_McCollough_DigitalDetox.docx
2541William_McCollough_DigitalDetox.docx2541William_McCollough_DigitalDetox.docx
2541William_McCollough_DigitalDetox.docx
contactwilliamm2546
 
SPRING FESTIVITIES - UK AND USA -
SPRING FESTIVITIES - UK AND USA            -SPRING FESTIVITIES - UK AND USA            -
SPRING FESTIVITIES - UK AND USA -
Colégio Santa Teresinha
 
YSPH VMOC Special Report - Measles Outbreak Southwest US 4-30-2025.pptx
YSPH VMOC Special Report - Measles Outbreak  Southwest US 4-30-2025.pptxYSPH VMOC Special Report - Measles Outbreak  Southwest US 4-30-2025.pptx
YSPH VMOC Special Report - Measles Outbreak Southwest US 4-30-2025.pptx
Yale School of Public Health - The Virtual Medical Operations Center (VMOC)
 
SCI BIZ TECH QUIZ (OPEN) PRELIMS XTASY 2025.pptx
SCI BIZ TECH QUIZ (OPEN) PRELIMS XTASY 2025.pptxSCI BIZ TECH QUIZ (OPEN) PRELIMS XTASY 2025.pptx
SCI BIZ TECH QUIZ (OPEN) PRELIMS XTASY 2025.pptx
Ronisha Das
 
CBSE - Grade 8 - Science - Chemistry - Metals and Non Metals - Worksheet
CBSE - Grade 8 - Science - Chemistry - Metals and Non Metals - WorksheetCBSE - Grade 8 - Science - Chemistry - Metals and Non Metals - Worksheet
CBSE - Grade 8 - Science - Chemistry - Metals and Non Metals - Worksheet
Sritoma Majumder
 
How to Manage Opening & Closing Controls in Odoo 17 POS
How to Manage Opening & Closing Controls in Odoo 17 POSHow to Manage Opening & Closing Controls in Odoo 17 POS
How to Manage Opening & Closing Controls in Odoo 17 POS
Celine George
 
World war-1(Causes & impacts at a glance) PPT by Simanchala Sarab(BABed,sem-4...
World war-1(Causes & impacts at a glance) PPT by Simanchala Sarab(BABed,sem-4...World war-1(Causes & impacts at a glance) PPT by Simanchala Sarab(BABed,sem-4...
World war-1(Causes & impacts at a glance) PPT by Simanchala Sarab(BABed,sem-4...
larencebapu132
 
Multi-currency in odoo accounting and Update exchange rates automatically in ...
Multi-currency in odoo accounting and Update exchange rates automatically in ...Multi-currency in odoo accounting and Update exchange rates automatically in ...
Multi-currency in odoo accounting and Update exchange rates automatically in ...
Celine George
 
Introduction to Vibe Coding and Vibe Engineering
Introduction to Vibe Coding and Vibe EngineeringIntroduction to Vibe Coding and Vibe Engineering
Introduction to Vibe Coding and Vibe Engineering
Damian T. Gordon
 
Geography Sem II Unit 1C Correlation of Geography with other school subjects
Geography Sem II Unit 1C Correlation of Geography with other school subjectsGeography Sem II Unit 1C Correlation of Geography with other school subjects
Geography Sem II Unit 1C Correlation of Geography with other school subjects
ProfDrShaikhImran
 
Exploring-Substances-Acidic-Basic-and-Neutral.pdf
Exploring-Substances-Acidic-Basic-and-Neutral.pdfExploring-Substances-Acidic-Basic-and-Neutral.pdf
Exploring-Substances-Acidic-Basic-and-Neutral.pdf
Sandeep Swamy
 
Presentation on Tourism Product Development By Md Shaifullar Rabbi
Presentation on Tourism Product Development By Md Shaifullar RabbiPresentation on Tourism Product Development By Md Shaifullar Rabbi
Presentation on Tourism Product Development By Md Shaifullar Rabbi
Md Shaifullar Rabbi
 
Niamh Lucey, Mary Dunne. Health Sciences Libraries Group (LAI). Lighting the ...
Niamh Lucey, Mary Dunne. Health Sciences Libraries Group (LAI). Lighting the ...Niamh Lucey, Mary Dunne. Health Sciences Libraries Group (LAI). Lighting the ...
Niamh Lucey, Mary Dunne. Health Sciences Libraries Group (LAI). Lighting the ...
Library Association of Ireland
 
How to manage Multiple Warehouses for multiple floors in odoo point of sale
How to manage Multiple Warehouses for multiple floors in odoo point of saleHow to manage Multiple Warehouses for multiple floors in odoo point of sale
How to manage Multiple Warehouses for multiple floors in odoo point of sale
Celine George
 
Handling Multiple Choice Responses: Fortune Effiong.pptx
Handling Multiple Choice Responses: Fortune Effiong.pptxHandling Multiple Choice Responses: Fortune Effiong.pptx
Handling Multiple Choice Responses: Fortune Effiong.pptx
AuthorAIDNationalRes
 
Odoo Inventory Rules and Routes v17 - Odoo Slides
Odoo Inventory Rules and Routes v17 - Odoo SlidesOdoo Inventory Rules and Routes v17 - Odoo Slides
Odoo Inventory Rules and Routes v17 - Odoo Slides
Celine George
 
How to Customize Your Financial Reports & Tax Reports With Odoo 17 Accounting
How to Customize Your Financial Reports & Tax Reports With Odoo 17 AccountingHow to Customize Your Financial Reports & Tax Reports With Odoo 17 Accounting
How to Customize Your Financial Reports & Tax Reports With Odoo 17 Accounting
Celine George
 
How to Set warnings for invoicing specific customers in odoo
How to Set warnings for invoicing specific customers in odooHow to Set warnings for invoicing specific customers in odoo
How to Set warnings for invoicing specific customers in odoo
Celine George
 
To study Digestive system of insect.pptx
To study Digestive system of insect.pptxTo study Digestive system of insect.pptx
To study Digestive system of insect.pptx
Arshad Shaikh
 
2541William_McCollough_DigitalDetox.docx
2541William_McCollough_DigitalDetox.docx2541William_McCollough_DigitalDetox.docx
2541William_McCollough_DigitalDetox.docx
contactwilliamm2546
 
SCI BIZ TECH QUIZ (OPEN) PRELIMS XTASY 2025.pptx
SCI BIZ TECH QUIZ (OPEN) PRELIMS XTASY 2025.pptxSCI BIZ TECH QUIZ (OPEN) PRELIMS XTASY 2025.pptx
SCI BIZ TECH QUIZ (OPEN) PRELIMS XTASY 2025.pptx
Ronisha Das
 

Introduction to Object-Oriented Concepts and Java

  • 4. •Class –Is a blueprint or template of an object –It represents broad groups of objects –It contains elements common to a group of objects –Example: •Flower •Vehicle
  • 5. •Object –Is an instance of a class –It is a specific occurrence of a class –Objects have state and behavior –Example: •Cat is an instance of the class Animal •Car is an instance of the class Vehicle –A cat has several states: asleep, alive, lost Its behavior could be: eating, jumping, etc.
  • 6. •Encapsulation –Means that data and instructions are wrapped up together and treated as a unit •Inheritance –Ability to “inherit”, use or modify existing or predefined classes
  • 7. •Polymorphism –The ability of objects to respond or behave differently –Example: Different animals respond differently to a command such as “Speak!”. A cat “purrs”, a dog “barks”, and a cow “moos”
  • 8. •Is an object-oriented programming language •Is both a programming language and a platform •Java is hardware-independent and can run on various operating systems
  • 9. It’s the current “hot” language It’s almost entirely object-oriented It has a vast library of predefined objects and operations It’s more platform independent this makes it great for Web programming It’s more secure It isn’t C++
  • 10. •As a programming language, it –Contains specifications for writing or coding programs –Has a compiler for checking syntax and converting programs to bytecodes –Has a rich set of APIs (Application Programming Interfaces) that can be reused and modified
  • 11. •As a platform, it –Converts bytecodes into executable code –Has a JVM (Java Virtual Machine) to run java programs on various operating systems
  • 12. •Was created in 1991 by James Gosling, et al. of Sun Microsystems •It was originally designed for consumer electronic devices and was called Oak •With the advent of the Internet, Sun developed a browser named HotJava using Oak
  • 13. •In 1994, Sun renamed Oak to Java and released a free alpha version of the JDK (Java Developer’s Kit) composed of Java and HotJava •In 1996, Netscape Communications Corp announced support for Java applets which was later included in version 2.0 of the Navigator browser. JDK Evolutions: J2SE, J2ME, and J2EE
  • 14. •Development Tools –Compiler, launcher and documentation tools are in the JDK •Application Programming Interface –Contains classes ready to be used in programs •Deployment Technologies –Contains software for deploying applications to end users
  • 15. •User Interface Tookits –Swing and Java2D tookits are available for creating Graphical User Interfaces (GUIs) •Integration Libraries –A suite of libraries for connecting to databases and manipulating remote objects
  • 16. The Java Platform •A platform is the hardware or software environment where a program runs •This usually refers to the operating system and the underlying hardware
  • 17. The Java Platform •The Java platform is different in that it is a software-only platform that runs on top of a hardware platform •It has 2 components: Java Virtual Machine (JVM) Java Application Programming Interface (API)
  • 18. JRE (Java Runtime) is needed for running Java programs. JDK (Java Development Kit), which includes JRE plus the development tools (such as compiler and debugger), is need for writing as well as running Java programs.
  • 19. The Java Virtual Machine (JVM) •The Java “interprets” bytecodes, and through its java launcher tool, runs the application program •It sits on top of the operating system. Each operating system has its own JVM.
  • 20. Bytecodes is the machine language of the JVM. Source code is written on a text file with a .java extension. This source code is compiled by the java compiler and produces bytecodes with a .class extension.
  • 21. There is a JVM for most operating systems (Windows, Linux, Unix, MacOS) This makes Java “portable”, e.g., the same program (in bytecodes) can be “ported” and run on other operating systems without need for recompilation.
  • 22. Documentation Section Package Statement Import Statement Interface Statements Class Definitions MainMethod Class { main method definition } Suggested Optional Essential Optional Optional Compulsory

Editor's Notes

  • #14: J2SE Standard Edition J2ME Micro Edition J2EE Enterprise Edition