Lecture 1
Lecture 1
MCA I Sem II
2
Object Oriented Programming
3
Object Oriented Programming Concepts
Abstraction
Encapsulation
Inheritance
Polymorphism
4
Class vs Object
Class Object
A piece of the program’s An entity in a running
source code program
Written by a Created when the
programmer program is running (by
the main method or a
constructor or another
method)
5
Class vs Object
Class Object
Specifies the structure Holds specific values of
(the number and types) attributes; these values
of its objects’ attributes can change while the
— the same for all of its program is running
objects
7
Java Buzzwords
Simple
8
Portable (Platform Independent)
9
Robust
10
Secure
11
Dynamic
12
Threaded
13
Interpreted
The Java interpreter can execute Java bytecodes directly on any
machine to which the interpreter and run-time system have been ported.
In an interpreted platform such as Java technology-based system,
14
Java Applications
Java has evolved from a simple language providing
interactive dynamic content for web pages to a
predominant enterprise-enabled programming language
suitable for developing significant and critical
applications. Today, It is used for many types of
applications including Web based applications, Financial
applications, Gaming applications, embedded systems,
Distributed enterprise applications, mobile applications,
Image processors, desktop applications and many more.
15
END OF TOPIC
16