Logo

Navigation
  • Home
  • Services
    • ERP Solutions
    • Implementation Solutions
    • Support and Maintenance Solutions
    • Custom Solutions
    • Upgrade Solutions
    • Training and Mentoring
    • Web Solutions
    • Production Support
    • Architecture Designing
    • Independent Validation and Testing Services
    • Infrastructure Management
  • Expertise
    • Microsoft Development Expertise
    • Mobile Development
    • SQL Server Database and BI
    • SAP BI, SAP Hana, SAP BO
    • Oracle and BI
    • Oracle RAC
  • Technical Training
    • Learn Data Management
      • Business Intelligence
      • Data Mining
      • Data Modeling
      • Data Warehousing
      • Disaster Recovery
    • Learn Concepts
      • Application Development
      • Client Server
      • Cloud Computing Tutorials
      • Cluster Computing
      • CRM Tutorial
      • EDI Tutorials
      • ERP Tutorials
      • NLP
      • OOPS
      • Concepts
      • SOA Tutorial
      • Supply Chain
      • Technology Trends
      • UML
      • Virtualization
      • Web 2.0
    • Learn Java
      • JavaScript Tutorial
      • JSP Tutorials
      • J2EE
    • Learn Microsoft
      • MSAS
      • ASP.NET
      • ASP.NET 2.0
      • C Sharp
      • MS Project Training
      • Silverlight
      • SQL Server 2005
      • VB.NET 2005
    • Learn Networking
      • Networking
      • Wireless
    • Learn Oracle
      • Oracle 10g
      • PL/SQL
      • Oracle 11g Tutorials
      • Oracle 9i
      • Oracle Apps
    • Learn Programming
      • Ajax Tutorial
      • C Language
      • C++ Tutorials
      • CSS Tutorial
      • CSS3 Tutorial
      • JavaScript Tutorial
      • jQuery Tutorial
      • MainFrame
      • PHP Tutorial
      • VBScript Tutorial
      • XML Tutorial
    • Learn Software Testing
      • Software Testing Types
      • SQA
      • Testing
  • Career Training
    • Career Improvement
      • Career Articles
      • Certification Articles
      • Conflict Management
      • Core Skills
      • Decision Making
      • Entrepreneurship
      • Goal Setting
      • Life Skills
      • Performance Development
      • Personal Excellence
      • Personality Development
      • Problem Solving
      • Relationship Management
      • Self Confidence
      • Self Supervision
      • Social Networking
      • Strategic Planning
      • Time Management
    • Education Help
      • Career Tracks
      • Essay Writing
      • Internship Tips
      • Online Education
      • Scholarships
      • Student Loans
    • Managerial Skills
      • Business Communication
      • Business Networking
      • Facilitator Skills
      • Managing Change
      • Marketing Management
      • Meeting Management
      • Process Management
      • Project Management
      • Project Management Life Cycle
      • Project Management Process
      • Project Risk Management
      • Relationship Management
      • Task Management
      • Team Building
      • Virtual Team Management
    • Essential Life Skills
      • Anger Management
      • Anxiety Management
      • Attitude Development
      • Coaching and Mentoring
      • Emotional Intelligence
      • Stress Management
      • Positive Thinking
    • Communication Skills
      • Conversation Skills
      • Cross Culture Competence
      • English Vocabulary
      • Listening Skills
      • Public Speaking Skills
      • Questioning Skills
    • Soft Skills
      • Assertive Skills
      • Influence Skills
      • Leadership Skills
      • Memory Skills
      • People Skills
      • Presentation Skills
    • Finding a Job
      • Etiquette Tips
      • Group Discussions
      • HR Interviews
      • Interview Notes
      • Job Search Tips
      • Resume Tips
      • Sample Resumes
 

OOAD Classes

By Exforsys | on July 11, 2011 |
OOAD

Understanding the Ways in which Classes are Connected

Inheritance is a very important concept within the object oriented programming paradigm. Inheritance is essentially comprised of the merger of two simple concepts, which are reuse and abstractions.

To begin with, you may recognize that two constructs, such as X and Y, have something which relates them together. If you do not wish to deal with this shared aspect more than once, then you have the option of creating a construct called Z that will be responsible for holding the commonality, taking the commonality from X and Y and restoring it inside X and Y by allowing them to inherit the item from Z.

For example, let us say you are dealing with three fruits, oranges, bananas and apples. These three things have something in common; they are all fruits. It may be useful to introduce the notion called Fruit and factor out the fruit commonality which exists among the three fruits.

In addition to this, it might not be a bad idea to introduce another example. Consider a simple “Account” class which is capable of capturing the commonalities which are associated with business accounts, checking accounts, or savings accounts.

