SlideShare a Scribd company logo
Object Oriented
Programming
Andi Nurkholis, S.Kom., M.Kom.
Study Program of Informatics
Faculty of Engineering and Computer Science
SY. 2019-2020
March 2, 2020
3 Java Programming
2
Java History
Java is an object-oriented programming language
developed by James Gosling and colleagues at Sun
Microsystems in the early 1990s.
Java was started as a project called "Oak" by
James Gosling in June 1991. Gosling’s goals were
to implement a virtual machine and a language that
had a familiar C-like notation but with greater
uniformity and simplicity than C/C++. The first
public implementation was Java 1.0 in 1995.
3
4
Java Structure
An overview of the software development process
Java Virtual Machine
Through the Java VM, the same
application is capable of running on
multiple platforms.
5
Java Platform
The Java platform has two components:
• The Java Virtual Machine
• The Java Application Programming Interface (API)
6
What Can Java Technology Do?
The general-purpose, high-level Java programming language is a
powerful software platform. Every full implementation of the Java
platform gives you the following features:
• Development Tools
• Application Programming Interface (API)
• Deployment Technologies
• User Interface Toolkits
• Integration Libraries
7
Variable
An item of data named by an identifier. Each variable has a type, such as
int or Object, and a scope. See also class variable, instance variable, local
variable.
8
Keyword
Data
Type
Identifier
public
private
protected
int
float
char
number
value
alphabet
Keyword
The Java(TM) programming
language sets aside words as
keywords - these words are
reserved by the language itself and
therefore are not available as
names for variables or methods.
9
Public
A Java(TM) programming language keyword used in a
method or variable declaration. It signifies that the method
or variable can be accessed by elements residing in other
classes
10
Private
A Java(TM) programming language keyword used in a
method or variable declaration. It signifies that the method
or variable can only be accessed by other elements of its
class
11
Protected
A Java(TM) programming language keyword used in a
method or variable declaration. It signifies that the method
or variable can only be accessed by elements residing in
its class, subclasses, or classes in the same package
12
Data Type
The Java programming language is
statically-typed, which means that all
variables must first be declared before they
can be used
13
Data Type Default Value
Byte 0
Short 0
Int 0
Long 0L
Float 0.0f
Double 0.0d
Char ‘u0000’
String Null
boolean False
int gear = 1;
14
Identifier
The name of an item in a program written in the Java(TM) programming
language
Operator
Operator is a sign used to carry out an operation. There are several
types of operators that can be used, namely:
• Arithmetic
• Assignment
• Relational
• Logic
15
Thank You, Next …
Control Structure
Study Program of Informatics
Faculty of Engineering and Computer Science
SY. 2019-2020
Andi Nurkholis, S.Kom., M.Kom.
March 2, 2020

More Related Content

DOC
Grade 8: Introduction To Java
PPTX
Java seminar
DOCX
Java and its features
PPTX
Java programming(unit 1)
PPTX
C# lecture 1: Introduction to Dot Net Framework
PPTX
PPT
Dot net introduction
Grade 8: Introduction To Java
Java seminar
Java and its features
Java programming(unit 1)
C# lecture 1: Introduction to Dot Net Framework
Dot net introduction

What's hot (20)

PPTX
Features of java
PDF
C# c# for beginners crash course master c# programming fast and easy today
PPT
Introduction to programming languages part 1
PDF
Java swing 1
PDF
Javanotes
PPT
Interfaces In Java
PPTX
Introduction to java
PPTX
Java seminar
PPTX
Java programming language
PPT
Classes and Objects
PPT
Java for C++ programers
PPT
SD & D Implementation
PDF
Introduction to Java Programming Language
PPT
1 2 java development
PPTX
Concepts of core java
PPT
SD & D Types of programming language
PPT
01slide
PPT
01slide
PPT
INTRODUCTION TO JAVA APPLICATION
PPT
Text Editors and IDEs
Features of java
C# c# for beginners crash course master c# programming fast and easy today
Introduction to programming languages part 1
Java swing 1
Javanotes
Interfaces In Java
Introduction to java
Java seminar
Java programming language
Classes and Objects
Java for C++ programers
SD & D Implementation
Introduction to Java Programming Language
1 2 java development
Concepts of core java
SD & D Types of programming language
01slide
01slide
INTRODUCTION TO JAVA APPLICATION
Text Editors and IDEs
Ad

Similar to Object Oriented Programming - 3. Java Programming (20)

