UML Notation

In this blog now u will learn the process of UML. The first thing that we need to understand to develop the UML and for developing it we should have a good knowledge of the classes and the data dictionary of the project which u r going to develop. Now I am gonna prepare a data dictionary of the PTS(Prescription Tracking System)

The detail data dictionary of the Prescription Tracking System is given below:

Data Dictionary of the PTS (Prescription Tracking System)

Classes:

Customer: The customer is the person who buys the medicine .

Read More »UML Notation

Interface Class

Actually Interface are just like a class where it consists only constants and they
We can extend interface via interfaces
We can implement the interface via classes.
In interface needn’t use the “public” or “abstract” keywords – all methods
declared by an interface are automatically public and abstract by default.
A simple example of interface implement is given below.
[sourcecode=’java’]
public interface testInterface {
//one of the method without method body
void disp(String text);
}[/sourcecode]
For implementing this interface through normal class we follow below step:Read More »Interface Class

Polymorphism on three classes

This Polymorphism is one of the special feature of OOPL(Object oriented Programming Language). The polymorphism can perform several functions with a single method. A simple example of Polymorphism is given below according to real world.

polymorphism

fig. Polymorphism in real world

The term polymorphism refers to the ability of two or more objects belonging to different classes to respond to exactly the same message (method call) in different class-specific ways.Read More »Polymorphism on three classes