• Card 2 / 125: What does cohesion mean?
    A) cohesion is a measure of how the methods of a class or a module are meaningfully and strongly related and how focused they are in providing a well-defined purpose
    B) cohesion is a measure of how the attributes of a class or a module are hidden from other classes and resticly accessed through only public accessors
    C) cohesion is a measure of how a class or a module is dependent on another class or module
    D) cohesion is a measure of how the methods within a class are dependent on each other

    Answer:
    A) cohesion is a measure of how the methods of a class or a module are meaningfully and strongly related and how focused they are in providing a well-defined purpose

  • Keyboard Shortcuts

    Previous Card ← Previous Card Button
    Next Card → Next Card Button
    Flip Card Space-Bar
<< First < Previous Next > Last >>

Questions & Answers

define iterative model. example of iterative model. advantages and disadvantages of iterative model. when to use iterative model
Okello Reply
i try out in netbeans this code:public class Profile { private Profile(int w) { // line 1 System.out.println(w); } public final Profile() { // line 5 System.out.println(10); } public static void main(String args[]) { Profile obj = new Profile(50); } } It is the question 5, and the answer is 50
Jacqueline Reply
i need help....Discuss the factors that influence the choice of the software development methodology to use when implementing software projects?(20)
tatenda Reply
The success rate of software development projects can be increased by using a methodology that is adequate for the specific characteristics of those projects.  then the focus on RAD,XP,RUP.
Hemant
hemant hie...it is a presentation i am working on...can you help me wth the introduction....please a powerful one hahahahha
tatenda
yes
Hemant
Define and show all Dipthongs and vowels used in english phonetics
Okendro Reply
what is the software engineering
Axmed Reply
Please how can I create an application?
Eric Reply
please how can I create an application
Nchor
How do we create a software
Florence Reply
give a more direct question
Louis Reply
what is semantics?
amjad
what r the computer codes
Kawuba Reply
machine code, source code , object code, and byte code etc
Hemant
what is software
Manobendra Reply
a collection of program executable by code is called software
Hemant
how can I create a software
Mary Reply
use in any model . then after you create any software
Hemant
what is capability maturity model integration
Muctarr
what is maturity level
Muctarr
maturity level is organization's process improvement achievement in multiple process areas
Hemant
how to trubulshoot is configuration ?
priya Reply
hello
Julius
hello
abeer
hello
Sahil
hello
Natnael
Hello
Eric
Guy's put your answer only
Natnael
click start then click run then type msconfig then ok
Natnael
explain coco model
dawood Reply
it model based on LOC. i.e; number of lines of code.
Hemant
What is a client engineer
buthayna Reply
A Customer Engineer (CE) is a worker whose primary job scope is to provide a service to customers who have signed a contract with the company.
Fokuo
Thank you
buthayna
Hi
ahly
hello,how are you doing?
Fokuo
nothing
Hemant
it's a pleasure meeting you.
Fokuo
tq
Hemant
Nice to meet you too
Hemant
good night
Hemant
hi in here
Asongafac
hello
Eric
please I want to more about this group
Asongafac
pravinkumar
pravin
hello
pravin
I want to create software
Michael
name suraj kumae
Suraj
how can i ave install usb drive but get it not connecting phone
Micheal Reply
hmm
abang
may be it has a problem
abang
maybe u should change usb drive
gabriel
yes
Ali

Get the best Software engineering course in your pocket!

Explanation:

Cohesion is a measure of how the methods of a class or a module are meaningfully and strongly related and how focused they are in providing a well-defined purpose to the system.

A class is identified as a low cohesive class, when it contains many unrelated functions within it.

And that what we need to avoid, because big classes with unrelated functions hamper their maintaining.

Advice : make your class small and with precise purpose and highly related functions.

Hide Choices Interactive Question Exam Home Page
Exam Permalink:
https://www.jobilize.com/ocjea
Question Permalink:
https://www.jobilize.com/what-does-cohesion-mean
Attribution:  Oracle, Sun, Java and all Java-based trademarks and logos are trademarks or registered trademarks of Oracle and/or its affiliates.
Flash Cards plugin by Curtis Blackwell github.com/curtisblackwell/flash_cards
Google Play and the Google Play logo are trademarks of Google Inc.
Ask