15-01-2013, 02:34 PM
Object Oriented Programming
Object Oriented.ppt (Size: 297.5 KB / Downloads: 21)
Overview of OO principles and concepts
Definition
Object Orientation is about viewing and modeling the world/system as a set of interacting and interrelated objects.
Object Oriented Programming Language
Everything is part of a class
Programs are built from sets of classes
Classes are instantiated to create objects. Objects communicate with each other via messages
OO Principles
abstraction
encapsulation
modularity
Hierarchy
(Object and Class are considered as principles in some books)
Java Language & its features
What is Java?
An object-oriented programming language developed by Sun Microsystems
Also a platform to support Java applications
Where Java is used?
Desktop standalone applications
Web applications
Embedded applications
Everywhere
How does it work?
Bytecode
Java Virtual Machine (JVM)
Java supports OO concepts:
Data Abstraction
Inheritance
Polymorphism and Dynamic Binding
Interpreted
Java Compiler generates architecture neutral byte-codes
Java Virtual Machine interprets the byte-codes
Byte-codes can be ported to any machine with JVM
Programming Language for the Internet and Intranets
Browser is the environment to execute the Java Applets.
Server side programming with JSP and servlets.
Packages are available for supporting web services and XML development.