An overview of Java
The creation of Java
How Java changed the Internet
What is java Applets?
How java solved the problem of security?
How java solved the problem of Portability?
What is bytecode?
Servlets: Java on the server side
The Java Buzzwords
- Simple
- Secure
- Portable
- Object-oriented
- Robust
- Multithreaded
- Architecture-neutral
- Interpreted
- High Performance
- Distributed
- Dynamic
Object-oriented Programming
Two Paradigms
- Process-oriented model (code acting on data)
- Object-oriented programming (data controlling access to code)
Procedural Oriented Programming |
Object Oriented Programming |
It is known as POP |
It is known as OOP |
It deals with algorithms |
It deals with data |
Programs are divided into functions |
Programs are divided into objects |
Most of the functions share global data |
Data structure characterizes Objects |
Data moves from function to function |
Functions that operate on data are bind to form classes |
Functions are responsible for transforming from one form to
another. |
Data is hidden cannot be accessed by outside functions. |
It is top-down approach |
It is bottom-up approach |
It needs very less memory |
It needs more memory than POP. |
It does not have any access specifiers |
It has access specifiers like private, public and protected. |
It is less secure |
It is more secure |
It follows no overloading |
It follows operator overloading and function overloading |
Examples : C, Fortran |
Examples: C++, Java, .NET |
Abstraction
- Encapsulation
- Inheritance
- Polymorphism
Comments