SERCHING IT JOBS? CLICK HERE
durgajobs
fresherscafe
chetanasforum
Just follow the 3 R's Respect for self. Respect for Others and Responsibility for all your actions !!!
Friday, 15 July 2011
OOPS
OOPS CONCEPTS IN JAVA:-
An object is a software bundle of related state and behavior. Software objects are often used to model the real-world objects that you find in everyday life. This lesson explains how state and behavior are represented within an object, introduces the concept of data encapsulation, and explains the benefits of designing your software in this manner.
A class is a blueprint or prototype from which objects are created. This section defines a class that models the state and behavior of a real-world object. It intentionally focuses on the basics, showing how even a simple class can cleanly model state and behavior.
Inheritance provides a powerful and natural mechanism for organizing and structuring your software. This section explains how classes inherit state and behavior from their superclasses, and explains how to derive one class from another using the simple syntax provided by the Java programming language.
An interface is a contract between a class and the outside world. When a class implements an interface, it promises to provide the behavior published by that interface. This section defines a simple interface and explains the necessary changes for any class that implements it.
OOPS
OOPS Concepts :-
OOPs stands for Object oriented Programming. Previously we used to follow the procedural programming paradigm while developing the softwarewhich makes it hard to add the new functionality at the maintenance phases. Even it was harder to test the module in the procedurally developed code because the coded modules were so tightly coupled. Even there was not even any chance to reuse the existing modules to decrease the coding efforts. Then there came the concept of the
Object Oriented Programming which was totally based on the real life entities and scenerios. OOPs enables to program the real world objects and easily play with them in our applicationdevelopment scenerios. OOPs focuses on the relevant data of the real world object and forces to concentrate on the various functionalities effecting the states of the data.
OOPs revolve around the four concepts:
1. Encapsulation
2. Polymorphism
3. Abstraction
4. Inheritance
In OOPs, these concepts are implemented through a class definition and achieved through the object creation process, programmatically.
OOPs stands for Object oriented Programming. Previously we used to follow the procedural programming paradigm while developing the softwarewhich makes it hard to add the new functionality at the maintenance phases. Even it was harder to test the module in the procedurally developed code because the coded modules were so tightly coupled. Even there was not even any chance to reuse the existing modules to decrease the coding efforts. Then there came the concept of the
Object Oriented Programming which was totally based on the real life entities and scenerios. OOPs enables to program the real world objects and easily play with them in our applicationdevelopment scenerios. OOPs focuses on the relevant data of the real world object and forces to concentrate on the various functionalities effecting the states of the data.
OOPs revolve around the four concepts:
1. Encapsulation
2. Polymorphism
3. Abstraction
4. Inheritance
In OOPs, these concepts are implemented through a class definition and achieved through the object creation process, programmatically.
Tuesday, 12 July 2011
Subscribe to:
Posts (Atom)
