Prison Management System

Only available on StudyMode
  • Download(s) : 242
  • Published : September 2, 2012
Open Document
Text Preview
PRISON MANAGEMENT SYSTEM

Index
INTRODUCTION……………………………………………………………………5 PROJECT DESCRIPTION ……………………………………………………….….7 UML DIAGRAMS OF THE SYSTEM….…………….……………………………...8 STORY BOARDDING………………………………………………………………11 SOURCE CODE……………………………………………………………………...15 SCREEN SHOT OF THE APPLICATION..................................................................49 SCREEN SHOT OF JAVA DOC..................................................................................55 ASSUMPTIONS............................................................................................................61 LEARNING OUTCOMES.............................................................................................62 REFERENCES……………………………………………………………..………….63

Introduction
Java is an object-oriented programming language with a built-in application programming interface (API) that can handle graphics and user interfaces and that can be used to create applications or applets. Because of its rich set of API's, similar to Macintosh and Windows, and its platform independence, Java can also be thought of as a platform in itself. Java also has standard libraries for doing mathematics. Much of the syntax of Java is the same as C and C++. One major difference is that Java does not have pointers. However, the biggest difference is that you must write object oriented code in Java. Procedural pieces of code can only be embedded in objects. In the following we assume that the reader has some familiarity with a programming language. In particular, some familiarity with the syntax of C/C++ is useful. In Java we distinguish between applications, which are programs that perform the same functions as those written in other programming languages, and applets, which are programs that can be embedded in a Web page and accessed over the Internet. Our initial focus will be on writing applications. When a program is compiled, a byte code is produced that can be read and executed by any platform that can run Java.

Features of java
Platform Independent
The concept of Write-once-run-anywhere (known as the Platform independent) is one of the important key feature of java language that makes java as the most powerful language. Not even a single language is idle to this feature but java is closer to this feature. The programs written on one platform can run on any platform provided the platform must have the JVM.  Simple

There are various features that makes the java as a simple language. Programs are easy to write and debug because java does not use the pointers explicitly. It is much harder to write the java programs that can crash the system but we cannot say about the other programming languages. Java provides the bug free system due to the strong memory management. It also has the automatic memory allocation and de allocation system. Object Oriented

To be an Object Oriented language, any language must follow at least the four characteristics. * Inheritance: It is the process of creating the new classes and using the behavior of the existing classes by extending them just to reuse the existing code and adding the additional features as needed. * Encapsulation:   It is the mechanism of combining the information and providing the abstraction. * Polymorphism:   As the name suggest one name multiple form, Polymorphism is the way of providing the different functionality by the     functions having the same name based on the signatures of the methods. * Dynamic binding:   Sometimes we don't have the knowledge of objects about their specific types while writing our code. It is the way     of providing the maximum functionality to a program about the specific type at runtime.   As the languages like Objective C, C++ fulfills the above four characteristics yet they are not fully object oriented languages because they are structured as well as...
tracking img