Preview

Java2

Powerful Essays
Open Document
Open Document
3776 Words
Grammar
Grammar
Plagiarism
Plagiarism
Writing
Writing
Score
Score
Java2
OBJECT ORİENTATİON
Software development can be seen as a modeling activity. The first step in the software development is the modeling of the problem we are trying to solve and building the conceptual model of the problem domain. The next step is to convert this model to the solution domain model which represents the program that will actually solve our problem. In this perspective, programming languages define the solution domain model that can be converted to the running program by means of compilers. In summary, the software development process takes place in two different domains and at least two kinds of modeling techniques are required. Object Orientation narrows the gap between problem and solution models as it enables us to represent solution domain in terms of problem domain elements. The problem domain elements include real world objects that interact to accomplish a given task. For example, a library system deals with librarians, borrowers, books, and their interactions. While we model the problem, we model each problem domain element with their states and behaviors and identify their interactions. For example, any system to automate the operations in a library should deal with the objects in the problem domain. We can identify two merits of the object oriented approach in software development process: they can be used for any problem we face with and solution domain model actually resembles the problem domain model. Since the real world can be seen as a bunch of objects collaborating to achieve a task, shaping the solution domain in terms of objects and their interactions potentially gives us an opportunity to solve any problem using object oriented approach. Moreover, as solution domain model reflects the problem domain model, while you read your program, you are actually navigating through the problem domain. This, obviously, will contribute to reduction of complexity, ease of development and ease of maintenance of the programs.

ENCAPSULATİON

You May Also Find These Documents Helpful

  • Powerful Essays

    Mat 540 Week 4 Paper

    • 1775 Words
    • 8 Pages

    Although the details can be quite complex, these details are the basic principles of object-oriented programming.…

    • 1775 Words
    • 8 Pages
    Powerful Essays
  • Good Essays

    Psy300 Week 8

    • 760 Words
    • 4 Pages

    Understanding object-oriented methodologies is often difficult. You already understand that object-oriented analysis and design emulates the way human beings tend to think and conceptualize problems in the everyday world. With a little practice, object-oriented programming will become second nature to you.…

    • 760 Words
    • 4 Pages
    Good Essays
  • Satisfactory Essays

    6 8c Chapter Excercises

    • 515 Words
    • 2 Pages

    In object-oriented analysis each object represents real people, places, events, and transactions (nouns). Unlike structured analysis, which treats data and processes separately, objects include data and processes that can affect the data. A major advantage of O-O designs is that systems analysts can save time and avoid errors by using modular objects, and programmers can translate the designs into code, working with reusable program modules that have been tested and verified…

    • 515 Words
    • 2 Pages
    Satisfactory Essays
  • Satisfactory Essays

    This course introduces students to object-oriented programming. It covers object-oriented tools for system analysis, design and development. The course teaches the significance of object-oriented programming, the keywords and constructs of the Java programming language, and the steps required to create simple Java technology programs.…

    • 414 Words
    • 2 Pages
    Satisfactory Essays
  • Powerful Essays

    The following information will introduce general knowledge in basic programming concepts. It shall discuss basic types of computer programming languages as-well-as program development. There are three basic types of computer programming languages that will be discussed in a simple and easy to understand manner. We shall also describe the program development cycle and discuss why it is important to use a structured and organized process to create a computer programming language.…

    • 1318 Words
    • 6 Pages
    Powerful Essays
  • Satisfactory Essays

    week 1 assignment

    • 1379 Words
    • 6 Pages

    Bohl, M., & Ryann, M. (2008). Tools for structured and object-oriented design: An introduction to programming…

    • 1379 Words
    • 6 Pages
    Satisfactory Essays
  • Satisfactory Essays

    jnt2

    • 301 Words
    • 1 Page

    A. The instructional problem I identified in my setting is students struggling with identifying themes in literature.…

    • 301 Words
    • 1 Page
    Satisfactory Essays
  • Good Essays

    The topic of Physician Assisted Suicide has become a well-known issue. But the fact is, for terminally ill and for those that cannot recover, Physician assisted suicide is not completely misguided. It gives those who are in a lot of pain a chance to save their loved ones the torment of seeing them so feeble. It also strengthens the possibility of saving those who can still be saved.…

    • 523 Words
    • 3 Pages
    Good Essays
  • Good Essays

    Java

    • 490 Words
    • 3 Pages

    Write a Java program to demonstrate using bitmaps and bitwise operators to sort and remove duplicates from a file of random phone numbers. Do not confuse the term bitmap used for compressing data into smaller spaces with the bitmap that has come to mean a graphic image.…

    • 490 Words
    • 3 Pages
    Good Essays
  • Satisfactory Essays

    Java 01

    • 914 Words
    • 4 Pages

    Two frog objects exist after the code has been executed. The two variables that the objects refer to are croaker and hoppy. The varialble of croaker is created in statement 2 and the variable of Kermit is changed to hoppy in statement 5.…

    • 914 Words
    • 4 Pages
    Satisfactory Essays
  • Good Essays

    References: Based on object-oriented application design best practices which are discussed in several areas such as the Code Project (www.codeproject.com) , skilsoft module Getting Started with Software Programming, EBOOK collection: Prelude to Programming. Concepts and Design, Fifth Edition…

    • 613 Words
    • 3 Pages
    Good Essays
  • Satisfactory Essays

    In this first assignment, two software development methodologies will be examined using the first four laws given in the prescribed text.…

    • 327 Words
    • 2 Pages
    Satisfactory Essays
  • Powerful Essays

    References: Bennett, S. et al. (2010) Meeting the Challenges. In: Hoyle, C. et al. (eds.) Object-Oriented Systems Analysis and Design. 4th ed. Berkshire: McGraw-Hill Education, pp. 71-77.…

    • 1424 Words
    • 6 Pages
    Powerful Essays
  • Satisfactory Essays

    Unlike the Design models, Analysis models do not make any explicit reference to the proposed software system or its design, but aim instead to capture certain aspects and properties of the ‘real world’. The object model is the common semantic foundation that shared by both design model and source code. This ensures that it is possible to maintain a close relationship between the design and the code of a system.…

    • 374 Words
    • 2 Pages
    Satisfactory Essays
  • Good Essays

    Both Class Diagrams and Use Case Diagrams are used in the requirements determination of object oriented development. Object oriented development is an approach to system development that uses the object as the basic unit of systems analysis and design. Use case shows the relationships among actors and use cases within a system. Class diagrams are widely used to describe the types of objects in a system and their relationships…

    • 395 Words
    • 2 Pages
    Good Essays