The hierarchical abstraction for these standard features may work with the basic human understanding that is related to the classes or objects which make up a system.

Another thing that you will want to take the time to consider is reuse along with specialization. The second reason for making usage of inheritance can come about during the construction of the model.

For example, when class D model is constructed, you must be able to recognize the features that are associated with class D, which have already been developed for class E. Rather than taking the time to reconstruct features, you will want to create an inheritance link which is direct among class E and class D models.

When you make use of a specialized class, you can reuse all the other features for the other class. Within the world of programming, this may be referred to as the "programming that exists among differences."

Another important factor to pay close attention to is the inheritance of properties. Some of the notions which are associated with inheritance include the design, analysis, and the implementation for properties which are respective, including code and computation. Because classes will not be described based on code for the analysis phase, you must make use of additional abstraction for inheritance which is visible in object oriented programming.

Property Inheritance

Properties are comprised of a number of class features which are declarative, and they also make use of constraints which are associated with them.

Property inheritance should be thought of as the foundation that exists for inheritance within the implementation level, as well as the level for design.

Property inheritance is essentially a relationship that exists among the superclass and the subclass. The Class Q is the subclass for the superclass P, where every attribute, transition network, and constraint for P is also the attribute.

In addition to this, the subclass Q is a lot stronger than other subclasses. Instances for some classes may make use of properties which are definitional, but which may also be constrained by more features which are definitional.

The Attributes

Attributes are also very important when it comes to classes. All the instances of a class would be responsible for possessing a specific attribute, and this means that every instance for other classes. If there is a relationship between two classes, then this means that there may be a relationship between other classes as well.

Should the relationship be functional, and every bit of P is within the domain for the relationship, then this means that for each instance there should be an associated instance. Every class may be considered to be little more than a subclass for a standard base.

You may feel that same classes are used to describe different objects. This means that it will be connected to the root for the inheritance hierarchy. The class does not define any attributes, and it will also not define any transitions.

« « OOAD Objects Interactions
What is Cross Browser Testing » »

Author Description

Avatar

Editorial Team at Exforsys is a team of IT Consulting and Training team led by Chandra Vennapoosa.

Ads

Free Training

RSSSubscribe 417 Followers
Ads
  • Popular
  • Recent
  • OOAD Objects Interactions

    July 11, 2011 - 0 Comment
  • OOAD Development Paradigms

    June 30, 2011 - 0 Comment
  • OOAD Development Phases and Prototypes

    July 4, 2011 - 0 Comment
  • OOAD and Software Architecture

    June 28, 2011 - 0 Comment
  • OOAD Analysis

    July 4, 2011 - 0 Comment
  • OOAD Design Analysis Implementation

    June 28, 2011 - 0 Comment
  • OOAD Object Statics

    July 6, 2011 - 0 Comment
  • Object Oriented Design

    June 23, 2011 - 0 Comment
  • OOAD Introduction

    June 21, 2011 - 0 Comment
  • Object Oriented Design Building Blocks

    June 26, 2011 - 0 Comment
  • OOAD Objects Interactions

    July 11, 2011 - 0 Comment
  • OOAD Object Dynamics

    July 9, 2011 - 0 Comment
  • OOAD Objects Relationships

    July 9, 2011 - 0 Comment
  • OOAD Object Statics

    July 6, 2011 - 0 Comment
  • OOAD Analysis

    July 4, 2011 - 0 Comment
  • OOAD Development Phases and Prototypes

    July 4, 2011 - 0 Comment
  • OOAD Development Paradigms

    June 30, 2011 - 0 Comment
  • OOAD Design Analysis Implementation

    June 28, 2011 - 0 Comment
  • OOAD and Software Architecture

    June 28, 2011 - 0 Comment
  • UML Usage in OOAD

    June 28, 2011 - 0 Comment

Exforsys e-Newsletter

ebook
 

Related Articles

  • OOAD Objects Interactions
  • OOAD Object Dynamics
  • OOAD Objects Relationships
  • OOAD Object Statics
  • OOAD Analysis

Latest Articles

  • Project Management Techniques
  • Product Development Best Practices
  • Importance of Quality Data Management
  • How to Maximize Quality Assurance
  • Utilizing Effective Quality Assurance Strategies
  • Sitemap
  • Privacy Policy
  • DMCA
  • Trademark Information
  • Contact Us
© 2021. All Rights Reserved.IT Training and Consulting
This website uses cookies to improve your experience. We'll assume you're ok with this, but you can opt-out if you wish.Accept Reject Read More
Privacy & Cookies Policy
Necessary Always Enabled