PPTX
JAVA_VR23_OOPS THROUGH JAVA PPT UNIT-1.pptx
PPTX
Unit1 introduction to Java
PPTX
JAVA PROGRAMMING-Unit I - Final PPT.pptx
PDF
Java Notes .pdf
PPTX
C,c++,java,php,.net training institute in delhi, best training institute for ...
PDF
Java Programming Basics
PPTX
Chapter One Basics ofJava Programmming.pptx
PPTX
Introduction to java
PDF
Java chapter 1
PPSX
Elements of Java Language
PPTX
Chapter 1
PPTX
Core java programming tutorial - Brainsmartlabs
DOCX
Java Tutorial to Learn Java Programming
PDF
0f0cef_1dac552af56c4338ab0672859199e693.pdf
PDF
String class
PPTX
Features of java unit 1
PPTX
Training on Core java | PPT Presentation | Shravan Sanidhya
PPTX
Session 02 - Elements of Java Language
JAVA_VR23_OOPS THROUGH JAVA PPT UNIT-1.pptx
Unit1 introduction to Java
JAVA PROGRAMMING-Unit I - Final PPT.pptx
Java Notes .pdf
C,c++,java,php,.net training institute in delhi, best training institute for ...
Java Programming Basics
Chapter One Basics ofJava Programmming.pptx
Introduction to java
Java chapter 1
Elements of Java Language
Chapter 1
Core java programming tutorial - Brainsmartlabs
Java Tutorial to Learn Java Programming
0f0cef_1dac552af56c4338ab0672859199e693.pdf
String class
Features of java unit 1
Training on Core java | PPT Presentation | Shravan Sanidhya
Session 02 - Elements of Java Language
Ad

More from AndiNurkholis1 (20)

PDF
Technopreneurship - 9 Analisis Biaya dan Keuangan
PDF
Pengantar Bisnis - 14 Manajemen Keuangan
PDF
Pengantar Bisnis - 13 Manajemen Operasi
PDF
Pengantar Bisnis - 12 Kebijakan Harga
PDF
Pengantar Bisnis - 11 Kebijakan Distribusi
PDF
Technopreneurship - 8 Manajemen Sumber Daya Manusia
PDF
Pengantar Bisnis - 10 Kebijakan Produk
PDF
Technopreneurship - 7 Manajemen Pemasaran dan Operasional Bisnis
PDF
Pengantar Bisnis - 9 Manajemen Pemasaran
PDF
Technopreneurship - 6 Business Plan
PDF
Pengantar Bisnis - 8 Kepemimpinan
PDF
Technopreneurship - 5 Model Bisnis
PDF
Technopreneurship - 4 Studi Kelayakan Usaha
PDF
Pengantar Bisnis - 7 Motivasi Kerja
PDF
Pengantar Bisnis - 6 Manajemen Sumber Daya Manusia
PDF
Pengantar Bisnis - 5 Pengelolaan & Pengorganisasian Bisnis
PDF
Technopreneurship - 3 Ide dan Prinsip Bisnis
PDF
Pengantar Bisnis - 4 Bentuk Organisasi Bisnis
PDF
Technopreneurship - 2 Pengantar Technopreneurship
PDF
Pengantar Bisnis - 3 Globalisasi Ekonomi & Bisnis Internasional
Technopreneurship - 9 Analisis Biaya dan Keuangan
Pengantar Bisnis - 14 Manajemen Keuangan
Pengantar Bisnis - 13 Manajemen Operasi
Pengantar Bisnis - 12 Kebijakan Harga
Pengantar Bisnis - 11 Kebijakan Distribusi
Technopreneurship - 8 Manajemen Sumber Daya Manusia
Pengantar Bisnis - 10 Kebijakan Produk
Technopreneurship - 7 Manajemen Pemasaran dan Operasional Bisnis
Pengantar Bisnis - 9 Manajemen Pemasaran
Technopreneurship - 6 Business Plan
Pengantar Bisnis - 8 Kepemimpinan
Technopreneurship - 5 Model Bisnis
Technopreneurship - 4 Studi Kelayakan Usaha
Pengantar Bisnis - 7 Motivasi Kerja
Pengantar Bisnis - 6 Manajemen Sumber Daya Manusia
Pengantar Bisnis - 5 Pengelolaan & Pengorganisasian Bisnis
Technopreneurship - 3 Ide dan Prinsip Bisnis
Pengantar Bisnis - 4 Bentuk Organisasi Bisnis
Technopreneurship - 2 Pengantar Technopreneurship
Pengantar Bisnis - 3 Globalisasi Ekonomi & Bisnis Internasional

Recently uploaded (20)

