Programming in Java 1 2
Programming in Java 1 2
Programming
Dr. Mohamad Obaid
Deference between Algorithm and
Program
Algorithm:
• many steps
• written in natural languages or charts
• understanding from human
Program:
• many instructions
• written using a Program Language
• understanding from computers, or another programmer.
Some Programing languages
Year Language
1958 Fortran
1960 Cobol
1972 C
1983 C++
1991 Visual Basic
1991 Python
1995 Delphi
1995 Java
2001 C#
2011 Kotlin
Algorithms Description
b)
c)
step4: print results
Flow Chart shapes
Meaning Shape
input data
Read
output data
Write
data processing
decision yes or no
condition
Source Code
If compilation errors
Bytecode
Run Byteode
i.e. java Welcome
Result
Bytecode
• Desktop Application
• Web Application
• Mobile Application
Some Expressions
• SDK (Software Development Kit)
• JDK (Java Development Kit)
• IDE (Integrated Development Environment)
• JVM (Java Virtual Machine)
• Java SE (Java Standard Edition)
• Java EE (Java Enterprise Edition)
• Java ME (Java Micro Edition)
• JRE (Java Runtime Environment)
• API (Application Programing Interface)