UML දන්න අය ඉන්නවද? ලොකු උදව්වක් ඕනා

SanjayaDX8

Well-known member
  • Sep 18, 2006
    1,072
    246
    63
    UML දන්න අය ඉන්නවද? ලොකු උදව්වක් ඕනා

    1. මට UML වල Coupling and Cohesion කියන්නේ මොකක්ද කියල පැහැදිලි කරලා දෙනවද ?

    2. method එකක් private or protected කරන්න ඇයි කියලා පැහැදිලි කරලා දෙනවද ?

    3. what is meant by a class-wide (sometimes called static) attribute or method ?
     

    pacchasira

    Member
    Jun 4, 2010
    205
    12
    0
    machan , mama danna vidhihata oova uml neme OOP concepts.

    Coupling and Cohesion
    P | N Cohesion is the degree to which the responsibilities of a single component form a meaningful unit

    Coupling describes the relationship between software components

    Goal: Reduce coupling, increase cohesion


    97d263b0ce.jpg
     

    Jolly_Roger

    Well-known member
  • May 2, 2009
    10,600
    1,606
    113
    Colombo XOR Matara
    cohesion and coupling kiyanne module/function dekak kochchara durata independance da kiyala balana ekata. high coupling nam functional strenght eka adui. a kiyanne module ekata independant weda kirime hekiyawa adui.

    coupling.png


    Low Couplin and High Cohesion thamai hoda :):)
     

    Jolly_Roger

    Well-known member
  • May 2, 2009
    10,600
    1,606
    113
    Colombo XOR Matara
    private , protected, public kiyanne access modifiers . private methods acces karanna puluwan class eka athule witharai. Protected walin class eka athule and derived classes wala access karanna puluwan. public nam external classes walinuth method eka access karanna puluwan :):):):)
     

    SanjayaDX8

    Well-known member
  • Sep 18, 2006
    1,072
    246
    63
    Thank you very much

    machan , mama danna vidhihata oova uml neme OOP concepts.

    Coupling and Cohesion
    P | N Cohesion is the degree to which the responsibilities of a single component form a meaningful unit

    Coupling describes the relationship between software components

    Goal: Reduce coupling, increase cohesion


    97d263b0ce.jpg

    ගොඩක් ස්තුතියි කියල දුන්නට
     

    SanjayaDX8

    Well-known member
  • Sep 18, 2006
    1,072
    246
    63
    Thank you very much

    private , protected, public kiyanne access modifiers . private methods acces karanna puluwan class eka athule witharai. Protected walin class eka athule and derived classes wala access karanna puluwan. public nam external classes walinuth method eka access karanna puluwan :):):):)

    ඇත්තටම ලොකු උදව්වක් කලේ. මට assginment එකක් දීල තියන්නේ UML subject eka. මුකුත්ම තේරෙන්නේ නැතුව හිටියේ.
     

    SanjayaDX8

    Well-known member
  • Sep 18, 2006
    1,072
    246
    63
    inheritance coupling and specialisation cohesion

    inheritance coupling and specialisation cohesion ගැන දන්නවනම් කියා දෙන්න පුලුවන්න්ද?