PDF
Modernizing your data center with Dell and AMD
PDF
AI And Its Effect On The Evolving IT Sector In Australia - Elevate
PDF
Advanced methodologies resolving dimensionality complications for autism neur...
PDF
Transforming Manufacturing operations through Intelligent Integrations
PDF
CIFDAQ's Market Wrap: Ethereum Leads, Bitcoin Lags, Institutions Shift
PDF
CIFDAQ's Market Insight: SEC Turns Pro Crypto
PDF
cuic standard and advanced reporting.pdf
PDF
Advanced IT Governance
PDF
Bridging biosciences and deep learning for revolutionary discoveries: a compr...
PPTX
PA Analog/Digital System: The Backbone of Modern Surveillance and Communication
PDF
Reach Out and Touch Someone: Haptics and Empathic Computing
PPTX
Comunidade Salesforce São Paulo - Desmistificando o Omnistudio (Vlocity)
PDF
How UI/UX Design Impacts User Retention in Mobile Apps.pdf
PPTX
Big Data Technologies - Introduction.pptx
PDF
Dropbox Q2 2025 Financial Results & Investor Presentation
PDF
Sensors and Actuators in IoT Systems using pdf
PDF
solutions_manual_-_materials___processing_in_manufacturing__demargo_.pdf
PPT
“AI and Expert System Decision Support & Business Intelligence Systems”
PDF
Chapter 3 Spatial Domain Image Processing.pdf
PDF
Spectral efficient network and resource selection model in 5G networks
Modernizing your data center with Dell and AMD
AI And Its Effect On The Evolving IT Sector In Australia - Elevate
Advanced methodologies resolving dimensionality complications for autism neur...
Transforming Manufacturing operations through Intelligent Integrations
CIFDAQ's Market Wrap: Ethereum Leads, Bitcoin Lags, Institutions Shift
CIFDAQ's Market Insight: SEC Turns Pro Crypto
cuic standard and advanced reporting.pdf
Advanced IT Governance
Bridging biosciences and deep learning for revolutionary discoveries: a compr...
PA Analog/Digital System: The Backbone of Modern Surveillance and Communication
Reach Out and Touch Someone: Haptics and Empathic Computing
Comunidade Salesforce São Paulo - Desmistificando o Omnistudio (Vlocity)
How UI/UX Design Impacts User Retention in Mobile Apps.pdf
Big Data Technologies - Introduction.pptx
Dropbox Q2 2025 Financial Results & Investor Presentation
Sensors and Actuators in IoT Systems using pdf
solutions_manual_-_materials___processing_in_manufacturing__demargo_.pdf
“AI and Expert System Decision Support & Business Intelligence Systems”
Chapter 3 Spatial Domain Image Processing.pdf
Spectral efficient network and resource selection model in 5G networks

Object Oriented Programming - 3. Java Programming

  • 1. Object Oriented Programming Andi Nurkholis, S.Kom., M.Kom. Study Program of Informatics Faculty of Engineering and Computer Science SY. 2019-2020 March 2, 2020
  • 3. Java History Java is an object-oriented programming language developed by James Gosling and colleagues at Sun Microsystems in the early 1990s. Java was started as a project called "Oak" by James Gosling in June 1991. Gosling’s goals were to implement a virtual machine and a language that had a familiar C-like notation but with greater uniformity and simplicity than C/C++. The first public implementation was Java 1.0 in 1995. 3
  • 4. 4 Java Structure An overview of the software development process
  • 5. Java Virtual Machine Through the Java VM, the same application is capable of running on multiple platforms. 5
  • 6. Java Platform The Java platform has two components: • The Java Virtual Machine • The Java Application Programming Interface (API) 6
  • 7. What Can Java Technology Do? The general-purpose, high-level Java programming language is a powerful software platform. Every full implementation of the Java platform gives you the following features: • Development Tools • Application Programming Interface (API) • Deployment Technologies • User Interface Toolkits • Integration Libraries 7
  • 8. Variable An item of data named by an identifier. Each variable has a type, such as int or Object, and a scope. See also class variable, instance variable, local variable. 8 Keyword Data Type Identifier public private protected int float char number value alphabet
  • 9. Keyword The Java(TM) programming language sets aside words as keywords - these words are reserved by the language itself and therefore are not available as names for variables or methods. 9
  • 10. Public A Java(TM) programming language keyword used in a method or variable declaration. It signifies that the method or variable can be accessed by elements residing in other classes 10
  • 11. Private A Java(TM) programming language keyword used in a method or variable declaration. It signifies that the method or variable can only be accessed by other elements of its class 11
  • 12. Protected A Java(TM) programming language keyword used in a method or variable declaration. It signifies that the method or variable can only be accessed by elements residing in its class, subclasses, or classes in the same package 12
  • 13. Data Type The Java programming language is statically-typed, which means that all variables must first be declared before they can be used 13 Data Type Default Value Byte 0 Short 0 Int 0 Long 0L Float 0.0f Double 0.0d Char ‘u0000’ String Null boolean False int gear = 1;
  • 14. 14 Identifier The name of an item in a program written in the Java(TM) programming language
  • 15. Operator Operator is a sign used to carry out an operation. There are several types of operators that can be used, namely: • Arithmetic • Assignment • Relational • Logic 15
  • 16. Thank You, Next … Control Structure Study Program of Informatics Faculty of Engineering and Computer Science SY. 2019-2020 Andi Nurkholis, S.Kom., M.Kom. March 2, 2020