Similar presentations:
Object-oriented programing. After completing the course you must know
1.
Object-orientedprograming – Lecture 1
Senior-Lecturer: Beisembiyev B. U.
2.
After completing the course you mustknow:
Concepts of Object-Oriented Programming language
3 principles of OOP
Software development
Defining your own Classes
GUI and Event-Driven Programming
And etc.
3.
Important!Every exercise must be submitted on time.
Late submission will be denied and not evaluated.
We have policy of academic honesty, which is available on dl. Later on
you will sign special form, which confirms that you are aware about that
policy.
According to that policy cheating is not allowed and leads to retake!
4.
Brief historyinitially it was called Oak and was created by James Gosling; of course he
was not the only author
The development of first version took 18 month
but he was person in charge. Later the project went by the name Green
and was finally renamed Java, from Java coffee
The language takes it start from early 90th, more precisely in 1991. So it is
quite old, but still in demand
There several reasons for that
5.
Why Learn Java?6.
Machine LanguageA program is simply a list of unambiguous
instructions meant to be followed mechanically
by a computer.
A computer is built to carry out instructions that
are written in a very simple type of language
called machine language.
7.
CompilerMachine language executed directly by
the CPU of a computer. A program written
in a high-level language cannot be run
directly on any computer. First, it has to be
translated into machine language. This
translation can be done by a program
called a compiler
8.
InterpreterAn interpreter is a program that reads in
as input a source program, along with
data for the program, and translates the
source program instruction by instruction
9.
10.
11.
JVM and BytecodeThe designers of Java chose to use a
combination of compilation and interpreting.
Programs written in Java are compiled into
machine language, but it is a machine
language for a computer that doesn’t really
exist. This so-called “virtual” computer is known
as the Java Virtual Machine, or JVM. The
machine language for the Java Virtual Machine
is called Java bytecode.